Questions tagged [xcape]

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

Filter by
Sorted by
Tagged with
1
vote
0answers
91 views

mapping backslash to modifier with xcape preserving pipe character

My keyboard has a backslash key which when shifted is a pipe character. I want to map it in xorg to a Hyper modifier when held, and its default behaviour when pressed. I have added the following ...
1
vote
1answer
244 views

Map right alt to left arrow on MacBook Pro with Kali Linux

I’ve just created a Kali Linux partition on my MacBook Pro. On Mac OS I used Karabiner Elements to remap the right alt key to left arrow because my real left arrow key is broken. Now I want to do the ...
0
votes
1answer
210 views

Use ISO_Level3_Shift as Escape when tapped

I use an alternative keyboard layout that uses CapsLock and # as ISO_Level3_Shift modifiers. setxkbmap de koy I also like using CapsLock as additional Escape key when it's just tapped. This can be ...
0
votes
1answer
65 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
1answer
468 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 ...
3
votes
1answer
2k 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
505 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 ...
1
vote
1answer
2k 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
253 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/...
6
votes
1answer
4k 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
1k 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
2k 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. ...