Created
September 1, 2015 00:07
-
-
Save ianchen06/32990934e599cda1e3de to your computer and use it in GitHub Desktop.
Remap capslock key to ctrl
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
sudo apt-get install xcape | |
Then configure it in the following way: | |
# make CapsLock behave like Ctrl: | |
setxkbmap -option ctrl:nocaps | |
# make short-pressed Ctrl behave like Escape: | |
xcape -e 'Control_L=Escape' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment