Skip to content

Use the latin1 console keymaps for German and French in the setup form - #14684

Merged
omarchybot merged 4 commits into
quattrofrom
fix/issue-8680
Oct 31, 2026
Merged

omarchybot merged 4 commits into
quattrofrom
fix/issue-8680

Conversation

@omarchybot

@omarchybot omarchybot commented Oct 9, 2026 •

Copy link
Copy Markdown
Collaborator

The installer's keyboard picker maps German, French and French (Switzerland) to the kbd console keymaps de, fr and fr_CH. Those are the old 7-bit national variants: de puts @ [ ] on the keys where ü ö ä belong, fr puts { } | where é è ù belong, and fr_CH leaves 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-latin1 and fr_CH-latin1, the standard console layouts, which keep AltGr+Q as @ for German. systemd's kbd-model-map derives the same XKB layout, model and variant from the new names as from the old (de, fr, ch/fr), so /etc/vconsole.conf's XKBLAYOUT, which Hyprland, SDDM and the Plymouth bundling read, is unchanged; only KEYMAP differs. Existing installs keep KEYMAP=de and are not migrated.

On a worker built from the 4.0.4 ISO, loading each keymap the form resolves and reading it back with dumpkeys shows the punctuation on the umlaut and accent keys at quattro, 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

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>
@greptile-apps

greptile-apps Bot commented Oct 9, 2026 •

Copy link
Copy Markdown
Contributor

RetriggerView in GreptileConfidence Score: 5/5

[Medium impact] The PR appears safe to merge; no actionable defects were found.

Summary

Changes the setup form to use de-latin1, fr-latin1, and fr_CH-latin1 for German, French, and French (Switzerland).

  • German and French keyboard choices now use latin1 console maps.

Reviews (3) · Last reviewed commit: "Merge quattro into fix/issue-8680" · Reviewed by Greptile

Comment thread test/shell.d/setup-form-test.sh Resolved
@jandrusk

Copy link
Copy Markdown

Heads-up: #15003 changes the same entries in install/provisioning/setup-form.sh (latin1 console maps for French and German, so install passwords match what the LUKS prompt types). It'd be good to keep just one of the two. This one also covers French (Switzerland).

@omarchybot

Copy link
Copy Markdown
Collaborator Author

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 quattro: the diff is still the three entries in install/provisioning/setup-form.sh (French, French (Switzerland), German) and the matching German assertion in test/shell.d/setup-form-test.sh. de-latin1, fr-latin1 and fr_CH-latin1 all ship with kbd, and systemd's kbd-model-map maps them to the same XKB layout, model and variant as de, fr and fr_CH (de, fr, and ch/fr), so XKBLAYOUT in /etc/vconsole.conf is unchanged. The only readers of the chosen value are loadkeys and systemd-firstboot --keymap in apply_keyboard in bin/omarchy-provision-owner and the ISO configurator; nothing in the repository matches on the old names. Nothing wrong was found in what was read.

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 quattro. Which of the two to keep is for the maintainer.

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.

@omarchybot omarchybot added the bug Something isn't working label Oct 16, 2026
omarchybot and others added 2 commits October 17, 2026 01:55
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>
@omarchybot omarchybot added the verified Omarchy Triage has verified that this issue is ready for final review label Oct 17, 2026
@omarchybot

Copy link
Copy Markdown
Collaborator Author

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 bug and verified.

Reproduced on a worker built from the Omarchy ISO, at 22d124386c703db31e2bcef5770051369f4778d9 against quattro 33783b17. Loading each keymap with loadkeys and reading it back with dumpkeys: de types @ [ ] on the ü ö ä keys, fr types ^ m | and { } / where ù é è ç belong, and fr_CH leaves the è é à keys unassigned; de-latin1, fr-latin1 and fr_CH-latin1 type the letters, and AltGr+Q is still @ on German. /usr/share/systemd/kbd-model-map gives the latin1 names the same XKB layout, model and variant as the old ones, so XKBLAYOUT and the installed desktop are unchanged.

Pushed to this branch:

  • f6e037a3 adds the French assertion from Load the latin1 console maps for French and German so install passwords match the LUKS prompt #15003 to test/shell.d/setup-form-test.sh, extended to French (Switzerland). Only German was tested before, so reverting either French entry passed the suite; on the worker, reverting any one of the three entries now fails setup-form-test.sh, and it passes with them.
  • 22d12438 merges quattro, which had started to conflict in the same test file; both quattro's language keyboard loop and the French loop are kept, and the net change is still the three entries and their tests.

This also fixes #9442 (a French password with accented letters enrolled under the fr console map and then rejected at login), now linked so it closes with this.

Tests on the worker: ./test/cli passes and setup-form-test.sh passes. The full shell suite does not: 11 files fail, none touching the setup form. Nine fail the same way at quattro 33783b17 without this change (ascii, background-instant-reload, background-intro-clone, branding-about-animation, hyprland-startup-cursor-cold, i18n, lock-appear-budget, passwordless-grant-lifecycle, runtime-smoke), and the two agent-usage scanner tests pass when run on their own. CI was still running when this was written.

Waiting on the maintainer: the change is verified, and the red shell suite on the worker is the one thing between it and ready.

@omarchybot omarchybot removed the verified Omarchy Triage has verified that this issue is ready for final review label Oct 20, 2026
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>
@omarchybot omarchybot added the verified Omarchy Triage has verified that this issue is ready for final review label Oct 21, 2026
@omarchybot

Copy link
Copy Markdown
Collaborator Author

This pull request no longer merged cleanly after #15522 added keyboard preset tests next to the French latin1 tests in test/shell.d/setup-form-test.sh. I merged quattro (087f73d8) into the branch at b82e1d5b, keeping both sets of tests. Compared with quattro, the diff is still just the three keymap entries and their test.

Checked again at b82e1d5b, on a worker built from the Omarchy ISO:

  • On the worker console, after loadkeys, dumpkeys shows de, fr and fr_CH putting punctuation on the umlaut and accent keys, or nothing at all, and de-latin1, fr-latin1 and fr_CH-latin1 putting the letters there.
  • The worker's kbd-model-map gives the new names the same XKB layouts as the old ones. localectl list-keymaps lists all three, so apply_keyboard in bin/omarchy-provision-owner still accepts them and still writes the XKB layout.
  • setup-form-test.sh passes, and it fails with any one of the three entries reverted.
  • test/cli passes.
  • test/shell fails in 6 files: ascii, background-instant-reload, background-intro-clone, branding-about-animation, i18n and runtime-smoke. They fail the same way on quattro 087f73d8, and none of them touch the setup form. A seventh, windows-vm-compose, failed once in the full run and passed when run on its own.

Claude Opus 5.5 reviewed the merge and the change against current quattro. Codex Medium reviewed them as a second opinion, including the form-defaults preset path from #15522 and the initramfs vconsole filter. It found nothing and agreed with the first review; its independence is not guaranteed. It also classified the pull request as a bug, separately.

Labelled verified again. It is not ready, because the shell suite is not green on quattro itself. Once those six files pass there, only the maintainer's decision is left.

@omarchybot omarchybot removed the verified Omarchy Triage has verified that this issue is ready for final review label Oct 21, 2026
@omarchybot
omarchybot merged commit 4157e42 into quattro Oct 31, 2026
1 check passed
@emirb emirb added this to the 4.5 milestone Nov 5, 2026
berenddeboer pushed a commit to berenddeboer/omarchy that referenced this pull request Nov 6, 2026
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)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Keyboard layout mismatch between installation and login German keyboard layout in live installer uses keymap without umlauts

3 participants