Package Details: xcape-git 1:1.1.r9.gf3802fc-2

Git Clone URL: (read-only)
Package Base: xcape-git
Description: Use modifier pressed/released solo as another key/chord, e.g. CapsLock > Escape
Upstream URL:
Keywords: CapsLock Escape keybinding modifier vim XKB
Licenses: GPL3
Conflicts: xcape
Provides: xcape
Submitter: gregf
Maintainer: joetw
Last Packager: joetw
Votes: 29
Popularity: 0.393189
First Submitted: 2012-04-01 19:46
Last Updated: 2015-06-17 10:44

Dependencies (2)

Required by (0)

Sources (1)

Latest Comments

joetw commented on 2013-04-11 08:03

This is a tiny tool to change the behaviour of modifier keys in X. You can set up a modifier key – when it's pressed and released on its own – to send an arbitrary key (or key chord) instead. (Technically, xcape cannot suppress the original modifier but merely generates the new key event afterwards. Usually, this causes no harm because applications ignore most solitary modifier events.)

Xcape takes effect after any changes you may have set up with XKB or Xmodmap.

Example: Vim users need Escape much more often than Caps Lock and also need Control sometimes.

1. Swap Caps Lock with Left Control, e. g.:

2. Then run xcape. By default, the logical Left Control (= physical Caps Lock) will now produce Escape when pressed and released on its own. It will still work as Left Control when pressed as part of a key chord.

joetw commented on 2013-04-08 13:45

I'll wait a bit if anyone qualified steps up. Otherwise, I'll try to learn about pkgbuilds etc.

gregf commented on 2013-04-08 12:43

@joetw I'm not using Arch anymore. I disowned the package so you could take it over, if you want.

joetw commented on 2013-04-08 12:10

Would you update the package? Thanks.