Setting the keyboard layout

Okay I had to register so I could comment…

When setting the password in the Yast installer for TW the correct keyboard language is used but during login sddm switches to English and I can’t login. Same problem with other distros.
After much frustration and reinstallations due to being unable to login in a newly installed distro I found out that it was the keyboard language’s fault and not me always forgetting my passwords.

So my password is different (due to special keys being on different keys on the English keyboards) during login than in the DE and lock screen (that uses the correct keyboard language).
This is pretty annoying and I hope PLM will properly use the correct keyboard language since sddm seems unable to.

@xor25:

First – Welcome to the openSUSE Forums!!!


You may have an issue with the system’s Locale – which is where SDDM, and everything else, get’s the default system keyboard settings:

 > LANG=C.UTF-8 localectl 
System Locale: LANG=de_DE.utf8
    VC Keymap: de-nodeadkeys
   X11 Layout: de
    X11 Model: cymotionlinux
  X11 Variant: nodeadkeys
  X11 Options: terminate:ctrl_alt_bksp
 >

If you call the “localectl” command from a Linux Console (VT → Ctrl-Alt-F1/2/3/4/5/6) you should be seeing more or less the same output – I called the example above from a KDE Plasma (Wayland) Konsole window. On this system, a Linux Console uses the following Locale settings:

 > cat /etc/vconsole.conf 
# Written by systemd-localed(8) or systemd-firstboot(1), read by systemd-localed
# and systemd-vconsole-setup(8). Use localectl(1) to update this file.
KEYMAP=de-nodeadkeys
FONT=
FONT_MAP=
FONT_UNIMAP=
XKBLAYOUT=de
XKBMODEL=cymotionlinux
XKBOPTIONS=terminate:ctrl_alt_bksp
XKBVARIANT=nodeadkeys
 >

This topic continued and found a solution in another thread:

By the way, thanks :grin:

1 Like