Comment 16 for bug 1246272

Revision history for this message
Bruce (brunces) wrote : Re: Keyboard layout changing randomly in 13.10 (saucy)

The problem also affects my Ubuntu 13.10 64-bit, however I'm using this workaround:

Go to "System Settings > Text Entry". Under "Input sources to use", add your keyboard layout if it still doesn't exist, then move it to the top of all layouts you already have. Or, if you prefer, you can simply delete all the layouts you don't need and keep only the one you want (that's what I've done here).

Now, open the "Startup Applications", click on Add and do the following:

Name: KeyLaySet (This is made up. Invent your own.)
Command: bash -c "sleep 5 && gsettings set org.gnome.desktop.input-sources current 0"
Comment: Sets keyboard layout to default

About Name: you can use whatever you want.
About Command: after the system starts up, it will wait for 5 seconds and then change the keyboard layout to the default one (that one you moved to the top in the "Input sources to use" box).

Click on "Save" and then "Close". Now, every time you start Ubuntu, your keyboard layout will be properly set.

I hope it's helpful. Cheers. :)

brunces