Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [xcape]

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

0
votes
1answer
42 views

Execute a command if F+J keys are pressed

What would I need to do if I wanted to execute: chromium & by pressing F+J ? Preferred requirements: Globally accessible across Desktop Environment Independent of terminal focus or not Without ...
2
votes
0answers
158 views

Turning the Escape key into a modifier that still acts as Escape when tapped

I use a tiling window manager (xMonad at the moment), and due to this I need a key that acts as the ‘control key’ for window management. Whenever I use a keyboard with Windows/Super/Mod4 keys, I use ...
2
votes
1answer
123 views

Advanced key mappings in linux

I am using manjaro i3 and am looking into revamping some of the key mappings I have made. Currently I am using xcape, xmodmap, and setxkbmap commands to remap the following keys: caps to contol when ...
1
vote
0answers
290 views

Remap capslock and enter to control modifier

I want to remap two keys, not just one. Specifically, I want to: Remap capslock to control and escape, and Remap return/enter to control when it is pressed with another key. Based on the two links ...
0
votes
1answer
1k views

Remap Esc to Caps Lock after mapping Caps Lock to Ctrl and Esc with xcape

I currently have Caps Lock mapped to Ctrl when held and Esc when tapped (for vim) via these commands in .xinitrc setxkbmap -option 'caps:ctrl_modifier' xcape -e 'Caps_Lock=Escape' This works, but ...
0
votes
1answer
222 views

Installing Xcape (question involving the “make” command)

I executed the minimal building directions of xcape: $ sudo apt-get install git gcc make pkg-config libx11-dev libxtst-dev libxi-dev $ mkdir xcape $ cd xcape $ git clone https://github.com/alols/...
2
votes
1answer
2k views

Using xcape + xmodmap to change some keys

Using xcape and xmodmap, how does one Make the CAPSLOCK key behave as a SUPER modifier key when pressed in conjunction w/another key. Make the CAPSLOCK key function as the ESCAPE key when pressed on ...
9
votes
3answers
778 views

How to allow chords of keyboard keys to change the keymap temporarily?

I have really gotten used to the "Simultaneous Vi Mode" functionality of KeyRemap4MacBook which lets you press and hold the s and d keys simultaneously and then use the h, j, k, and l keys as the ...
2
votes
1answer
1k views

How can I replace my keyboard and mouse udev rules with xorg.conf.d?

Since it is impossible to make udev rules that affect Xorg settings run on startup, I'd like to replace these with other alternatives. At the moment, I have two primary udev scripts that I've written. ...