KDE 43 - Problems with my root password (login screen EN/DE Layout)

Hello, i use Fedora 43 KDE.

I previously had a US keyboard layout and English as my language. Now I have a German layout and German as my language.

My user’s root password works within the system. When I start my computer and have to log in, I have to use my US layout. In other words, within the desktop, I have my “Z” on the “Z” key. On the login screen, however, the ‘Z’ key is a “Y.”

How can I set my login screen to a “German layout”? It still looks English to me, because it says ‘Restart’ etc. instead of “Neustarten” in German. I had changed my password within the system and didn’t even think that this could be the reason why my layout didn’t fit within the login.

Thanks :slight_smile:

man localectl ?

One word of advice, however: do not open a graphical session as root user. Instead, use your privileged user and sudo if necessary.

Thanks. Okay, I assume I need to change System Locale: LANG=en_US.UTF-8 tode_DE.UTF-8?

localectl
System Locale: LANG=en_US.UTF-8
    VC Keymap: us-acentos
   X11 Layout: us,de
    X11 Model: pc105
  X11 Variant: ,nodeadkeys

I’m not sure myself at the moment about user and root. I wrote down two passwords at the time. One for root, one for my username. In the end, I’ve only needed the password for my username so far.

Hello, unfortunately, I can’t solve my problem. :frowning:

When I start my computer, the login screen is in English with an English keyboard.
If I lock my screen during operation, the login screen is back in German with a German keyboard.

echo $LANG
de_DE.UTF-8

localectl status
System Locale: LANG=en_US.UTF-8
    VC Keymap: us-acentos
   X11 Layout: us,de
    X11 Model: pc105
  X11 Variant: ,nodeadkeys

does sddm use the default keymap stored in /etc/vconsole.conf ?
I don’t use kde/sddm so I don’t really know. There should also be an option to copy your current KDE session settings (mostly relevant for display configuration) to sddm.

edit:

you need to change the system locale settings man locale.conf
man localectl, man 5 locale , man 7 locale
see also the comment in /etc/X11/xorg.conf.d/00-keyboard.conf

Thanks, the login screen and keyboard are now working. :slight_smile:

sudo localectl set-locale LANG=de_DE.UTF-8
sudo localectl set-x11-keymap de pc105 nodeadkeys
sudo localectl set-keymap de
$ localectl status
System Locale: LANG=de_DE.UTF-8
    VC Keymap: de
   X11 Layout: de
    X11 Model: pc105
  X11 Options: terminate:ctrl_alt_bksp

But now I’m unsure about:
X11 Options: terminate:ctrl_alt_bksp

I don’t think this X11 zap feature is available in Wayland.