On Thursday 18 July 2019 04:02:13 David C. Rankin wrote: > This is where you can create a script to monitor intel_backlight > and write the value out to, e.g. /usr/local/share/${USER}-backlight Hello David, I cannot create the file "${USER}-backlight" in /usr/local/share/ or I don't understand (maybe the "$" ?) Thanks, regards, andr� > cat /sys/class/backlight/intel_backlight/brightness > > /usr/local/share/${USER}-backlight > Then simply create another script (linked within ~/.trinity/Autostart) that > will restore the brightness level on trinity startup, e.g. > #!/bin/sh > savedbl="/usr/local/share/${USER}-backlight" > sysfile="/sys/class/backlight/intel_backlight/brightness" > if [ -s "$savedbl" ] ## if saved backlight file exists > then > sudo sh -c "cat '"$savedbl"' > '"$sysfile"'" ## restore saved backlight > fi > (just make sure the file is executable and that you have sudo privileges)