Sample Header Ad - 728x90

How to tweak an XKB keymap without having to create my own under Wayland?

1 vote
1 answer
81 views
To access keys F13-F24 I recently needed to modify the file: /usr/share/X11/xkb/symbols/inet. This is the snippet, it's not all that interesting...
key    {      [ F13       ]       };
    key    {      [ F14       ]       };
    key    {      [ F15       ]       };
    key    {      [ F16       ]       };
    key    {      [ F17       ]       };
    key    {      [ F18       ]       };
    key    {      [ F19       ]       };
    key    {      [ F20       ]       };
    key    {      [ F21       ]       };
    key    {      [ F22       ]       };
    key    {      [ F23       ]       };
    key    {      [ F24       ]       };
After restarting the compositor this worked as expected. The problem I now have is whenever this package gets updated it will overwrite my local configuration. Everything I can find online explains how I can create my own keymap, which I'd rather avoid - I just want to make a small tweak to the existing keymap. --- Is there a way to overlay some changes on the existing keymap in my user configuration without having to create a new keymap?
Asked by ideasman42 (1461 rep)
Apr 12, 2025, 10:11 AM
Last activity: May 20, 2025, 09:52 PM