Change keyboard layout of US and TH [21.10]

I have used the instruction from this question by :

office001@office001:~$ gsettings get org.gnome.desktop.input-sources sources
[('xkb', 'us'), ('xkb', 'th')]
office001@office001:~$ gsettings set org.gnome.desktop.input-sources sources "[('xkb', 'th'), ('xkb', 'us')]"
office001@office001:~$ sleep 3
office001@office001:~$ gsettings set org.gnome.desktop.input-sources sources "[('xkb', 'us'), ('xkb', 'th')]"
office001@office001:~$

It worked great, but it didn’t save this configuration. After I turned off the computer and turned on, Super + Space just toggled between English (US) and Thai (TH) keyboard layouts correctly but I’m still typing in English when the indicator is Thai (TH).

Help me please :cry:.

It’s the same workaround. Put that into a file, and run that file when you need to after login.

You could also create an autostart command so that it runs after login automatically (budgie desktop settings - autostart)