Bugzilla – Bug 1227522
xterm under plasma/wayland uses wrong keyboard layout
Last modified: 2024-07-10 10:28:41 UTC
After doing an online update Leap 15.5 -> 15.6 on a system using the Plasma/wayland desktop native X11 applications (xterm, hexchat, ...) keep using the wrong keyboard layout. Directly after the update all applications were using qwerty layout. After changing the layout via System-Settings->Input-Devices to German and logging out and in again, Frefox, Konsole etc. were using the qwertz layout, while xterm and hexchat still insisted on using qwerty layout. I have checked the settings in Yast, which are okay (Hardware->System-Keyboard-Layout is German, checkbox System->Language->Adapt-Layout-to-English is not selected). Even a reboot did not help.
I suspect something calls "setxkbmap" in a wayland session, which just messes up Xwayland. What's the output of setxkbmap -query?
# setxkbmap -query rules: evdev model: pc105 layout: us
Please have a look at the following topic: https://forums.opensuse.org/t/wrong-keyboard-layout-on-most-applications-after-fresh-install/175773 It is not exactly the same, but I see some similarities. Since Leap 15.6 we are running in very similar keymap issues on multiple test installations. In our situation it is a Gnome-Wayland session. GTK applications (like Firefox you mentioned) has the right keymap but not QT applications (e.g. Calligra Word or VLC). It is possible to omit that issue while starting Gnome on Xorg. Maybe this works also with Plasma? In my opinion it seems there is something wrong with QT/Wayland in combination.
Seems like a duplicate of bug 1219505 for which the correction has not arrived in Leap 15.6 yet.
(In reply to Dirk Weber from comment #4) > Seems like a duplicate of bug 1219505 for which the correction has not > arrived in Leap 15.6 yet. Indeed. *** This bug has been marked as a duplicate of bug 1219505 ***