Skip to content

Instantly share code, notes, and snippets.

@bofrede
Last active January 19, 2018 12:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bofrede/fdd2710d7d3b04fac2d90507f94d23e3 to your computer and use it in GitHub Desktop.
Save bofrede/fdd2710d7d3b04fac2d90507f94d23e3 to your computer and use it in GitHub Desktop.
Disable keyboard keys on Linux.
# Back
xmodmap -e 'keycode 166='
# Forward
xmodmap -e 'keycode 167='
# Caps-lock
xmodmap -e 'keycode 66='
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment