How to automate keyboard backlight ON at boot
Right now I am running a cooler Master keyboard on Kubuntu 16.04. At present I have to run
xset led 3
in Konsole in order to turn the keyboard on, which is a PITA.
How can I instruct the system to light the keyboard at boot, particularly before and after the login screen?
Using "Startup Applications" instead of /etc/rc.local
-
Select the first option on your Launcher called Dash. Then type "startup" and a screen similar to this will appear:
-
Select the option "Startup Applications" and a screen similar to this will appear:
-
Select
Add
and this screen will appear: -
Make sure you enter the command as: /usr/bin/xset led 3
-
I entered the comment as: Ubuntu 16.04 regular crash, Compiz segfault, error 4 in i965_dri.so, Fresh install but you don't need to.
Notes
I can't test this on my system because the Laptop's built-in keyboard and wireless keyboard both light up automatically.
You can't put xrandr
commands in /etc/rc.local
because it runs before a user logs in. xrandr
commands can only be used after the user logs on.