- run
xevwhich opens a new window - when you type the key that you want to rebind, the terminal from which
xevis run will display all the info about that key - look for the keycode section
- gather all the keycodes this way
- run
xmodmap -e "keycode = "where expression is the value (Escape, Control_L, etc.)