Comments (2)
I mapped my Capslock to Escape in Gnome.
How? The only possible way provided by GNOME I think is in tweaks, if I am correct it swaps keys via X11. This program has nothing to do with X11 or Wayland on getting input, so it won't know that you swapped capslock and escape.
If you only needs simply a swap between 2 keys, I suggest to use udev hwdb instead of X-related solution. It works in lower layer so this program will receive swapped keys, and another pros for udev hwdb is that it also works in tty.
This might be helpful: https://wiki.archlinux.org/title/Map_scancodes_to_keycodes.
from showmethekey.
@DuckDuckWhale https://github.com/rvaiya/keyd works on Wayland at least. I am pressing caps lock here using the supplied default script:
[ids]
*
[main]
# Maps capslock to escape when pressed and control when held.
capslock = overload(control, esc)
from showmethekey.
Related Issues (20)
- ../meson.build:87:8: ERROR: Program 'gtk4-update-icon-cache' not found or not executable HOT 2
- Custom keyboard layout HOT 4
- [Bug] Settings schema 'one.alynx.showmethekey' is not installed Trace/breakpoint trap HOT 1
- /usr/local HOT 2
- Option to hide boxes around keys HOT 4
- Meson fails to build on Debian 12 with `undefined reference to g_ptr_array_sort_values` error HOT 20
- Suggestion for mouse clicks HOT 2
- 如何调整字体大小? HOT 1
- Please add shortcut to toggle pause feature HOT 1
- Mapped key shown wrong. HOT 4
- clickable margin/padding is staing after i remove clickable tick from setting its look weird HOT 2
- Integrate with Mechvibes [Feature Request] HOT 1
- Fails to display non-standard buttons HOT 4
- 单独的 ctrl+shift 没有被视为组合键 HOT 2
- disabled Width and Height HOT 3
- Compact view HOT 2
- Hide "clickable" HOT 3
- 不适配系统浅色模式,文字和窗口背景撞色 HOT 1
- [Feature Request] Show only invisible keys HOT 2
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 showmethekey.