Wednesday, April 24, 2024
 Popular · Latest · Hot · Upcoming
2
rated 0 times [  2] [ 0]  / answers: 1 / hits: 1892  / 3 Years ago, sat, may 15, 2021, 12:46:13

After every restart the default screen and keyboard light is at 100% and it is quite annoying. Is there a workaround for this?


More From » keyboard

 Answers
1

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).


[#31276] Saturday, May 15, 2021, 3 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
reangi

Total Points: 213
Total Questions: 102
Total Answers: 114

Location: Namibia
Member since Wed, Jan 19, 2022
2 Years ago
;