I just lost my keyboard layout to a pacman -Syu?

I’m freshly back from a reboot after this pacman -Syu:

Details

:: Synchronizing package databases…
cachyos-znver4 is up to date
cachyos-core-znver4 is up to date
cachyos-extra-znver4 4.3 MiB 1405 KiB/s 00:03 [---------------------------------------] 100%
cachyos 511.3 KiB 926 KiB/s 00:01 [---------------------------------------] 100%
core 126.6 KiB 174 KiB/s 00:01 [---------------------------------------] 100%
extra 8.3 MiB 1585 KiB/s 00:05 [---------------------------------------] 100%
multilib is up to date
:: Starting full system upgrade…
:: Replace proton-cachyos with cachyos/proton-cachyos-native? [Y/n] y
:: Replace proton-cachyos with cachyos/proton-cachyos-slr? [Y/n] y
resolving dependencies…
looking for conflicting packages…

Package (84) Old Version New Version Net Change Download Size

cachyos-extra-znver4/aurorae 6.7.0-1.1 6.7.1-1.1 0.00 MiB 0.16 MiB
cachyos-extra-znver4/bluedevil 1:6.7.0-1.1 1:6.7.1-1.1 0.00 MiB 0.67 MiB
extra/bpf 7.0.12-1 7.1.1-1 0.03 MiB 1.93 MiB
cachyos-extra-znver4/breeze 6.7.0-1.1 6.7.1-1.1 0.00 MiB 40.13 MiB
cachyos-extra-znver4/breeze-cursors 6.7.0-1.1 6.7.1-1.1 0.00 MiB 1.24 MiB
extra/breeze-gtk 6.7.0-1 6.7.1-1 0.00 MiB 0.19 MiB
cachyos-extra-znver4/cabextract 1.11-2.1 1.11-3.1 0.01 MiB 0.05 MiB
cachyos/cachyos-kernel-manager 1.18.1-1 1.19.0-1 0.02 MiB 0.41 MiB
extra/cpupower 7.0.12-1 7.1.1-1 0.00 MiB 0.21 MiB
cachyos-extra-znver4/firefox 152.0.1-1.1 152.0.2-1.1 0.04 MiB 83.77 MiB
cachyos-extra-znver4/haveged 1.9.24-1.1 1.9.25-1.1 0.00 MiB 0.05 MiB
cachyos-extra-znver4/imagemagick 7.1.2.25-1.1 7.1.2.26-1.1 0.01 MiB 9.54 MiB
cachyos-extra-znver4/kactivitymanagerd 6.7.0-1.1 6.7.1-1.1 0.00 MiB 0.21 MiB
cachyos-extra-znver4/kde-cli-tools 6.7.0-1.1 6.7.1-1.1 0.00 MiB 0.90 MiB
cachyos-extra-znver4/kde-gtk-config 6.7.0-1.1 6.7.1-1.1 0.00 MiB 0.09 MiB
cachyos-extra-znver4/kdecoration 6.7.0-1.1 6.7.1-1.1 0.00 MiB 0.10 MiB
cachyos-extra-znver4/kdeplasma-addons 6.7.0-1.1 6.7.1-1.1 0.01 MiB 3.19 MiB
cachyos-extra-znver4/kglobalacceld 6.7.0-1.1 6.7.1-1.1 0.00 MiB 0.14 MiB
cachyos-extra-znver4/kinfocenter 6.7.0-1.1 6.7.1-1.1 0.00 MiB 0.94 MiB
cachyos-extra-znver4/kmenuedit 6.7.0-1.1 6.7.1-1.1 0.00 MiB 1.03 MiB
cachyos-extra-znver4/knighttime 6.7.0-1.1 6.7.1-1.1 0.00 MiB 0.07 MiB
cachyos-extra-znver4/kpipewire 6.7.0-1.1 6.7.1-1.1 0.00 MiB 0.20 MiB
cachyos-extra-znver4/kscreen 6.7.0-1.1 6.7.1-1.1 0.00 MiB 1.87 MiB
cachyos-extra-znver4/kscreenlocker 6.7.0-1.1 6.7.1-1.1 0.00 MiB 0.27 MiB
cachyos-extra-znver4/ksystemstats 6.7.0-1.1 6.7.1-1.1 0.00 MiB 0.30 MiB
cachyos-extra-znver4/kwallet-pam 6.7.0-1.1 6.7.1-1.1 0.00 MiB 0.01 MiB
cachyos-extra-znver4/kwayland 6.7.0-1.1 6.7.1-1.1 0.00 MiB 0.25 MiB
cachyos-extra-znver4/kwin 6.7.0-3.1 6.7.1-1.1 0.08 MiB 10.90 MiB
cachyos-extra-znver4/layer-shell-qt 6.7.0-1.1 6.7.1-1.1 0.00 MiB 0.04 MiB
multilib/lib32-libnsl 2.0.1-2 0.03 MiB 0.01 MiB
multilib/lib32-libtirpc 1.3.7-1 0.18 MiB 0.07 MiB
multilib/lib32-speexdsp 1.2.1-2 0.07 MiB 0.04 MiB
multilib/lib32-systemd 260.2-1 261-1 0.20 MiB 0.93 MiB
cachyos-extra-znver4/libass 0.17.4-2.1 0.17.5-1.1 -0.01 MiB 0.15 MiB
cachyos-extra-znver4/libkscreen 6.7.0-1.1 6.7.1-1.1 0.00 MiB 0.37 MiB
extra/libksysguard 6.7.0-1 6.7.1-1 0.00 MiB 0.69 MiB
cachyos-extra-znver4/libldac 2.0.2.3-3.1 2.0.2.5-1.1 -0.01 MiB 0.04 MiB
cachyos-extra-znver4/libplasma 6.7.0-1.1 6.7.1-1.1 0.00 MiB 2.55 MiB
cachyos-extra-znver4/milou 6.7.0-1.1 6.7.1-1.1 0.00 MiB 0.10 MiB
cachyos/mkinitcpio 41-2 41-5 0.00 MiB 0.07 MiB
extra/ocean-sound-theme 6.7.0-1 6.7.1-1 0.00 MiB 1.93 MiB
cachyos-extra-znver4/opencv 4.13.0-10.1 4.13.0-11.1 0.00 MiB 30.71 MiB
cachyos-extra-znver4/openexr 3.4.13-1.1 3.4.13-2.1 0.00 MiB 1.29 MiB
cachyos-extra-znver4/openjph 0.30.0-1.1 0.30.1-1.1 0.00 MiB 0.27 MiB
cachyos-extra-znver4/perl-dbi 1.648-1.1 1.649-1.1 0.00 MiB 0.93 MiB
cachyos-extra-znver4/plasma-activities 6.7.0-1.1 6.7.1-1.1 0.00 MiB 0.13 MiB
cachyos-extra-znver4/plasma-activities-stats 6.7.0-1.1 6.7.1-1.1 0.00 MiB 0.10 MiB
cachyos-extra-znver4/plasma-browser-integration 6.7.0-1.1 6.7.1-1.1 0.00 MiB 0.19 MiB
cachyos-extra-znver4/plasma-desktop 6.7.0-1.1 6.7.1-1.1 0.01 MiB 18.31 MiB
cachyos-extra-znver4/plasma-firewall 6.7.0-1.1 6.7.1-1.1 0.00 MiB 0.51 MiB
cachyos-extra-znver4/plasma-integration 6.7.0-1.1 6.7.1-1.1 0.00 MiB 0.14 MiB
cachyos-extra-znver4/plasma-nm 6.7.0-1.1 6.7.1-1.1 0.01 MiB 2.08 MiB
cachyos-extra-znver4/plasma-pa 6.7.0-1.1 6.7.1-1.1 0.00 MiB 0.50 MiB
cachyos-extra-znver4/plasma-systemmonitor 6.7.0-1.1 6.7.1-1.1 0.00 MiB 0.54 MiB
cachyos-extra-znver4/plasma-thunderbolt 6.7.0-1.1 6.7.1-1.1 0.00 MiB 0.14 MiB
cachyos-extra-znver4/plasma-workspace 6.7.0-1.1 6.7.1-1.1 0.01 MiB 21.39 MiB
cachyos-extra-znver4/plasma5support 6.7.0-1.1 6.7.1-1.1 0.00 MiB 1.23 MiB
cachyos-extra-znver4/plymouth-kcm 6.7.0-1.1 6.7.1-1.1 0.00 MiB 0.08 MiB
cachyos-extra-znver4/polkit-kde-agent 6.7.0-1.1 6.7.1-1.1 0.00 MiB 0.07 MiB
cachyos-extra-znver4/powerdevil 6.7.0-1.1 6.7.1-1.1 0.00 MiB 1.62 MiB
cachyos-extra-znver4/protobuf 35.0-2.1 35.1-1.1 0.00 MiB 4.37 MiB
cachyos-extra-znver4/protobuf-c 1.5.2-11.1 1.5.2-12.1 0.00 MiB 0.15 MiB
proton-cachyos 1:11.0.20260601-1 -1518.67 MiB
cachyos/proton-cachyos-native 1:11.0.20260602-3 1513.83 MiB 308.10 MiB
cachyos-znver4/python 3.14.5-4 3.14.6-2 0.05 MiB 13.91 MiB
extra/python-grpcio 1.81.0-1 1.81.1-1 0.00 MiB 3.65 MiB
extra/python-grpcio-tools 1.81.0-1 1.81.1-1 0.00 MiB 0.15 MiB
cachyos-extra-znver4/python-numpy 2.4.6-1.1 2.5.0-1.1 1.13 MiB 7.90 MiB
cachyos-extra-znver4/python-protobuf 35.0-2.1 35.1-1.1 0.00 MiB 0.47 MiB
cachyos-extra-znver4/qqc2-breeze-style 6.7.0-1.1 6.7.1-1.1 0.00 MiB 0.45 MiB
cachyos-extra-znver4/sddm-kcm 6.7.0-1.1 6.7.1-1.1 0.00 MiB 0.16 MiB
cachyos-extra-znver4/spectacle 1:6.7.0-1.1 1:6.7.1-1.1 0.00 MiB 2.11 MiB
multilib/steam 1.0.0.85-7 1.0.0.86-1 0.08 MiB 19.43 MiB
multilib/steam-devices 1.0.0.85-7 1.0.0.86-1 0.00 MiB 0.01 MiB
core/systemd 260.2-2 261-1 2.02 MiB 10.37 MiB
core/systemd-libs 260.2-2 261-1 0.22 MiB 1.40 MiB
core/systemd-resolvconf 260.2-2 261-1 0.00 MiB 0.00 MiB
core/systemd-sysvcompat 260.2-2 261-1 0.00 MiB 0.01 MiB
cachyos-extra-znver4/systemsettings 6.7.0-1.1 6.7.1-1.1 0.00 MiB 0.37 MiB
cachyos-extra-znver4/xdg-desktop-portal-kde 6.7.0-1.1 6.7.1-1.1 0.00 MiB 0.68 MiB
extra/xkeyboard-config 2.47-1 2.48-1 0.01 MiB 0.87 MiB
cachyos-extra-znver4/xvidcore 1.3.7-3.1 1.3.7-4.1 0.06 MiB 0.29 MiB
cachyos-extra-znver4/zbar 0.23.93-5.1 0.23.93-6.1 0.02 MiB 0.30 MiB
cachyos/proton-cachyos-slr 1:11.0.20260602-3 1587.18 MiB 335.59 MiB

