Created
May 6, 2012 18:47
-
-
Save eschulte/2623763 to your computer and use it in GitHub Desktop.
switch Capslock and Control
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# | |
# Swap Caps lock and Control | |
# | |
xmodmap -e "remove Lock = Caps_Lock" | |
xmodmap -e "remove Control = Control_L" | |
xmodmap -e "keysym Control_L = Caps_Lock" | |
xmodmap -e "keysym Caps_Lock = Control_L" | |
xmodmap -e "add Lock = Caps_Lock" | |
xmodmap -e "add Control = Control_L" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment