#1143945 cinnamon - wrong default keyboard layout with sysvinit

Package:
cinnamon
Source:
cinnamon
Description:
Innovative and comfortable desktop
Submitter:
Franz Hubert
Date:
2026-08-10 02:27:02 UTC
Severity:
normal
#1143945#5
Date:
2026-08-08 18:38:05 UTC
From:
To:
Dear Maintainer,

With cinnamon desktop, if sysvinit is used, the default keyboard layout
is 'us' - and the XKBLAYOUT setting in /etc/default/keyboard is ignored.
To verify: change XKBLAYOUT in /etc/default/keyboard to another layout
(such as 'es' or 'de'), then add a new user and log in.  The new user
will have a 'us' keyboard layout.  With systemd, the new user will have
the layout specified in /etc/default/keyboard.  I believe this may be
due to sysvinit missing dbus-user-session (?).

#1143945#10
Date:
2026-08-09 18:34:27 UTC
From:
To:
Dear Maintainer,

My initial suspicion was incorrect, regarding dbus-user-session.
Non-US cinnamon keyboard layout is correct with systemd, even with
dbus-user-session removed.  Nevertheless, it is incorrect with sysvinit.

#1143945#15
Date:
2026-08-10 02:25:03 UTC
From:
To:
Dear Maintainer,

Just a little more info on this.  This affects forky (as you can see
from sys info).  Steps to reproduce would be: install base operating
system, German keymap (for example), no desktop.  switch to sysvinit, elogind.  then install xorg,
lightdm, cinnamon, cinnamon-core, cinnamon-l10n.
What happens?  tty keyboard layout is German.  lightdm login is German
keyboard layout.  But cinnamon desktop is 'us'.

/etc/default/keyboard lists XKBLAYOUT="de"
gsettings get org.cinnamon.desktop.input-sources sources
[('xkb', 'us')]

 I believe this behavior is new with forky (I believe that cinnamon
 keyboard layout is correct in trixie) - if it would help, I can
 test/verify that.