kwriteconfig5
!!! Example "Add swedish to keyboard layout (similiar as setxkbmap se but for wayland
)
```
kwriteconfig5 --file $HOME/.config/kxkbrc --group Layout --key LayoutList "se"
kwriteconfig5 --file $HOME/.config/kxkbrc --group Layout --key VariantList ""
kwriteconfig5 --file $HOME/.config/kxkbrc --group Layout --key Use "true"
```
If your desktop is changing the layout each reboot then please remove all fcitx packages (ubuntu only)
apt-get purge fcitx