Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Linux utility to configure modifier keys to act as other keys when pressed and released on their own.
C Makefile
tree: 3da651d4fa

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.


xcape runs as a daemon and intercepts the Control key. If the Control key is pressed and released on its own, it will generate an Escape key event.

This makes more sense if you have remapped your Caps Lock key to Control. Future versions of this program might do that mapping for you, but for now this is something that you have to do yourself.

If you don't understand why anybody would want this, I'm guessing that Vim is not your favourite text editor ;)

Minimal building instructions

$ sudo apt-get install git gcc make libx11-dev libxtst-dev
$ mkdir xcape
$ cd xcape
$ git clone .
$ make


Find the latest version at

The author can be reached at albin dot olsson at gmail dot com

Something went wrong with that request. Please try again.