Total Download Size: 956.76 MiB
Total Installed Size: 4084.31 MiB
Net Upgrade Size: 1586.65 MiB

:: Proceed with installation? [Y/n] Y

only to realiye that mz kezboard had an English lazout all of a sudden. :exclamation_question_mark: :thinking:

Being on KDE Plasma, I went to System Settings → Keyboard and yep, no German keyboard layout here any longer.

I added it again so no harm done, but anyone has any idea as to why that happened?

¯\_(ツ)_/¯

Versuche mal Strg + Shift => Neustart. Sollte damit zurück gesetzt werden.

Nice to know but as I wrote, I already added the right layout again. I’d just like to understand why the layout was gone. Because in
image
of daily driving this OS, that never happened before and I start proposing Cachy to my nerd acquaintances, so I fear the backlash when a simple sysupdate would do such weird things :laughing:

I don’t think that’s due to Cachy. I suspect it’s a KDE issue instead. I experienced this several times with Manjaro KDE in the past. Criticism wasn’t exactly welcomed on the Manjaro forum anyway. So, I haven’t been able to figure out whether it was Manjaro/Arch or actually KDE Plasma back then.

Quite a few times during Plasma updates this stuff happens… the biggest one was upgrading from Plasma 5 to 6… that time many people had to completely refresh their ~/.local and ~/.config folders to avoid bugging it out.

