After every restart the default screen and keyboard light is at 100% and it is quite annoying. Is there a workaround for this?
Asked
Active
Viewed 1,801 times
0
-
Nobody knows? :D – JohannesTK May 12 '13 at 15:41
-
Please include information about your distribution, hardware including graphics card, and the driver you are currently using. – bleeves Jul 30 '14 at 21:23
2 Answers
2
This worked for me. I'm using a Macbook Pro (late 2013).
Under /etc/rc.local
, add the following lines (before "exit 0")
echo X > /sys/class/backlight/acpi_video0/brightness
echo Y > /sys/class/leds/smc::kbd_backlight/brightness
This will run at startup, so it will be your "Default" values. The first line sets the screen brightness and the second the keyboard backlight brightness. Change X and Y to the values you wish (on my Macbook, X goes from 0 to 100 and Y goes from 0 to 255).

muru
- 197,895
- 55
- 485
- 740
0
I don't know about the keyboard light, but the screen brightness problem is probably a duplicate of this question: Desktop doesn't remember brightness settings after a reboot Maybe you'll find something there to help you. This is a very well-known bug that affects many computers.