You are not logged in.
Hi,
Since upgrading to Plasma6 my displaymanager decided to start KDE Plasma in Wayland.
I remember I had severe problems with keyboard the last time I tried Plasma under Wayland. Most of the problems seem to be solved (QT bug, actually) at least with numpad shortcuts - however, my keyboard layout setting is not respected but in some applications only. I want to use Finnish layout in all applications. I remember I've had this problem before, along with other KB weirdnesses... (see: https://bbs.archlinux.org/viewtopic.php?id=267239 - but it's been a long time since and some problems have resolved in the meantime)
Now, I believe I've found the common denominator - it's all Electron applications which are broken! For example, Firefox, speedcrunch, Telegram, LibreOffice work correctly, whereas Signal, Discord, CodeOSS revert to some English variant of a keyboard layout.
I've set Finnish as the sole layout in KDE Settings (GUI).
$ echo $XDG_SESSION_TYPE
wayland
$ localectl
System Locale: LANG=fi_FI.UTF-8
VC Keymap: fi
X11 Layout: fi
Any ideas on workarounds? I'm also fairly certain I've seen an upstream bug report...
Last edited by Wild Penguin (2024-03-06 20:03:34)
Offline
Hi!
I'm facing the exact same issue. Electron apps like Discord and Obsidian don't respect my keyboard layout when using Sway.
Have you figured anything new?
Offline
Next to the localectl config, what does the X11 (xwayland) server report?
setxkbmap -print -query
Is chromium affected resp. can you control the behavior by selecting the backend or gtk version?
https://wiki.archlinux.org/title/Chromi … nd_support ?
Offline
This sounds exactly like the issue I'm having: https://forum.winehq.org/viewtopic.php?t=38937
Next to the localectl config, what does the X11 (xwayland) server report?
setxkbmap -print -query
Here:
❯ setxkbmap -print -query
xkb_keymap {
xkb_keycodes { include "evdev+aliases(qwerty)" };
xkb_types { include "complete" };
xkb_compat { include "complete" };
xkb_symbols { include "pc+fi+inet(evdev)+kpdl(dot)+nbsp(none)" };
xkb_geometry { include "pc(pc105)" };
};
rules: evdev
model: pc105
layout: fi
options: nbsp:none,kpdl:dot
I don't use chromium, but I can try that later.
And I'm using X.org atm (there were still some workflow-breaking regressions in Plasma on Wayland last time I tried regarding the kb/input layer, so still lingering on X.Org).
Last edited by Wild Penguin (2024-11-11 21:20:35)
Offline
I'm using X.org atm
Hold on, you're getting the same on X11?
Signal, Discord, CodeOSS revert to some English variant of a keyboard layout.
Since Finnish looks like mostly qwerty, what are examples of misbehavior?
3rd level shift (altgr) stuff?
Do ö and ä work as expected?
Offline
Oh no!
I was thinking I was replying to another thread (the one about wine messing up Pulseaudio), so the post was not meant to be posted here.
To clarify, no, I'm not getting the same issue under X11 (X.Org).
It's been over 6 months since I tried Wayland, but the issue was that the keyboard just worked as US keyboard layout (AFAICT). So ÖÄÅ are missing, some punctuation (shift+number keys) etc are not producing what they should.
But it has indeed been a while, and I don't know the US keyboard layout by heart.
Offline
It might surprise you, but that happens to me more often
So for more clarification, is the setxkbmap output in #4 from a wayland or an X11 session?
Obviously if the problem only exists on xwayland, only an output from a wayland session will really matter.
Offline