on bootup wrong keyboard layout is recognized

Bug #1238346 reported by Susan Cragin on 2013-10-11
This bug affects 50 people
Affects Status Importance Assigned to Milestone
One Hundred Papercuts
gnome-settings-daemon (Ubuntu)
unity (Ubuntu)

Bug Description

This is a regression.
I have two keyboard layouts activated, the Dvorak and the English US. The Dvorak should be the default keyboard. That is the way I have it set up, and it shows up in the task bar on top as En1, which is the Dvorak.
However, when I start to type, it starts in QUERTY.
To correct this, I go to the task bar (where it shows EN1, or Dvorak), re-select the Dvorak, and then everything is fine.

I have another minor problem which should probably go on another bug, but happened at the same time.
CTL-ALT-T doesn't bring up the terminal any more. No matter what keyboard I'm using.

ProblemType: Bug
DistroRelease: Ubuntu 13.10
Package: unity 7.1.1+13.10.20131004-0ubuntu1
ProcVersionSignature: Ubuntu 3.11.0-12.19-generic 3.11.3
Uname: Linux 3.11.0-12-generic x86_64
ApportVersion: 2.12.5-0ubuntu1
Architecture: amd64
CompizPlugins: No value set for `/apps/compiz-1/general/screen0/options/active_plugins'
Date: Thu Oct 10 21:20:39 2013
InstallationDate: Installed on 2013-08-12 (60 days ago)
InstallationMedia: Ubuntu 13.10 "Saucy Salamander" - Alpha amd64 (20130811)
MarkForUpload: True
SourcePackage: unity
UpgradeStatus: No upgrade log present (probably fresh install)

Susan Cragin (susancragin) wrote :
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in unity (Ubuntu):
status: New → Confirmed
Changed in gnome-settings-daemon (Ubuntu):
status: New → Confirmed
tdelunel (tdelunel) wrote :

After upgrading 13.04 to 13.10 this problem affects me too.
I use French keyboard layouts, but Unity always in English keyboards layouts, even if i have removed it in system config.

French keyboard is selected but i have to select it again and it works.

Brice Terzaghi (terzag) wrote :

I have the same problem since upgrade to 13.10, except that in my case it happens randomly (so far, about once every two boots). Note thate the problem isn't present on the login screen, only after starting Unity. Haven't tried other DEs.

I have only one keyboard setup set, which is french (AZERTY) and when the system starts in QWERTY, I have to manually select the french keyboard that is already selected (and which is the only one listed) in the new indicator that ships with 13.10.

Daniel BRUN-PICARD (dbp) wrote :

I have the problem only with Unity sessions, not with Gnome sessions. The problem appears at the first login : it disapear if I close and re-open my session without changing the keyboard selection.

Eric Binet (ebinet) wrote :

Same problem for me... even with logout +login again

Same pb, french keyboard and happens randomly.

Just to give some precision:

when I display the "Présentation de l'agencement" (keyboard layout or layout presentation or whatever) who displays a keyboard, its a french keyboard which is displayed and when I hit the left corner alphabetical key on the keyboard it shows that the left corner key is hit and that it is an "a" but in all programs it's a "q" which appears.

And when I deselect and reselect "French keyboard" on the new keyboard icon (and french is the only one that appears as a choice in this icon), then the keyboard is correct.

Kachanovich Siargey (vozhyk) wrote :

Same problem.

It is likely to go back to qwerty when the layout is changed via keyboard layout change shortcut. When you change it with Super+Space it is often stuck on one keyboard layout and sometimes it corresponds with the selected layout, sometimes not.

Leonardo Donelli (learts92) wrote :

Same problem with Italian and English (USA) layout.
After booting up Italian layout is showed in the panel and selected, but the real keyboard layout is actually English (USA).
Selecting the Italian layout in the indicator (even though it's already selected) correctly sets the layout.

It seems to work fine again. It's now a couple of day that I didn't had the pb.

JP Verheecke (jpverheecke) wrote :

Today always the same bug, the keyboard is in qwerty instead of azerty

Sorry, you're right, the bug is still there. False hope.

Salem (salemsaberhagen) wrote :

Any news about this? This bug is incredibly annoying.

Jean-Marc (m-balthazar) wrote :


Same issue here, randomly, with an azerty layout keyboard (French, deprecated variant), but only once a week approximately.

Salem (salemsaberhagen) wrote :

I have managed to somehow fix this by installing a different greeter: `lightdm-gtk-greeter`. You get a "not so fancy" greeter (see [1]), but It gives you the right keyboard config.
So the problem should be on the default greeter used...

[1] http://www.smdavis.us/wp-content/uploads/2013/06/ambiance.png

YoBoY (yoboy-leguesh) wrote :

After a second fresh install I still had this bug. But I also noticed a crash report for ibus on my first login. So what I have tried who seems to have fixed this :
 - delete the ~/.config/ibus folder
 - launch from the command line ibus-setup and check the "Use system keyboard layout" on the "advanced" tab.

I don't know which one of these two actions resolved the bug, but so far, my keyboard layout is the right one. If someone else can try and confirm that.

brahim (bmanjal) wrote :


i have the same problem.
On boot, my keybord layout switch randomly to qwerty instead of azerty.

Lorenzo M (lorenzom) wrote :

I've the same problem with Italian layout that switch automatically to English.

I have just try the fix suggested by YoBoy #18 and seems to work!

JP Verheecke (jpverheecke) wrote :


As YoBoy I deleted my ~/.config/ibus directory and it seems to work fine. I didn't need to launch the ibus-config command.

JP Verheecke (jpverheecke) wrote :


I was wront the problem occured again, so I used also ibus-setup, I'll let you know after a few days

I've tried for some days the fix suggested by YoBoY. It seems to work.

JP Verheecke (jpverheecke) wrote :

It works well now after I ran ibus-setup some days ago

Changed in hundredpapercuts:
status: New → Confirmed
importance: Undecided → Low
Changed in gnome-settings-daemon (Ubuntu):
importance: Undecided → Critical
importance: Critical → Low
Changed in unity (Ubuntu):
importance: Undecided → Low

tried it out with 14.04 and resolved the problem perfectly.
Many thanks

Jean-Marc (m-balthazar) wrote :


Same issue with 14.10.

I used ibus-setup:
 - checked "Use system keyboard layout" in "Advanced" tab
 - removed "English" in "Input method" tab

It works.

Thanks YoBoY

Valentin Crone (va-crone) wrote :

I'm affected too on Ubuntu 14.04, in fact the keyboard is correctly configured on "Azerty" (fr) on lightdm, but it switch to "Qwerty" (en) when the desktop (Unity) starts. I have only the "Fr" as possible input mapping in the config panel. I must select the "Fr" icon in the top bar and click on "French" again to have the correct mapping for the keyboard.

Will Cooke (willcooke) on 2015-08-17
tags: added: rls-w-incoming
Seth Johnson (sethj) wrote :

Thank you for taking the time to report this bug. We have tried to recreate this on the latest release of Ubuntu and cannot reproduce it. This bug is being marked as Invalid. If you believe the problem to still exist in the latest version of Ubuntu please comment on why that is the case and change the bug status to NEW.

Changed in unity (Ubuntu):
status: Confirmed → Invalid
Changed in unity:
status: New → Invalid
tags: added: rls-x-incoming
removed: rls-w-incoming
Will Cooke (willcooke) on 2016-02-15
tags: removed: rls-x-incoming
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers