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.
Make the keyboard backlight device writable by everyone:
Then, in your ~/.bash_aliases, add:
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.
Trying to add these to the bash aliases didn't work for me on Linux Mint running on a Macbook Air 2012 (probably doing something wrong).
I had to run a script as sudo at login
See: how to run script as sudo at login
I created a shell script in ~/subfolder/script.sh with the script from above.
Then had to edit the sudoers file and enable the custom script to run without a password.
Then basically just added
to startup applications.
This is explained in the link.
Any suggestions for improvement would be appreciated, but this works for me.