Bug 513341 - Keyboard layout (Japanese) is not persisted after reboot/logout in Plasma Wayland session, constantly resetting to English (US). (Affects KCM/Keyboard)
Summary: Keyboard layout (Japanese) is not persisted after reboot/logout in Plasma Way...
Status: NEEDSINFO WAITINGFORINFO
Alias: None
Product: plasmashell
Classification: Plasma
Component: Keyboard Layout widget (other bugs)
Version First Reported In: 6.5.4
Platform: Other Linux
: NOR normal
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-12-14 05:08 UTC by kinri
Modified: 2025-12-15 02:13 UTC (History)
4 users (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 kinri 2025-12-14 05:08:26 UTC
SUMMARY
Keyboard layout (Japanese) is not persisted after reboot/logout in Plasma Wayland session, constantly resetting to English (US). (Affects KCM/Keyboard)

STEPS TO REPRODUCE
1. Set the system-wide keyboard layout to Japanese (`XKBLAYOUT="jp"`) in `/etc/default/keyboard`.
2. In KDE System Settings > Keyboard > Layouts, ensure "Japanese (OADG 109A)" is selected/active.
3. Log out or reboot the system.
4. Log back into the Plasma (Wayland) session.
5. Check the keyboard layout in KDE System Settings.

OBSERVED RESULT
The system consistently reverts the keyboard layout back to "English (US)".
The user-specific configuration file (`~/.config/kcminputrc`) is found to be empty after the reset, even after manually writing the configuration.
(This indicates the system fails to persist the KCM/Keyboard settings.)

EXPECTED RESULT
The keyboard layout "Japanese (OADG 109A)" should be persisted and active after logging back into the session, respecting both `/etc/default/keyboard` and user settings.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Kubuntu 25.10 (Development/Pre-release)

KDE Plasma Version: 6.4.5
KDE Frameworks Version: 6.17.0
Qt Version: 6.9.2

ADDITIONAL INFORMATION
* Graphics Platform: Wayland
* Graphics Processor 1: NVIDIA GeForce RTX 2060
Comment 1 cwo 2025-12-15 02:13:40 UTC
Do you have fcitx5 installed?

If so, it will take over your keyboard layout configuration and overwrite what you set in kcm_keyboard, unless you configure it not to do that. fcitx5 does that so that input method switching can also switch keyboard layout to something appropriate for that input method.  

If you want fcitx5 to handle this, configure the keyboard layout in the fcitx5 settings. The easiest way of doing so is installing the kcm for fcitx5, which should be available in most distributions..

Similarly, if you want kcm_keyboard to handle it, set the option in fcitx5 to not overwrite the system keyboard configuration in the same way.