I have an old IBM keyboard connected to my laptop with a PS/2 to USB adapter. I'm having trouble remapping the Caps Lock to the Ctrl key in Linux. Holding the Caps Lock, remapped to Ctrl, only works for the first keyboard shortcut. Even though I'm still holding Caps Lock, every key press after that is unmodified.
Using sudo showkey
I've found that even though I'm still holding the Caps Lock, when I release another key the release code for the Caps Lock is sent too.
I can't tell if this is a limitation of the keyboard or the USB adapter. The keybinding works on my laptop keyboard, just not my external one. Is there a way to fix this?