How to setup default keyboard layout on startup?

I have selected keyboard layouts:


How can I setup en as startup keyboard layout for now it is th.
Screenshot from 2020-12-08 12-27-45

1 Like
mkdir -p ~/.config/autostart
tee ~/.config/autostart/kb-layout.desktop << "EOF" > /dev/null
[Desktop Entry]
Name=kb-layout
Exec=gsettings set org.gnome.desktop.input-sources mru-sources "[('xkb', 'us'), ('xkb', 'th+tis')]"
Type=Application
EOF
1 Like

At startup you mean before or after login?

1 Like

While logged in follow his instructions, then the next time you log in it will take effect.

1 Like