Skip to content

Instantly share code, notes, and snippets.

@pulcheri
Last active October 12, 2015 10:27
Show Gist options
  • Save pulcheri/4012624 to your computer and use it in GitHub Desktop.
Save pulcheri/4012624 to your computer and use it in GitHub Desktop.
map Esc to CAPS LOCK
# Run 'xmodmap ~/.xmodmap-esc'
clear Lock
keycode 0x42 = Escape
# .. or:
#xmodmap -e 'clear Lock' -e 'keycode 0x42 = Escape'
#in /etc/rc.local
# https://wiki.archlinux.org/index.php/Xmodmap
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment