Bug 475435 - default system keyboard model is not correctly set on Wayland
Summary: default system keyboard model is not correctly set on Wayland
Status: CONFIRMED
Alias: None
Product: systemsettings
Classification: Applications
Component: kcm_keyboard (show other bugs)
Version: 5.27.8
Platform: Fedora RPMs Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-10-10 15:56 UTC by Hector Martin
Modified: 2024-05-05 08:09 UTC (History)
7 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Hector Martin 2023-10-10 15:56:35 UTC
On a fresh user account, the keyboard layout is set by default to the value configured in `localectl`. However, the keyboard model is not, and ends up at "Generic 101-key PC".

This matters particularly for Apple machines (on Asahi Linux), where we strive to set the default keyboard model systemwide properly since the Apple models have subtle but important changes vs the standard layouts.

STEPS TO REPRODUCE
1. localectl set-x11-keymap jp applealu_jis
2. Create a fresh user account and log in
3. Go into kcm_keyboard

OBSERVED RESULT

Keyboard model is listed as "Generic 101-key PC" and behaves as such.

EXPECTED RESULT

Keyboard model should be "Apple Aluminum (JIS)".

SOFTWARE/OS VERSIONS

Operating System: Fedora Linux Asahi Remix 39
KDE Plasma Version: 5.27.8
KDE Frameworks Version: 5.110.0
Qt Version: 5.15.10
Kernel Version: 6.5.6-400.asahi.fc39.aarch64+16k (64-bit)
Graphics Platform: Wayland
Processors: 8 × Apple Firestorm (M1 Pro), 2 × Apple Icestorm (M1 Pro)
Memory: 30.6 GiB of RAM
Graphics Processor: Apple M1 Pro
Product Name: Apple MacBook Pro (14-inch, M1 Pro, 2021)
U-Boot Version: 2023.07