← Back to team overview

desktop-packages team mailing list archive

[Bug 1246272] Re: Keyboard layout changing randomly


I have bumped into this bug too. In the middle of a session (I do not remember doing anything special in that session, either installing new software or changing system settings or anything of that kind), the keyboard switched from Spanish to English and stayed like that even after rebooting the system.
The bug affected only GNOME, if I started session with Cinnamon or XFCE, the keyboard behaves as Spanish, but when I logged with GNOME again (either with Metacity or Compiz), the bug showed itself up!
With this information, I opened dconf-editor and start looking at keys related with GNOME and I found this one:
org -> gnome -> desktop -> input-sources
Here, I can see under "sources" the keyboard layouts present in the system (in my case, Spanish and English in this order) and the key "current" that had the value "1". Looking at the help in this screen "0" is the first layout, "1" the second, .... Hence, I changed "current" from "1" to "0" (which should be the predetermined value), closed the window, closed and reopened the session, and voila!, my keyboard was Spanish again.
What I cannot tell is which application or which action from my part has misconfigured the dconf settings, so perhaps the information I am giving here is not going to help too much in locating the bug but at least, I hope the solution I have found works also for others.
By the way, who has labelled this bug as "low importance"? For sure, it must be someone that only uses English keyboards. I do not think that anyone using a non-English keyboard can flag the importance of this bug as "low", it makes the use of the keyboard quite annoying!

You received this bug notification because you are a member of Desktop
Packages, which is subscribed to gnome-settings-daemon in Ubuntu.

  Keyboard layout changing randomly

Status in gnome-settings-daemon package in Ubuntu:
Status in unity-settings-daemon package in Ubuntu:

Bug description:
  Just upgraded from 12.04 (raring) to 12.10 (saucy) and keyboard layout keeps changing from pt_br to what I think is en_us.
  It seems random so I don't know what trigger this, but sometimes just alt-tabbing is enough to mess with keyboard layout in one of the windows.
  I already removed the en_us from my keyboard sources, double checked the use of one source for all windows, and even removed accelerators to switch between layouts but none have worked.

  ProblemType: Bug
  DistroRelease: Ubuntu 13.10
  Package: gnome-control-center 1:3.6.3-0ubuntu44
  ProcVersionSignature: Ubuntu 3.11.0-12.19-generic 3.11.3
  Uname: Linux 3.11.0-12-generic x86_64
  ApportVersion: 2.12.5-0ubuntu2
  Architecture: amd64
  Date: Wed Oct 30 09:12:48 2013
  ExecutablePath: /usr/bin/gnome-control-center
  InstallationDate: Installed on 2013-05-20 (163 days ago)
  InstallationMedia: Ubuntu 13.04 "Raring Ringtail" - Release amd64 (20130424)
  MarkForUpload: True
  SourcePackage: gnome-control-center
  UpgradeStatus: Upgraded to saucy on 2013-10-22 (8 days ago)
   activity-log-manager          0.9.7-0ubuntu4
   deja-dup                      27.3.1-0ubuntu1
   gnome-control-center-datetime 13.10.0+13.10.20131016.2-0ubuntu1
   gnome-control-center-signon   0.1.7~+13.10.20130724.1-0ubuntu1
   gnome-control-center-unity    1.3+13.10.20131004-0ubuntu1

To manage notifications about this bug go to: