On 07/16/2019 04:10 AM, andre_debian@xxxxxxxxxxxxxx wrote: > Hello, > > ls -al /sys/class//backlight/ > intel_backlight -> ../../devices/pci0000:00/0000:00:02.0/drm/card0/card0-eDP-1/intel_backlight > > ls -al /sys/class/backlight/acpi_video0/ > no file > > xbacklight is installed. > > To adjust the brigtness : > Menu => Trinity Configuration Center > => Périphériques => Hardware Device Manager > => Backlight => Intel HD Graphics 520 > and I can adjust the brightness from 0 to 100%, > but the value is not keeped if I close the session. > The default value = 62% > > This is the situation. > 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 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) -- David C. Rankin, J.D.,P.E. --------------------------------------------------------------------- To unsubscribe, e-mail: trinity-users-unsubscribe@xxxxxxxxxxxxxxxxxxxxxxxxxx For additional commands, e-mail: trinity-users-help@xxxxxxxxxxxxxxxxxxxxxxxxxx Read list messages on the web archive: http://trinity-users.pearsoncomputing.net/ Please remember not to top-post: http://trinity.pearsoncomputing.net/mailing_lists/#top-posting