0

I have a problem where the brightness does not save after a reboot on 14.04 LTS, but I had the same problem on 12.04 LTS (before I broke the system). Before you say this is a duplicate of a million posts, I've tried every single option that has been mentioned. I've found that xbacklght doesn't work no mater what I do with it. On my edited /etc/rc.local, however, I've set it to execute, changed the permissions so it would run without sudo and even changed the permissions of the /sys/class/backlight/acpi_video0/brightness files (and yes I've tried the actual folder as well, not just the sym link). I got it to work a few times, but only for one boot until the permission changes reset themselves. Thanks for the help in advance!

EDIT: I just remeber that I also have a folder called intel_brightness with it's own set of values that could affect how acpi_video0 works. Sorry for forgetting to add this earlier

1 Answers1

0

Try

  • Edit /etc/rc.local

    sudo gedit /etc/rc.local
    
  • Before exit 0 insert this line

    sh -c "echo  10 > /sys/class/backlight/acpi_video0/brightness"
    

This will set your screen brightness to 10/15 during startup. You can replace 10 with any integer from 0 to 15. You can save somewhere brightness value just before reboot, then you need to include a command to read the previously saved value from a file and use that value instead of 10 (in above example) to set the brightness value.

Also you can get current brightness by

cat /sys/class/backlight/acpi_video0/brightness
Back.Slash
  • 2,176