How to set a custom keymap and make sure, that it is not overwritten by system?
7,240
The best solution is probably to create a custom keymap.
A good step-by-step answer can be found here in this SuperUser Q&A titled: How to change console keymap in Linux?
Related videos on Youtube
Author by
Adam Ryczkowski
Updated on September 18, 2022Comments
-
Adam Ryczkowski over 1 year
I use custom keymap, that diffentiates between left and right Ctrl:
remove control = Control_R clear mod3 add Mod3 = Control_R
When I load it with
xmodmap myxmap
, it works only as long, as one of the events happens:- Connect a HID (USB mouse, keyboard)
- Press CtrlAltFx to switch to text terminal
After that, I have to repeat the
xmodmap myxmap
command. I lived with it for over a year now, but it gets more and more annoying. Is there any way to tell the Linux Mint (Cinnamon edition) to keep my own version of assignment ofControl_R
key?The issue concerns (but is not limited to) Linux Mint 14-16 Cinnamon 64 bit.
-
SarahG over 10 yearsThis is what I ended up doing and it works the best.
-
Adam Ryczkowski over 10 yearsDo you know, what is the name of Mod3 in
keymaps
?