Created
June 5, 2020 03:03
-
-
Save LinuxIsCool/a20c0975c083cc4d09eb7a719659ba1f to your computer and use it in GitHub Desktop.
This is the file I use to remap caps to escape and ctrl on Debian based OS (Ubuntu)
This file contains 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
# make CapsLock behave like Ctrl: | |
setxkbmap -option ctrl:nocaps | |
# make short-pressed Ctrl behave like Escape: | |
# Default timeout is 500ms | |
xcape -t 300 -e 'Control_L=Escape' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment