Skip to content

Instantly share code, notes, and snippets.

@tao12345666333
Created August 28, 2015 15:43
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 tao12345666333/8ba1633b5d8bafe333b0 to your computer and use it in GitHub Desktop.
Save tao12345666333/8ba1633b5d8bafe333b0 to your computer and use it in GitHub Desktop.
Moving the Ctrl key to Caps Lock
setxkbmap -layout "$(setxkbmap -print | awk -F + '/xkb_symbols/ {print $2}')" -option ctrl:nocaps
@tao12345666333
Copy link
Author

setxkbmap -layout "$(setxkbmap -print | awk -F + '/xkb_symbols/ {print $2}')" -option ctrl:swapcaps

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment