Repository navigation
Conversation
Since the installer runs in kmscon, omarchy_keymap_xkb takes systemd's kbd-model-map row as it is. For Russian that is ru,us, so kmscon types Cyrillic first. 4.5's loadkeys ru typed Latin first. The LUKS prompt keeps a non-Latin layout out of the initramfs and types US, so a passphrase typed as kmscon starts can't be typed at boot. On an encrypted 4.6.0-rc1 install with Russian, the keys omarchyz/1 enrolled the 18-byte Cyrillic passphrase, and the prompt rejected it. A non-Latin first layout now goes after US, with the variants kept in place and Shift+Shift added where the row has no group toggle. Hebrew had no Latin layout in kmscon at all, and Georgian had no toggle. Serbian Latin keeps rs(latin), which the ISO's prebuilt UKI uses at the unlock prompt. The layout code comes from outfoxxed's boot-splash work (7f7dd2a on boot-splash), taken on its own so it can ship before the splash. Co-authored-by: outfoxxed <outfoxxed@outfoxxed.me> (cherry picked from commit f5a58a7)
[Medium impact] The PR appears safe to merge with the coordinated ISO release described by SummaryStarts
Reviews (3) · Last reviewed commit: "Start Serbian Latin in US in kmscon to m..." · Reviewed by Greptile |
|
Codex GPT-6.2 Sol High and Opus 5.5 High reviewed the kmscon and unlock code and agreed that starting in US addresses the default Russian layout mismatch. The model reviews may share context. Serbian Latin still starts in US after an initramfs rebuild, including the rebuild during first-boot owner setup, while the installer and prebuilt UKI use Serbian Latin. GitHub CI passed. Worker reproduction is pending because the release branches lack the protection required by triage. |
|
Codex GPT-6.2 Sol High, Opus 5.5 High and muse-wonder via pi, thinking high checked the revised keyboard mapping against the installer, first-boot setup and initramfs code. We found no further code defect. The reviews may share context. The new revision starts Serbian Latin in US, matching rebuilt boot images. The 4.6.0 ISO needs this version of GitHub CI passed on |
|
Closing: 4.6.0-rc2 will be tagged from |
What changes
Since the installer moved into kmscon (omarchy-iso#500),
omarchy_keymap_xkbtakes systemd's kbd-model-map row as it is. For Russian that isru,us, so the installer types Cyrillic first. 4.5'sloadkeys rutyped Latin first.The LUKS prompt keeps layouts in
omarchy_hooks.conf's US-prompt list (non-Latin layouts and allrsvariants) out of the initramfs and types US. A passphrase typed in a different layout during install can't be typed at boot, locking out fresh encrypted installs.This puts US first in kmscon whenever the first layout is in
omarchy_hooks.conf's list — including Serbian Latin (sr-latin->us,rs ,latin), matchingomarchy_hooks.conf,omarchy_vconsole.conf, andquattro(#20404). The user's layout stays one Shift+Shift away, and variants stay with their layouts. Where the row has no group toggle, Shift+Shift is added: Hebrew had no Latin layout in kmscon at all, and Georgian had no toggle.Landing note: ship this in the same
v4-6-0ISO build as omacom/omarchy-iso#622 (which drops thers(latin)exemption inuki_vconsole.py) sokmscon, the pre-built UKI, and rebuilt initramfs images all start in US forsr-latin.The layout code comes from outfoxxed's boot-splash work (
7f7dd2aonboot-splash), taken on its own forv4-6-0.Not covered: a user can still switch to the non-Latin layout on purpose and type a passphrase the US prompt can't type. The form doesn't know yet whether the disk will be encrypted, so a guard for that is a separate change.
Verification
test/shell.d/provision-owner-keyboard-test.sh, kmscon block, run in an Arch container against the real/usr/share/systemd/kbd-model-map:uagivesua,us,bg-cp1251givesbg,us, andsr-latingivesrs pc105 latin.rugivesus,ru pc105 - terminate:ctrl_alt_bksp,grp:shifts_toggle,grp_led:scroll,ilgivesus,il …,grp:shifts_toggle,sr-latingivesus,rs pc105 ,latin terminate:ctrl_alt_bksp,grp:shifts_toggle, andde-latin1andusare unchanged.Verified end to end in QEMU 11.1 (OVMF, 4 GiB, 4.6.0-rc1 ISO, Russian encrypted install unlocking through Limine/Plymouth on first try) and on bare-metal hardware (ASUS Zenbook 14
UX3480QAvia USB HID keycodes):v4-6-0with Russian (ru):bertypedиук.ru):berfoundEurope/Berlin,emirtypedemir, andShift+Shifttoggled to Cyrillic (ru->кг).rs(latin)exemption + Serbian (sr-latin):zurtypedyur,omarchyz/1enrolledomarchzy-1in LUKS, andcryptsetup --test-passphraserejectedomarchyz/1(rc=2) against the US-first unlock prompt.sr-latin):zurfoundEurope/Zurich,omarchyz/1typedomarchyz/1, andShift+Shifttoggled to Serbian Latin (z/y->y-z).Screenshots
Before, stock rc1 with Russian: the timezone filter and the username type Cyrillic.
After: the same keys type Latin, and the Russian layout is one Shift+Shift away.
After: the disk unlocked at the Plymouth prompt with the same keys, and the desktop came up.