As a programmer, this is a very frustrating issue for me as well. Punctuation, brackets and other such characters are located in very different positions on sv_SE compared to en_US.
My keyboard layout always changes to en_US when GNOME Shell is restarted. Never on the initial startup though. The following command solves the issue temporarily for me:
gsettings set org.gnome.desktop.input-sources current 0
As a programmer, this is a very frustrating issue for me as well. Punctuation, brackets and other such characters are located in very different positions on sv_SE compared to en_US.
My keyboard layout always changes to en_US when GNOME Shell is restarted. Never on the initial startup though. The following command solves the issue temporarily for me:
gsettings set org.gnome. desktop. input-sources current 0