I am working on a Linux system without X server, so I don't have Xmodmap to change keys on my keyboard. Since the keyboard attached to the Linux PC is a "windows keyboard" (if there is such a thing) with a "windows key" and the right Ctrl key is unhandy to reach, I want to use the windows key for the right Ctrl key.
So this is what I do:
echo keycode 126 = CtrlR | loadkeys -
I determined the number 126 with
yet, it doesn't seem to change anything with regards to the behavior of the right windows key.
I am a bit surprised because I was able to switch the Esc and Capslock keys with a similar
echo keycode 1 = Caps_Lock | loadkeys - echo keycode 58 = Escape | loadkeys -