Comments (1)
I found a solution using xmodmap, xcape, sxhkd, and xte.
(in .xinitrc)
# Look for unused KeyCodes
#xmodmap -pk
# Map F13 to an unused KeyCode
xmodmap -e 'keycode 253 = F13'
xcape -e 'Shift_L=F13'
(in .config/sxhkd/sxhkdrc)
@F13
xte 'mouseclick 1' 'mouseclick 1'
from xcape.
Related Issues (20)
- 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
- 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
- "greater" key doesn't work, and give a "less" key instead HOT 1
- Mapped key doesn't respond when playing a game
- Is there a way to have delay like press key for at least 100ms? (Similar to timeout but for holding key down)
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.