Brightness screen by qt app
-
Hi,
Last I updated my app about brightness screen function depend on application state.
I realized this function by below code:
QStringList brightnessLo {"--output", "HDMI-1", "--brightness", "0.4"}; QStringList brightnessHi {"--output", "HDMI-1", "--brightness", "1.0"}; QString brightnessPrg = "xrandr"; process.execute(brightnessPrg,brightnessHi);
From this update times to times my system crash, I do not know what is wrong, I can't acces to my device with Debian by SSH. only hard reset by power off can help.... and next works good several days.
Is any log in Debian where I can check waht fails ?
-
Hi,
Last I updated my app about brightness screen function depend on application state.
I realized this function by below code:
QStringList brightnessLo {"--output", "HDMI-1", "--brightness", "0.4"}; QStringList brightnessHi {"--output", "HDMI-1", "--brightness", "1.0"}; QString brightnessPrg = "xrandr"; process.execute(brightnessPrg,brightnessHi);
From this update times to times my system crash, I do not know what is wrong, I can't acces to my device with Debian by SSH. only hard reset by power off can help.... and next works good several days.
Is any log in Debian where I can check waht fails ?
@Damian7546
Don't know aboutxrandr
and debug logs under Ubuntu. System crashes may be logged, depends what exactly you mean happens. But do you at least examine any output from executing the command and what is its return code? -
@Damian7546
Don't know aboutxrandr
and debug logs under Ubuntu. System crashes may be logged, depends what exactly you mean happens. But do you at least examine any output from executing the command and what is its return code?@JonB no, i'm not doing that
-
@JonB no, i'm not doing that
-