Created
February 3, 2023 05:38
-
-
Save omer-biz/d46c03ba9469aa25c65ccf1a5d09aee3 to your computer and use it in GitHub Desktop.
Remap keyboard on x11
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:swapcaps | |
# 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