https://bugs.kde.org/show_bug.cgi?id=520959
Bug ID: 520959
Summary: Wayland unable to manage keyboard layout per device
Classification: Plasma
Product: kwin
Version First unspecified
Reported In:
Platform: Arch Linux
OS: Linux
Status: REPORTED
Severity: major
Priority: NOR
Component: wayland-generic
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: ---
In early 2027, KDE will drop X11 support in 6.8 release.
Currently, there is a breaking missing feature for people using multiple
keyboards with a different layout **per device**.
In my case :
- Typematrix and Moonlander external USB keyboards, or physical embeded
keyboard for laptop, for personal every day usage, using bepo layout
- More classical USB keyboard, for guest session or corner cases where bepo not
really supported (virtual machine, botched bootload…), using classic fr layout
- Yubikey supporting only qwerty (or azerty)
On X11, such config is possible, with /etc/X11/xorg.conf.d/00-keyboard.conf
```
Section "InputClass"
Identifier "default"
MatchIsKeyboard "yes"
Option "XkbModel" "pc105"
Option "XkbLayout" "fr"
Option "XkbVariant" "bepo"
Option "XkbOptions" "kpdl:kposs,grp:sclk_toggle,compose:lwin"
EndSection
Section "InputClass"
Identifier "typematrix"
MatchIsKeyboard "yes"
MatchVendor "TypeMatrix.com"
Option "XkbModel" "tm2030USB-102"
Option "XkbLayout" "fr"
Option "XkbVariant" "bepo"
Option "XkbOptions" "kpdl:kposs,grp:sclk_toggle,compose:lwin"
EndSection
Section "InputClass"
Identifier "moonlander"
MatchIsKeyboard "yes"
MatchVendor "ZSA"
Option "XkbModel" "pc105"
Option "XkbLayout" "fr"
Option "XkbVariant" "bepo"
Option "XkbOptions" "kpdl:kposs,grp:sclk_toggle,compose:lwin"
EndSection
Section "InputClass"
Identifier "yubikey"
MatchIsKeyboard "yes"
MatchVendor "Yubico"
Option "XkbModel" "pc105"
Option "XkbLayout" "us"
Option "XkbVariant" "basic"
EndSection
```
Plug-in a device assign automatically the right keyboard layout on the device
only.
You can plug a yubikey and it works, issuing qwerty input for the OTP.
Or a classical keyboard for a guest to be able to write in azerty.
Without breaking the native bepo layout for main keyboard, nor requiring
console settings before and after non-bepo keyboard usage.
On the contrary, Wayland doesn't support such configuration, and support only a
single keyboard layout, shared for every devices.
This current missing feature is the last one blocking a Wayland migration. I
currently must stay in X11 to avoid tedious tasks just for inputing a Yubikey
OTP (settings layout to us, taping the yubikey, settings back the layout…
With X11 support drop, KWin will totally break such configuration.
Is there any plan to port such X11 feature to Kwin/wayland ?
--
You are receiving this mail because:
You are watching all bug changes.