Hi, I’m currently on Testing Branch, KDE Plasma everything should be up to date. I want to set up 2 keyboard layouts (EN and CZ) I can switch between under System Settings → Keyboard. When I do that, it works as expected (the 2nd layout is added, I can switch to it and use it) but the change doesn’t stay after restart, where it reverts to only having the EN layout available.
I found that when I click “configure” on the system tray keyboard icon, it brings up a KDialog saying that a fcitx module is missing, which I think might be connected. When I try to install fcitx-configtool (as the dialog instructs me), it wants to install fcitx4, which is in conflict with the currently installed fcitx5, so this probably isn’t the right solution.
Update: So I managed to install the fcitx5-configtool (that was the correct name of the package) and I managed to set CZ as the primary layout. However, now CZ stays in System Settings → Keyboard and EN gets removed on restart. This is confusing…
Making the config file immutable by “sudo chattr +i kxkbrc” helped, the layouts now stay as they should even after restart. But it obviously isn’t a permanent solution.
You can also set a key combination for this. I use SHIFT + CAPS-LOCK to switch between UK and Greek layouts; I sometimes need to use e.g. Ω (for electronics) which I can’t find using the Compose key.
System Settings → Keyboard → Key Bindings tab → Switching to another layout. There are a lot of options there; my particular choice is near the bottom.