Xkeyboard-config update will require manual migration of custom files under /usr/share/X11/xkb

Dear fellow openSUSE users,

If you customized your keyboard layout (XKB), please note that the upcoming update of xkeyboard-config to 2.45 will require manual migration of user files under /usr/share/X11/xkb:

user files previously under /usr/share/X11/xkb, e.g. the file /usr/share/X11/xkb/symbols/custom, which are saved under /usr/share/X11/xkb.rpmmoved after the update to 2.45 needs to be migrated manually by the user to /usr/share/xkeyboard-config-2

While modifying system directories should be avoided in general, the X11 ecosystem is very inflexible regarding the keyboard database, so for X11 sessions it is common to modify /usr/share/X11/xkb. Unfortunately, since these files are not tracked by the package manager, they cannot be migrated automatically.

Fortunately, there is an alternative user-only configuration for Wayland sessions. In a nutshell: it uses a complementary XKB directory structure under ~/.config/xkb.

See also the xkeyboard-config breaking change.

See also the great post of Peter Hutterer for further details.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.