I had a problem with the keyboard layout changing from PT (I'm Portuguese) to EN automatically with the last Ubuntu updates in Ubuntu 13.10. After Ubuntu 14.04 came out, I formatted my computer and installed the new version.

After that I haven't had any problems until the recent Ubuntu base update 2 or 3 days ago, when I started having the same problem again. I even removed the English keyboard from the Keyboard configurations, left only the Portuguese one, but still, every time I reboot my PC I get the keyboard configured for EN, despite Ubuntu displaying the contrary?

How can I remove this? I don't want to format the PC again and I'm getting really tired of this problem, since it looks like many Portuguese/Brasilian Ubuntu users are having the same problem.

closed as off-topic by Braiam, Lucio, Eric Carvalho, psusi, Avinash Raj May 18 '14 at 23:24

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "Bug reports and problems specific to development version of Ubuntu should be reported on Launchpad so that developers can see, track and fix these issues." – Braiam, Lucio, Eric Carvalho, psusi, Avinash Raj
If this question can be reworded to fit the rules in the help center, please edit the question.


Found a solution for me.

Keyboard configuration

On terminal:

$ # If dconf-editor is not already installed
$ sudo apt-get install dconf-editor
$ dconf-editor

When the program opens do the following:

  • navigate to desktop.ibus.general enter image description here
  • remove 'xkb:us::eng' from both engines-order and preload-engines enter image description here

Works for me on Brazilian Portuguese, hope that works for you.

  • It worked for some time, but after a while it added the english layout automatically on both engines-order and preload-engines. – Dielson Sales May 23 '14 at 19:10

Looks to be a known Bug in 14.04.

What you can try is reconfiguring the keyboard data via the Terminal.

sudo dpkg-reconfigure xkb-data

Click on the Keyboard Icon on the top and select your keyboard.

I know this is a hit or miss solution and I’ll keep searching for that article that references these steps to see if others have had success.


I Located the article i was thinking of - keyboard layout EN after boot

  • 1
    unfortunately the problem persists... I can't understand why they would release a "stable version" with these bugs, when they had been informed about them in the 13.10 and 13.04 versions. – user277167 May 2 '14 at 22:24
  • This works for me (ubuntu 14.04 french kbd) – laugeo Nov 10 '14 at 8:45
  • Still happening on 17.04! – kriss Jul 4 '17 at 7:57

Not the answer you're looking for? Browse other questions tagged or ask your own question.