David,
The first method cannot work for me, because the file "/sys/class/backlight/intel_backlight/brightness" cannot be changed, with this default value "6144". (I need 9144).
On Saturday 20 July 2019 03:07:00 David C. Rankin wrote:
"${USER}-backlight" will be a new file that holds the current brightness setting. ${USER} just expands to your username. It was just brace-enclosed to make that apparent. For what it is worth I use the following script (with a second script that is just a wrapper to call the primary script with the -s option for startup) The wrapper script (scrnbrightwiznv_startup.sh) is simply: #!/bin/bash /home/david/scr/adm/scrnbrightwiznv.sh -s In my ~/.kde/Autostart (you would have ~/.trinity/Autostart or ~/.tde/Autostart), I just use the symlink l ~/.kde/Autostart/ scrnbrightwiznv_startup.sh -> /home/david/scr/adm/scrnbrightwiznv_startup.sh The primary script is attached. You will need to change acpi_video0 to intel_backlight. Other than that, it should work for you. You can simply use the wrapper calling it with the -s option at startup in the Autostart folder if tdepowersave handles the changes during the session for you. (however, you will need a way to write the final brightness value to the file in /usr/local/ so it is saved for next startup. There is no right way or wrong way to do this. Like I posted earlier, it can be display driver dependent, kernel dependent, distribution config dependent, etc.. Just find a way that works and stick with it :)
The directory Autostart is in : /home/andre/.trinity/Autostart/
So I put exactly this line in "/home/andre/.trinity/Autostart/" ? : scrnbrightwiznv_startup.sh -> /home/andre/scr/adm/scrnbrightwiznv_startup.sh
Thanks for your help and Regards,
André