A solution that seems to be working:
Create a file called .xsessionrc in your home directory. In it you can use the command setxkbmap to set the layout you need.
My line for Norwegian is: (no=Norway)
Code: Select all
setxkbmap no -option grp:ctrl_shift_toggle