Even then, it’s often a good idea to skip the first couple of Plasma releases… despite a couple of good ones, the default is to release Plasma before it’s really ready, then fix the bugs later.

Hopefully the reset keyboard might be the only real issue you face this time.

I see. Although this was an update 6.7.0-1.1 6.7.1-1.1 , so I would not have expected that. Also, not upgrading “a couple of releases” sounds like a terrible thing on a rolling release, because that would mean holding back 100s of other packages too for weeks or months, right?

Thanks all for your time. :hugs:

Had to reapply the german layout, too.

But it does not apply for the login manager. Some users might run into trouble, here.

happened to me, too, although I think I had never actively defined a German keyboard layout in the system settings (this fixed it, however).

I thought it was because of xkeyboard-config 2.47-1 → 2.48-1 or maybe the systemd update?

I suspect something in the KDE updates. Also borked my GPU Plasmoid again. I start to understand the resentments some people have towards KDE :expressionless:

If you’d been around for Plasma 5, you’d have a much clearer picture… Let’s hope it never gets that bad again.

the only kde-related package updates i had were breeze-gtk, ocean-sound-theme, plasma-login-manager and libksysguard (this killed your plasmoid probably :-)).

but why would plasma-login-manager mess with keyboard-configs?

I used ChatGPT for this, though the output is in German since I needed it for my own use. Feel free to have it translated into your respective languages:

