Since a few days ago, when I login, none of the keyboard layouts I use are there. When checking in System Settings I can see that only English (US) is present. Adding the layouts back makes them stay there only during that session. At the same time I started having this issue, I began getting this message when logging in:
Fcitx should be launched by KWin under KDE Wayland in order to use Wayland input method frontend. This can improve the experience when using Fcitx on Wayland. To configure this, you need to go to “System Settings” → “Virtual keyboard” and select “Fcitx 5” from it. You may also need to disable tools that launches input method, such as imsettings on Fedora, or im-config on Debian/Ubuntu. For more details see https://fcitx-im.org/wiki/Using_Fcitx_5_on_Wayland#KDE_Plasma
This message was addresed in Fcitx Error after Login (KDE/Wayland), however my specific problem wasn’t mentioned there.
As well as getting that message every time I login, a new icon in my tray area has appeared. It’s an icon of a keyboard with the label “Input method”. When right-clicking it it let’s me choose my keyboard input method, however it displays only English (US), regardless of what I add in the System Settings. Clicking configure opens some weird Gnome dialog. The old keyboard layout icon in my tray area is also still there and it let’s me choose any input method I add through the System Settings, just as before.
Can anyone tell me what’s happening and how can I get my input methods to persist across sessions?