Follow-up from "make kcm_keyboard use xkbregistry (fixes bug 432818)"
If I understand the issue from !2166 (comment 918020) correctly then:
On Wayland we can load layouts from ~/.config/xkb, but those can't be used on X11, so we have a problem when selecting such a layout on Wayland and then switching to X11.
Proposed alternatives:
- Enable same features on X11 and Wayland: requires using
xkbcomp
and impact assessment for possible breakage. - Separate config for X11 and Wayland, if incompatible: safest option, but requires adapting the configuration handling (+migration). (EDIT: added incompatible condition)
- Enable warnings and accept the config failure on X11, defaulting to system config. Would affect only people having custom config and switching between the two kinds of sessions. One one hand I feel that there are not much people in this situation, on the other hand the fallback is quite ugly.
- Add an option for the user to choose 2) or 3).