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

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

Dependencies (2)

Required by (1)

Sources (1)

Pinned Comments

joetw commented on 2013-04-11 08:03 (UTC) (edited on 2015-10-10 07:51 (UTC) by joetw)

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.: https://wiki.archlinux.org/index.php/Keyboard_configuration_in_Xorg#Swapping_Caps_Lock_with_Left_Control 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.

Latest Comments

joetw commented on 2013-04-11 08:03 (UTC) (edited on 2015-10-10 07:51 (UTC) by joetw)

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.: https://wiki.archlinux.org/index.php/Keyboard_configuration_in_Xorg#Swapping_Caps_Lock_with_Left_Control 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 (UTC)

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

<deleted-account> commented on 2013-04-08 12:43 (UTC)

@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 (UTC)

Would you update the package? Thanks.