To install xcape just follow these instructions.
sudo apt-get install xcape
Which will install xcape and any other packages on which it depends.
|Maintainer||Jon Bernard <email@example.com>|
|Description||Configure modifier keys to act as other keys when pressed and released released on its own. Note that it is slightly slower than pressing the original key, because the pressed event does not occur until the key is released. The default behaviour is to generate the Escape key when Left Control is pressed and released on its own.|