Repository navigation
Use the latin1 console keymaps for German and French in the setup form - #14684
Conversation
The kbd `de`, `fr` and `fr_CH` keymaps are the old 7-bit national variants: `de` puts @ [ ] where ü ö ä belong, `fr` puts { } | where é è ù belong, and `fr_CH` leaves the accented keys unassigned. The installer loads the chosen keymap on the console, so a German or French user could not type their own letters in the name or password fields. The `-latin1` maps are the standard layouts, and systemd derives the same XKB layout from them, so the installed desktop is unchanged.
Fixes #8680
Co-Authored-By: Codex Medium <noreply@openai.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
[Medium impact] The PR appears safe to merge; no actionable defects were found. SummaryChanges the setup form to use
Reviews (3) · Last reviewed commit: "Merge quattro into fix/issue-8680" · Reviewed by Greptile |
|
Heads-up: #15003 changes the same entries in |
|
Reviewed by Claude Opus 5.5 alone, by reading; nothing was run on a worker this pass. The second opinion (Codex Medium) did not run: its daily review budget is spent, so the classification of this pull request as a bug is unconfirmed and no class label has been added. What was checked against Still open: the Greptile note is right that only the German entry is tested, so reverting either French entry would pass the suite. #15003 changes the same German and French entries (not French (Switzerland)) and adds a French assertion; it currently conflicts with Next: this goes round again once the second opinion is available, for classification, a reproduction on a worker and the suite. Until then it waits on that, not on the author. |
Only German was asserted, so reverting French or French (Switzerland) to `fr` or `fr_CH` passed the suite. Folds in the French assertion from #15003, extended to French (Switzerland), which only this pull request changes. Co-Authored-By: Omarchybot <317366263+omarchybot@users.noreply.github.com> Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Reviewed by Claude Opus 5.5 and, as a second opinion, Codex Medium, which classified this as a bug separately and reviewed the change in two rounds with nothing open; it agreed with the first review, and its independence is not guaranteed. Labelled Reproduced on a worker built from the Omarchy ISO, at Pushed to this branch:
This also fixes #9442 (a French password with accented letters enrolled under the Tests on the worker: Waiting on the maintainer: the change is verified, and the red shell suite on the worker is the one thing between it and |
quattro's install-media presets (#15522) added keyboard preselection tests beside the French latin1 tests; both are kept. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
This pull request no longer merged cleanly after #15522 added keyboard preset tests next to the French latin1 tests in Checked again at
Claude Opus 5.5 reviewed the merge and the change against current Labelled |
omacom#14684) * Use the latin1 console keymaps for German and French in the setup form The kbd `de`, `fr` and `fr_CH` keymaps are the old 7-bit national variants: `de` puts @ [ ] where ü ö ä belong, `fr` puts { } | where é è ù belong, and `fr_CH` leaves the accented keys unassigned. The installer loads the chosen keymap on the console, so a German or French user could not type their own letters in the name or password fields. The `-latin1` maps are the standard layouts, and systemd derives the same XKB layout from them, so the installed desktop is unchanged. Fixes omacom#8680 Co-Authored-By: Codex Medium <noreply@openai.com> Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Test that both French entries take their latin1 console maps Only German was asserted, so reverting French or French (Switzerland) to `fr` or `fr_CH` passed the suite. Folds in the French assertion from omacom#15003, extended to French (Switzerland), which only this pull request changes. Co-Authored-By: Omarchybot <317366263+omarchybot@users.noreply.github.com> Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> --------- Co-authored-by: Omarchybot <317366263+omarchybot@users.noreply.github.com> Co-authored-by: Codex Medium <noreply@openai.com> Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com> (cherry picked from commit 4157e42)
The installer's keyboard picker maps German, French and French (Switzerland) to the kbd console keymaps
de,frandfr_CH. Those are the old 7-bit national variants:deputs@ [ ]on the keys whereü ö äbelong,frputs{ } |whereé è ùbelong, andfr_CHleaves those keys unassigned. The ISO configurator and first-boot owner setup both load the chosen keymap on the console, so someone picking German or French could not type their own letters in the name or password fields.This switches the three entries to
de-latin1,fr-latin1andfr_CH-latin1, the standard console layouts, which keepAltGr+Qas@for German. systemd'skbd-model-mapderives the same XKB layout, model and variant from the new names as from the old (de,fr,ch/fr), so/etc/vconsole.conf'sXKBLAYOUT, which Hyprland, SDDM and the Plymouth bundling read, is unchanged; onlyKEYMAPdiffers. Existing installs keepKEYMAP=deand are not migrated.On a worker built from the 4.0.4 ISO, loading each keymap the form resolves and reading it back with
dumpkeysshows the punctuation on the umlaut and accent keys atquattro, and the letters with this change. Codex Medium reviewed the diagnosis and the change; it found the French entries, and its review of the final diff had no open findings.Fixes #8680
Fixes #9442