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 (?).
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.
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.