I just installed Ubuntu 13.10, and really enjoy it. I am from Denmark, and use the supported Danish keyboard-layout (and chose it as default in the install), but whenever I reboot Ubuntu switches back to English keyboard-layout, though the little icon in the panel says it's in Danish. I have to click on the icon every time to change it back to Danish. I tried removing the English keyboard-layout, but it didn't help. Any suggestions?
I'm Italian and I had the same problem as you before yesterday evening. I came also in this thread but I didn't find a solution.
Default layout keyboard was selected as Italian but at every boot "switched back to English keyboard-layout, though the little icon in the panel says it was in Italian. I have to click on the icon every time to change it back to Italian. I tried removing the English keyboard-layout, but it didn't help". It was frustrasting.
I solved my problem changing Text settings from these:
to these, that work fine for me:
Now my default keyboard layout is italian and works as italian by default, not as english. Now I don't have to click on the icon every time to change it back to Italian. I hope this can help you.
(Updated 2014-05-28, thanks to Bernard Decock's comment.)
In the ubuntu software center, install "dconf Editor" (
dconf-editor) (if you don't already have it). Open it, then open desktop -> ibus -> general. Now enable the property "use-system-keyboard-layout". (You want it to have a checkmark next to it.)
I had the same problem, with Ubuntu 13.10 and after using it few weeks, my keyboard layout suddenly started to change from spanish to english every time I login.
As a workaround I created the following script and then added it to startup applications:
I tried adding the command setxkbmap es directly to startup applications, but it didn't work, for that reason I made the script.
This also affected me and I own a pt-br keyboard. I actually don't know how to solve the problem, but a possible workaround (it worked for me) is to use setxkbmap until they fix it:
I hope it helps.