I have created an own *.kbd file which modifies my keyboard slightly. This works as expected, but I have to load it explicitly using xkbcomp. Also, when loaded, from time to time something unknown triggers loading the default again, then I have to redo the call of xkbcomp.
I have searched through the Internet for advice on this, and there is a lot, but all I found was either outdated or way to vague to be useful (“have a look at udev” or similar).
I could imagine to place my .kbd file somewhere in the system (/lib/… or such) so that my file simply replaces the default which is normally loaded. I also can imagine to install a special trigger using some udev magic (but I only vaguely know what it’s good for, not how it’s used).
I am using Ubuntu 22.04 with xorg on Thinkpad laptops. Hints on how to modify the keyboard under Wayland are also welcome, but not my direct goal.
Bookmarks