Skip to content

Instantly share code, notes, and snippets.

@5long
Created May 3, 2016 17:27
Show Gist options
  • Save 5long/72f708eea3339c859e263122788f14ea to your computer and use it in GitHub Desktop.
Save 5long/72f708eea3339c859e263122788f14ea to your computer and use it in GitHub Desktop.
Swap CapsLock w/ Escape in X11
# /etc/X11/xorg.conf.d/90-custom-kbd.conf
Section "InputClass"
Identifier "keyboard defaults"
MatchIsKeyboard "on"
Option "XKbOptions" "caps:swapescape"
EndSection
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment