Sunday, May 5, 2024
 Popular · Latest · Hot · Upcoming
5
rated 0 times [  5] [ 0]  / answers: 1 / hits: 8872  / 1 Year ago, tue, may 23, 2023, 9:01:49

How do I disable the keyboard backlight, by turning it completely off, on a Macbook in 12.04?



Whenever I reboot, Ubuntu sets the backlight to 100% brightness, and frustratingly the new function keys no longer support being held down, so I have to press the dim key about 50 times to turn off the backlight.


More From » 12.04

 Answers
2

Make the keyboard backlight device writable by everyone:



sudo chmod 777 /sys/class/leds/smc::kbd_backlight/brightness


Then, in your ~/.bash_aliases, add:



echo 0 | tee -a /sys/class/leds/smc::kbd_backlight/brightness


Alternatively, if you want the backlight to be disabled for all users, then add that line instead to /etc/profile.d/custom.sh.



The only caveat I've noticed is that unlocking your screen occassionally appears to reset the backlight to full brightness. Unfortunately, I don't know what's causing this.


[#38410] Wednesday, May 24, 2023, 1 Year  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
poefor

Total Points: 379
Total Questions: 95
Total Answers: 115

Location: Serbia
Member since Tue, Jul 26, 2022
2 Years ago
;