Comments (5)
Oh, I'm running latest master.
from xcape.
As you are probably aware, the option ctrl:nocaps
results in two Control_L
keys. It is this duplicated key which seem to be the problem. As proof of that the following xmodmap commands also produce this problem:
remove Lock = Caps_Lock keysym Caps_Lock = Control_L
I have been able to work around this issue by using a different XkbOption, namely, caps:ctrl_modifier
. This results in the caps key using the Caps_Lock keysym, but being treated as a control key. xcape can then be run with ``xcape -e 'Caps_Lock=Escape' to get the desired behaviour.
Unfortunately, it is not possible to then map the escape key to become a caps lock. As doing so results in two keys using the Caps_Lock
keysym, and the crashing occurs once again.
Is support for multiple keys using the same keysym something that could be added to xcape? If so, I may take a look at doing so when time permits.
from xcape.
I have been remapping Caps Lock to Control using the GUI in GNOME and that always worked. I'm not sure how to reproduce the problem on my machine running Linux Mint.
from xcape.
@benarmston Thanks for the info, I'm using caps:ctrl_modifier
now in my X config, as I don't really care about remapping Esc to Caps. This way it seems to work fine.
@alols I believe you can do setxkbmap -option 'ctrl:nocaps'
to try to reproduce. Although, after updating to latest master I can't reproduce it by myself anymore.
from xcape.
@dmedvinsky I assume this means I can close the issue now.
from xcape.
Related Issues (20)
- mapping backslash to a modifier loses bar character HOT 3
- Stops working after undefined time HOT 2
- Full-featured alternative to xcape HOT 4
- xcape generates multiple escape keystrokes HOT 1
- Does not use number pad numbers
- Binding Function 13-24 behaves weirdly HOT 1
- Beginner questions, how to remove/reset settings? HOT 2
- ISO_Level5_Shift=Escape does not map HOT 1
- Trigger sticky key notification in XFCE4 after login HOT 3
- [SOLVED] Mapping CapsLock to Control_R when pressed and Esc when pressed once HOT 2
- Can't map alt_r to space, but I can map space to alt_r
- map modifier to mouse button click HOT 1
- Fedora 34/Gnome 40 Incompatibility? HOT 1
- xcape not tracking key presses in terminal on Ubuntu 20.04 HOT 1
- xcape does not work properly when trying to emit Multi_key
- Remove maping HOT 1
- Ignore action when Ctrl or Alt is pressed before interception button
- no curly brace? get bracket instead (`[` when expecting `{`) HOT 1
- XCape completely stopped working HOT 1
- key click on key-up trigger
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from xcape.