Schnellcheck

localectl status echo $XDG_SESSION_TYPE

Wenn du wieder siehst:

VC Keymap: de X11 Layout: de

aber die Tastatur trotzdem US ist, dann liegt das Problem fast sicher in
der aktuellen Plasma-Wayland-Sitzung.

Reihenfolge der Maßnahmen

1.  KDE-Layouts prüfen

Systemeinstellungen → Tastatur → Layouts

-   Deutsch vorhanden?
-   Englisch versehentlich aktiv?
-   Layout-Umschalter auf DE?

2.  Plasma-Sitzung neu starten

Abmelden und wieder anmelden.

3.  Kompletter Neustart

sudo reboot

Das behebt solche Probleme oft sofort.

Wenn localectl zurückgesetzt wurde

Falls künftig wieder erscheint:

X11 Layout: (unset)

oder

X11 Layout: us

dann:

sudo localectl set-x11-keymap de

Kontrolle:

localectl status

Nützliche Diagnosebefehle

Aktuelles Layout prüfen:

localectl status

Wayland oder X11:

echo $XDG_SESSION_TYPE

Zuletzt installierte Plasma-Pakete ansehen:

grep plasma /var/log/pacman.log | tail -20

Falls das häufiger nach Updates passiert

Dann lohnt sich ein Blick in die Plasma-Konfiguration. In manchen
Plasma-Versionen gab es gelegentlich Probleme mit Eingabegeräten nach
Updates oder beim Wechsel zwischen X11 und Wayland. Dann würde ich beim
nächsten Auftreten direkt die Logs prüfen:

journalctl –user -b | grep -i -E ‘keyboard|xkb|layout|plasma’

und

journalctl -b | grep -i xkb

Die wichtigste Erkenntnis aus diesem Fall ist:

localectl war am Ende korrekt konfiguriert, die laufende Wayland-Sitzung
hatte die Änderung nur noch nicht übernommen. Deshalb war Ab- und
Anmelden bzw. Reboot die richtige Lösung.

this issue just happened to me too. layout got reverted to us-en instead of se-sv

It happend to me too (german). All settings, others say to look at, are with de_DE.UTF-8 in there config. Nothing helped…

What helped: I use KDE 6 Plasma. Inside the KDE-System-Configuration there is a point: keyboard (=Tastatur). Check, if your keyboard (real) layout is correct. There is a point “Belegung” (english ?). Click on activate and add your layout (Deutsch) and delete others not needed. And THAT WORKED (for me).

I’ve been using KDE Plasma for so many years, yet it never occurred to me to explicitly define the mapping, because I always assumed that setting made sense only if you wanted to use more than one language as a layout. Shame on me!

Yupp, just had three failed attempts due to this… annoying