Keyboard backlight - binded with 'Scroll Lock' key - CM Cooler Master

Hello. Here is a guide how to enable Scroll Lock key and thus keyboard backlight in ZorinOS. Some keyboards have Scroll Lock LED linked with its backlight.
I am writing this because it took me some time to figure it out and find solution online. Zorin is often used by unexperienced user like me. It woul be nice if the help could be find here.
Based directly on this thread:
https://askubuntu.com/questions/127167/how-do-i-enable-scroll-lock
especially Guilherme's answer.

Whole operation consists of editing symbols file in directory:

/usr/share/X11/xkb/symbols/

You want to focus on file specific for your location (e.g. gb, jp , es, pl, it) and universal pc.

Edit as a root user. You can run: sudo gedit /usr/share/X11/xkb/symbols/pc

Add the line:
modifier_map Mod3 { Scroll_Lock };
inside the xkb_symbols "pc105" of pc file
and before the include "level3(ralt_switch)" of your location specific file.
You can ommit the second file as mentioned in the source thread.
Logout - login and that is all.

1 Like