Software Alternatives & Reviews
Table of contents
  1. Videos
  2. Social Mentions
  3. Comments

xcape

Linux utility to configure modifier keys to act as other keys when pressed and released on their own.

xcape Reviews and details

Screenshots and images

  • xcape Landing page
    Landing page //
    2023-07-23

Badges

Promote xcape. You can add any of these badges on your website.
SaaSHub badge
Show embed code

Videos

D’Ultimate XCape at Downtown East Carnival

Social recommendations and mentions

We have tracked the following product recommendations or mentions on various public social media platforms and blogs. They can help you see what people think about xcape and what they use it for.
  • Binding a single key on release AND binding that same key in another combination
    Don't know about i3, but you can achieve this in Linux/X11 using for example xcape: https://github.com/alols/xcape. Source: 12 months ago
  • Keyboard shortcut on key release
    I guess that xcape is what you're looking for. Source: over 1 year ago
  • How to assign Overview to meta ?
    You can use xcape (I assume xorg only; https://github.com/alols/xcape) to set any key including super/meta to trigger a custom keyboard shortcut on release. Source: over 1 year ago
  • Have you remapped CTRL and ESC, and if so, how?
    Caps Lock is both Control and Escape depending on whether you hold or tap it. I use xcape. Source: almost 2 years ago
  • Have you remapped CTRL and ESC, and if so, how?
    My CapsLock is an Esc right now. I use to use xcape program which would allow my caps lock to act as Esc when pressed alone, but in combination with another key it would act as Ctrl, which was very useful. That program no longer works on Wayland compositors but I have lost the habit of using the key as Ctrl anyway. Source: almost 2 years ago
  • How to make my pinkie and vanilla keybindings get along?
    All you need is dual mode modifiers - remap your spacebar to act as Ctrl when pressed and generate space symbol when released. You can make it with xcape on linux and with dual-key-remap on windows. It is also something for macos, but I never used it. Source: about 2 years ago
  • Vim with caps lock on is the final boss
    I have the same setup on linux. Using xcape and xmodmap together. Source: about 2 years ago
  • How to toggle rofi with super key in bspwm?
    I used xcape to bind super to alt + F12 and then in sxhkd, bound alt + F12 to a script:. Source: over 2 years ago
  • janus-key: give keys a double function (normal keys as modifiers)
    I am long term fan of Space-Ctrl dual role key - must have for any emacser imo. Now I'm using https://github.com/ililim/dual-key-remap on windows and https://github.com/alols/xcape on Linux. Are your app has any advantages against these two? Source: over 2 years ago
  • Is there any utility I could use to run a script on Alt keydown and keyup?
    Hi, I have used xcape in the past to bind a function to a single modifier. Sadly it only sends an event when the key is released and not on press+release. Source: over 2 years ago
  • What's your MOD?
    # Initialize array that holds the xcape mapping expressions Xcape_exprs=() # Irrelevant other xcape mappings like tap ctrl/caps for esc ... # Map a spacebar hold to act as the i3 modifier (Mod3) # # 1. Set space's former keycode to map to $spare_mod # 2. Remove $spare_mod from default mapping (note: mod4 is specific to Hyper_L) # 3. Set mod3 (which is unused by default) to map to $spare_mod # 4. Map space to an... Source: almost 3 years ago
  • Searching for Source Code of Ports
    I figure out that I can trace to the source by digging into the Makefile, but it's just a bit inconvenient. E.g. There is no source URL for ports:x11/xcape, I guess it's the https://github.com/alols/xcape? Tracing the source code of ports:meta/tor-browser requires me to jump to ports:www/tor-browser/browser...Ha! Source: almost 3 years ago
  • Identify the difference
    For me the difference is that Esc is on keydown and Caps Lock is on keyup because I use xcape to map Caps Lock as Escape when tapped (pressed and released in less than 0.5 seconds) and setxkbmap to map Caps Lock as Control when pressed and held or use in a key combination. Source: almost 3 years ago
  • Why "hjkl" for navigating instead of "jkl;"?
    I just use setxkbmap -option ctrl:nocaps to set caps lock as a second ctrl key, and xcape to set both ctrl and caps lock to also act as escape when pressed and released (xcape -e 'Control_L=Escape). Source: almost 3 years ago
  • Using Tab key as a modifier in dwm?
    Just to add to this, if you wanted to be able to use the tab key as a tab key when you push it, but as a modifier when you hold it, you could use xcape. Source: about 3 years ago
  • Remapping keys
    This should be possible using xcape and xmodmap. It's easier to do this with keys that are already modifiers (control, shift, capslock), but the xcape readme also has some instructions to make it work for other keys. Source: about 3 years ago
  • Using <Enter> as a modifier in normal mode?
    Try something like this (or maybe similar and newer): https://github.com/alols/xcape. Source: about 3 years ago

Do you know an article comparing xcape to other products?
Suggest a link to a post with product alternatives.

Suggest an article

xcape discussion

Log in or Post with

This is an informative page about xcape. You can review and discuss the product here. The primary details have not been verified within the last quarter, and they might be outdated. If you think we are missing something, please use the means on this page to comment or suggest changes. All reviews and comments are highly encouranged and appreciated as they help everyone in the community to make an informed choice. Please always be kind and objective when evaluating a product and sharing your opinion.