Skip to content

Instantly share code, notes, and snippets.

@petitJAM
Created February 9, 2018 15:29
Show Gist options
  • Save petitJAM/ea4ab454a71eac8b747999dab489e175 to your computer and use it in GitHub Desktop.
Save petitJAM/ea4ab454a71eac8b747999dab489e175 to your computer and use it in GitHub Desktop.
# make CapsLock behave like Ctrl:
setxkbmap -option ctrl:nocaps
# make short-pressed Ctrl behave like Escape:
xcape -e 'Control_L=Escape'
@petitJAM
Copy link
Author

petitJAM commented Aug 1, 2023

Very outdated. You'll want https://gitlab.com/interception/linux/plugins/caps2esc instead

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment