Skip to content

Instantly share code, notes, and snippets.

@tao12345666333
Created August 28, 2015 15:43
Show Gist options
  • 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