Is it possible to create keymappings with modifiers CTRL, fn, Super etc? #785
-
Hi! I have followed the user configuration guide. I have managed to create a custom layout which I use for remapping some keys, including combinations with (Using Fedora 42 KDE Plasma) Grateful for any advice! EDIT: If someone could just provide a snippet (if possible) of how to map |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Yes, you can map any keysym to any modifier combination, including But you are going to face the issue #145: not all applications will ignore the consumed modifiers. So when pressing So the answer is probably no with only libxkbcommon in its current state, because unless you check each app, you may face unexpected behavior difficult to debug. For now I would advise to use a third-party software such as KMonad, Kanata or keyd. But keep informed by subscribing to #145, I intend to tackle this soon™.
Unless you have a specific keyboard, most keyboard do not send events for |
Beta Was this translation helpful? Give feedback.
Yes, you can map any keysym to any modifier combination, including
Down
andUp
.But you are going to face the issue #145: not all applications will ignore the consumed modifiers. So when pressing
Ctrl-j
, apps will getDown
+Control
modifier is active. Then is it up to each app to use the API correctly to see thatControl
is consumed and ignore it, so get actually onlyDown
. Some respect that, lots do not (it may have changed, it’s difficult to follow).So the answer is probably no with only libxkbcommon in its current state, because unless you chec…