Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
xev | grep -A2 --line-buffered '^KeyRelease' | sed -n '/keycode /s/^.*keycode \([0-9]*\).* (.*, \(.*\)).*$/\1 \2/p'
xmodmap -e "keycode 133 = Alt_L"
xmodmap -e "keycode 37 = Control_L"
xmodmap -e "keycode 64 = Control_L"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment