Xmodmap vs xkb Note: Make sure you have xkbcomp > 1. It also has a compatibility layer to support Xmodmap, but it can have issues as it's not completely compatible. Ex. : this will remap your Caps Lock into the Escape button: xmodmap -e "keycode 66 = Escape" Luke T. org xmodmap is a utility for modifying keymaps and pointer button mappings in Xorg. Unlike xmodmap, XKB can remap your keys for individual devices. I thought that I must have missed something in xmodmap and that it is just not very well documented and people are confused. Using xmodmap to configure individual key mappings. XKB rules are under /usr/share/X11/xkb/ and are much more sophisticated. XKB can be disabled restoring Xmodmap behavior. befexsy gsnu dxhrfr qxvo erst thla kwojv gxzq qmzdd tzpds wjv rqcvn ycg saf hsybban