On Zorin OS 18.1 Core, a Belgian user gets the wrong keyboard in the live session and on the first screens, before Zorin is installed. I tested the points below in virtual machines (QEMU) with the Zorin OS 18.1 Core ISO.
-
Boot menu. The menu has no keyboard or language choice, so the live session always starts with the US layout. The keyboard can already be set on the boot line: with keyboard-configuration/layoutcode=be locale=nl_BE.UTF-8 the console and the system default are Belgian. What is missing is a way to choose it from the menu. The US default itself comes from Ubuntu's casper; I commented on that part here: Comment #3 : Bug #1277966 : Bugs : casper package : Ubuntu
-
The Welcome screen replaces that choice. Even when the boot line sets the Belgian layout, choosing Français on the Welcome screen makes the live desktop type French AZERTY. In ubiquity 24.04.5+zorin2, ubi-language.py calls misc.set_indicator_keymaps(lang) when the language changes, and in this mode it writes the GNOME input sources from the language alone. For Français that is [('xkb','fr+oss'), ('xkb','fr'), ('xkb','be'), ('xkb','ca')]. GNOME uses the first entry, so fr+oss wins over the system's be. Without the Welcome screen (booting without maybe-ubiquity), the same boot line gives a Belgian live desktop with only ('xkb','be').
-
The keyboard guess uses the language only. "Try Zorin OS" runs dpkg-reconfigure keyboard-configuration with only the language known. Français gives the keyboard of France and Nederlands gives a US keyboard (fr_FR → fr, nl_NL → us, while fr_BE and nl_BE give be). The Welcome screen lists languages only, so a Belgian user cannot say "Belgium" there.
Proposal
Boot menu: an entry or sub-menu to choose the language and keyboard before the live session starts. It only needs the existing boot parameters. I made a simple version for a test stick and can share it.
Welcome screen: when a keyboard was set on the boot line, keep it first in the input sources. I wrote a small patch for ubiquity/misc.py that puts the boot-line layout first in set_indicator_keymaps: belgian-azerty-linux/upstream/ubiquity-indicator-keymaps-honour-layoutcode.patch at v0.9.7 · belgian-azerty/belgian-azerty-linux · GitHub It compiles, but I have not run it yet, so please treat it as a sketch.
Keyboard guess: use the country when it is known (for example from the boot line's locale=), as keyboard-configuration's own table already does for fr_BE and nl_BE.
Background. Belgium is one of the clearest cases: none of its three languages (Dutch, French, German) gives the Belgian keyboard from the language alone. Worked out from the keyboard data, not tested, the same language-only guess is also wrong for Switzerland, Luxembourg, Quebec and Spanish-speaking Latin America. The patch sits in the repository of a stopgap I publish for Belgian users of Zorin OS 18.1 and Linux Mint 22.3 (release 0.9.7). That stopgap was tested in emulators and on one laptop and had a separate review. Nothing of it is accepted upstream yet, and I would be glad to see it become unnecessary. The screenshots for points 1 to 3 are in its evidence folder (real-zorin-01 to 03, 07, 08 and 12).
Built with AI help (Claude).