Skip to content

Instantly share code, notes, and snippets.

@medeirosthiago
Last active March 13, 2017 12:15
Show Gist options
  • Save medeirosthiago/236470d55e99e6ed8cd58f06719d9869 to your computer and use it in GitHub Desktop.
Save medeirosthiago/236470d55e99e6ed8cd58f06719d9869 to your computer and use it in GitHub Desktop.
Remapping Caps Lock (Ctrl and Escape)

First we map the caps lock as additional Ctrl. Can be with gnome-tweak-tools or on keyboard configurations (cinnamon).

And then... To find out the number (id) of Caps Lock

xcape -d

To set as Escap to!

xcape -e '#66=Escape'

😁

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