Bug 500836 - Setting XKB Keyboard Model does not work on Wayland
Summary: Setting XKB Keyboard Model does not work on Wayland
Status: RESOLVED NOT A BUG
Alias: None
Product: kwin
Classification: Plasma
Component: input (other bugs)
Version First Reported In: 6.3.2
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-02-27 20:35 UTC by Werner Sembach [TUXEDO]
Modified: 2025-02-28 22:33 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Werner Sembach [TUXEDO] 2025-02-27 20:35:33 UTC
SUMMARY
Setting a XKB keyboard model does not work on Wayland. I tried both using the systemsettings (Keyboard->Keyboard->Model) and a systemd-hwdb rule https://github.com/systemd/systemd/pull/36536 .

STEPS TO REPRODUCE
1. Select a model different from the default "Generic | Generic 104-key PC"

OBSERVED RESULT
Nothing happens

EXPECTED RESULT
The different bindings of the selected model are applied.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: TUXEDO OS
KDE Plasma Version: 6.3.2
KDE Frameworks Version: 6.11.0
Qt Version: 6.8.2

ADDITIONAL INFORMATION
On X11 changing the model via systemsettings works, the systemd-hwdb setting however also seems to be ignored there.
Comment 1 Werner Sembach [TUXEDO] 2025-02-28 22:32:45 UTC
I got a hint why it probably isn't working: https://gitlab.freedesktop.org/xkeyboard-config/xkeyboard-config/-/merge_requests/794#note_2803713

I used RedirectKey in the XKB model config, which isn't supported on wayland.