Scroll Lock Not Working in Linux -- Solution

User avatar
Hypersphere

22 Sep 2018, 20:00

Code: Select all

[code]
[/code]Today I pulled out my Leading Edge 3014 that I had converted to USB and equipped with a Soarer's Converter. I hadn't used this board in a while, so I was testing all the keys, including the almost-never-used Scroll Lock. I was initially doing this with the keyboard connected to a linux machine (Linux Mint 19 64-bit Xfce, based on Ubuntu 18.04).

Although the Num Lock and Caps Lock lights worked, the Scroll Lock light didn't. Thinking something was wrong, I switched over to a Windows machine so that I could use the Elite Keyboards Switch Hitter software to test all the keys. The Scroll Lock registered and its light worked.

Switched back to linux, and again, no Scroll Lock light.

After a few seconds of Googling, I found the answer on Stack Exchange:

https://unix.stackexchange.com/question ... linux-xorg

As suggested, I ran the following command in a terminal:

Code: Select all

xmodmap -pm
This lists modifiers and whether or not they are active. There was a blank line for "mod3", which is Scroll Lock.

The solution:

Create a file called .Xmodmap in the home directory containing the following line:

Code: Select all

add mod3 = Scroll_Lock
After logging out and in, the Scroll Lock and its light were working.

Thought I would post this in case others had encountered the same problem.

Post Reply

Return to “Keyboards”