- run
xev
which opens a new window - when you type the key that you want to rebind, the terminal from which
xev
is 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.)