You are not logged in.
Hi
I am using KDE plasma on Wayland with US colemak and Arabic digits layout with Fcitx5. I added them normally from settings > Keyboard > Layouts. They are also available in localectl and ~/.config/kxkbrc; however, every time I logout and back in, or reboot, the system have only one layout: Arabic digits.
By running
localectl statusSystem Locale: LANG=C.UTF-8
VC Keymap: us-acentos
X11 Layout: us,ara
X11 Model: pc105
X11 Variant: colemak,digitsBy running
cat ~/.config/kxkbrc[Layout]
DisplayNames=,
LayoutList=ara,us
LayoutLoopCount=2
Options=grp:alt_shift_toggle,lv3:ralt_switch
ResetOldOptions=true
Use=true
VariantList=digits,colemakHowever, after logout or reboot, the file becomes:
[Layout]
DisplayNames=
LayoutList=ara
LayoutLoopCount=2
Options=grp:alt_shift_toggle,lv3:ralt_switch
ResetOldOptions=true
Use=true
VariantList=digitsBy running
journalctl --since todayI got this
By running
journalctl --user -b --unit=plasma-kwin_waylandI got this
Some information about my system:
Operating System: Arch Linux
KDE Plasma Version: 6.3.0
KDE Frameworks Version: 6.11.0
Qt Version: 6.8.2
Kernel Version: 6.13.2-arch1-1 (64-bit)
Graphics Platform: Wayland
Processors: 16 × AMD Ryzen 7 5825U with Radeon Graphics
Memory: 15.0 GiB of RAM
Graphics Processor: AMD Radeon Graphics
Manufacturer: ASUSTeK COMPUTER INC.
Product Name: Zenbook UM3402YA_UM3402YA
System Version: 1.0
fcitx5 Version: 5.1.12I'll appreciate any help.
Thank you everyone
Last edited by UHasanU (2025-03-08 20:09:20)
Offline
Online
I tried the command and ~/.config/kxkbrc does not change anymore after rebooting or logging out. KDE recognize two layouts and allow switching between them. However, some programs, such as Brave browser, and VS Code still act as if there's only one layout - the Arabic digits layout.
What else can I do?
Offline
Are those xwayland clients?
https://wiki.archlinux.org/title/Waylan … s_visually
setxkbmap -print -queryOr flatpaks?
Online
Are those xwayland clients?
Yes, apparently using xwininfo these applications run on Xwayland.
setxkbmap -print -queryWARNING: Running setxkbmap against an Xwayland server
xkb_keymap {
xkb_keycodes { include "evdev+aliases(qwerty)" };
xkb_types { include "complete" };
xkb_compat { include "complete" };
xkb_symbols { include "pc+ara(digits)+inet(evdev)+group(alt_shift_toggle)+level3(ralt_switch)" };
xkb_geometry { include "pc(pc105)" };
};
rules: evdev
model: pc105
layout: ara
variant: digits
options: grp:alt_shift_toggle,lv3:ralt_switchOffline
X11 is at the single layout only.
Please post your Xorg log, https://wiki.archlinux.org/title/Xorg#General
You can set the layout w/ setxkbmap after the session started, but ultimately this is a weird KDE bug where it kinda insists on nuking your config - for whatever reason - and forwards that wrong opinion to xwayland => bugs.kde.org
Online
Please post your Xorg log
Here are the logs at ~/.local/share/xorg/Xorg.0.log
Thank you for your time, I'll try to report it to KDE soon
Offline
[ 2675.228] (==) Log file: "/home/UHasanU/.local/share/xorg/Xorg.0.log", Time: Sat Jul 6 11:11:49 2024The journal is vastly outdated, xwayland will likely produce *.8.log but also look at the timestamps.
Online
xwayland will likely produce *.8.log
I couldn't find anything under ~/.local/share/xorg, there are only two files one called Xorg.0.log and one called Xorg.0.log.old and they share the same date, but different content.
However, I found /var/log/Xorg.0.log dating 2025 Feb 27, with three other files under /var/log, but all of them are much older.
Last edited by UHasanU (2025-03-03 11:15:32)
Offline
log is very recent:
[ 7.556] (==) Log file: "/var/log/Xorg.0.log", Time: Mon Mar 3 12:57:08 2025and only has
[ 8.019] (**) Option "xkb_layout" "us,ara"It's probably either from an X11 session or your DM (SDDM?) is running on X11.
Does KDE show the same behavior on an X11 session?
Online
I didn't launch an X11 session for a while now, but yes I use SDDM.
I tried using KDE on X11 and it has the same issue, but the difference is that all applications recognize only one layout, even KDE itself doesn't change layout or show the current layout at the taskbar, just like you'd have if you have only one layout, even though in the settings the two layouts are present correctly.
Offline
The settings will read the kxbb config file, the relevant information is (esp. on X11) actually from "setxkbmap".
Do you have the X11 log from that session?
Online
This same thing started happening to me some time ago (a few weeks?). I'm using KDE Plasma on Wayland and SDDM. My preferred keyboard layout is US International, but it keeps resetting to plain US at each login. If I add more layouts in the Plasma System Settings Keyboard panel they show up in ~/.config/kxkbrc, but on the next login the LayoutList in the file is modified: only one layout is retained, and the rest are deleted. The VariantList setting contains "intl" before logging in again, but is empty after logging in.
Offline
Anyone here using fcitx5?
https://bugs.kde.org/show_bug.cgi?id=357194
Online
Anyone here using fcitx5?
I had fcitx5 installed, but not selected in System Settings → Keyboard → Virtual Keyboard. Apparently selecting "None" for a virtual keyboard was not enough to prevent the modification of the .config/kxkbrc file. Removing the fcitx5 package solved the problem.
Offline
Anyone here using fcitx5?
yes, I am using fcitx5 wayland launcher (the name in the setting), I remember there was some weird things on another virtual keyboard.
Offline
I did what @jmyreen did and the problem is solved.
Thank you @seth for your work! You were the first to help when I switched to Linux and still here today. I appreciate your dedication.
Last edited by UHasanU (2025-03-07 19:55:27)
Offline
\o/
Please always remember to mark resolved threads by editing your initial posts subject - so others will know that there's no task left, but maybe a solution to find.
Thanks.
Online