Guide to capture/setup key bindings on Linux


Setup key bindings for linux on Xorg (maybe also the modern ones?)

# capture keys 5 seconds to get the keycodes
timeout 5 xev | grep -i -e keypress -e keycode
 
# search the keycode number on the following list to get more info
xmodmap -pke 2>&1 | less