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 .