OPINIONATED OMARCHY
TROUBLESHOOTING CORPUS
790
RECORDS
790
AUDITED
0
UNCHECKED
2388
SOURCES
LIVE
audio-input medium occasional DISPUTE

Make the SDDM login screen use your keyboard layout instead of US

omarchyhyprlandsddmwaylandlaptopdesktop
CORRECTED An auditor found the fix wrong or incomplete and rewrote it. · checked against Omarchy omarchy 4.0.4-1 on 2026-10-05
AUDIT NOTE

The cause holds for 4.0.4: /etc/sddm.conf.d/10-wayland.conf sets CompositorCommand=start-hyprland -- --config /usr/share/sddm/hyprland.lua, both files are owned by omarchy-settings 4.0.4-1, and the shipped hyprland.lua only sets misc and animations. Issues #12611 and #8060 Bug B confirm it. man 5 sddm.conf here says /etc/sddm.conf is read last with highest precedence, and /etc/sddm.conf does not exist, so the override path is sound. What changed: upstream fixed it on the quattro branch on 2026-10-04 in commit 75b327bc ("Apply the system keyboard layout to the SDDM greeter", #6896). The new /usr/share/sddm/hyprland.lua reads XKBLAYOUT and XKBVARIANT from /etc/vconsole.conf and prepends us with grp:alts_toggle for non-Latin layouts. That commit is not in v4.0.4 (quattro is 712 commits ahead), so the record is right today, but its override would keep pinning the stale copy after the next release. The corrected fix adds a check for whether the installed file already handles it and tells the user to remove the override once it does. Not exercised: logging out to the greeter.

The cause above was not rewritten and may still contain the error described. The fix below is the corrected version.
RISK

A syntax error in the greeter Lua file or a wrong path in /etc/sddm.conf can leave SDDM with no working greeter. Keep a TTY login available (Ctrl+Alt+F3) and remove /etc/sddm.conf from there to recover. Not exercised on a test VM for this record.

Symptom

After logging out of Omarchy 4, the SDDM login screen types US QWERTY although the install chose Finnish, French or another layout. The desktop session itself is correct and localectl status shows the right X11 Layout. A password containing layout-specific characters cannot be typed at the greeter.

Cause

Omarchy's SDDM runs its greeter inside Hyprland with /usr/share/sddm/hyprland.lua (set by CompositorCommand=start-hyprland -- --config /usr/share/sddm/hyprland.lua in /etc/sddm.conf.d/10-wayland.conf). That file, owned by omarchy-settings, only sets misc and animations. It never reads /etc/vconsole.conf the way the session's default/hypr/input.lua does, so the greeter uses Hyprland's default us. Most Omarchy installs autologin at boot, so the greeter only appears after an explicit logout.

Fix

First check whether your Omarchy already fixes this. Upstream made the greeter read /etc/vconsole.conf on 2026-10-04 (commit 75b327bc), after v4.0.4. If this prints matches, your release has the fix and you need nothing below, so make sure XKBLAYOUT (and XKBVARIANT) are set in /etc/vconsole.conf and log out to test:


pacman -Q omarchy-settings
grep -n 'vconsole\|kb_layout' /usr/share/sddm/hyprland.lua

**Omarchy 4.0.4 and earlier (no match above):** do not edit /usr/share/sddm/hyprland.lua or /etc/sddm.conf.d/10-wayland.conf: both are owned by omarchy-settings and an update replaces them. Give the greeter its own config and point SDDM at it from /etc/sddm.conf, which SDDM reads last and which outranks /etc/sddm.conf.d.


sudo mkdir -p /etc/sddm
sudo cp /usr/share/sddm/hyprland.lua /etc/sddm/hyprland-greeter.lua

Add an input block (use your layout and variant from grep XKB /etc/vconsole.conf):


-- /etc/sddm/hyprland-greeter.lua (append)
hl.config({
  input = {
    kb_layout = "fi",
    kb_variant = "",
  },
})

# /etc/sddm.conf
[Wayland]
CompositorCommand=start-hyprland -- --config /etc/sddm/hyprland-greeter.lua

Log out to test. This override pins both the command line and a copy of the greeter config, so it keeps hiding upstream changes. After every Omarchy update run the grep check at the top again. Once the shipped file reads vconsole, remove the override and go back to the packaged greeter:


sudo rm /etc/sddm.conf /etc/sddm/hyprland-greeter.lua

Verify

Log out. At the SDDM password field type a layout-specific key (for example รถ on Finnish) and confirm a dot appears, then log in.

Sources

sddm-greeter-us-layout-after-logout