Toggle Keyboard Lights on Kubuntu
2021 . Dec . 12 / LinuxNotes++ to self
Lights bound to Scroll Lock key
The keyboard
I got a keyboard with simple lights, the Cooler Master Devastator II Blue; just pressing the ScrLk Key turns the lights on and off. Though that does not work on Linux/Kubuntu.
Turning lights on and off
The workaround is simple, open the terminal, then write xset led named "Scroll Lock"
for lights, and xset -led named "Scroll Lock"
for no lights.
But it gets tiring to do that every time, so it is best to edit the ~/.profile
file so we can get the lights on without writing it ourselves again:
~/.profile
# ...
xset led named "Scroll Lock"
This is going to execute every time after login in.
Comments
If you have any doubt or question, or know how to improve this post, please feel free to write a
comment.