fabi1cazenave / qwerty-lafayette

QWERTY keyboard layout for French-speaking users
https://qwerty-lafayette.org/
107 stars 65 forks source link

Changes in base.xml and evdev.xml have unexpected results in keyboard settings #94

Closed FabienBonardi closed 1 year ago

FabienBonardi commented 2 years ago

Running the install script on Ubuntu 22.04 LTS have unexpected results: french layouts are not visible anymore in the keyboard layouts list of the Gnome settings window. Problem seems to be resolved by removing type="lafayette" from the two <variant> blocks in both base.xml and evdev.xml.

fabi1cazenave commented 1 year ago

Confirmed with the latest v0.8 release (#99). Looks like adding a custom attribute is okay for evdev.xml but not for base.xml. Looking into it.

fabi1cazenave commented 1 year ago

Hmm, it could be the other way round… If someone has a suggestion to track the custom layouts in /usr/share/X11/xkb properly (i.e. better than with a type="kalamine" in the XML markup), I’m all ears.

I guess a quick and dirty solution could be to avoid this kind of marks and just hard-code the layout names in the installer.