removing a keyboard layout is not persistent across reboots

Bug #591895 reported by Fabrizio Bersani
184
This bug affects 49 people
Affects Status Importance Assigned to Milestone
GNOME Settings Daemon
Invalid
Undecided
Unassigned
Linux Mint
Invalid
Undecided
Unassigned
gdm
Invalid
Undecided
Unassigned
gnome-control-center
Invalid
Undecided
Unassigned
gdm (Ubuntu)
Invalid
Undecided
Unassigned
gnome-control-center (Ubuntu)
Invalid
Low
Unassigned
gnome-settings-daemon (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Binary package hint: gnome-control-center

At install time I wrongly selected the "German Lower Sorbian (QWRTZ)" layout. Later using gnome-keyboard-properties from GUI, I add the correct keyboard layout "Germany" and remove the "German Lower Sorbian (QWRTZ)". After a reboot the "German Lower Sorbian (QWRTZ)" is back there as a default keyboard. Minor issue, but annoying. Thanks and kind regards, Fabrizio

ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: gnome-control-center 1:2.30.1-0ubuntu1
ProcVersionSignature: Ubuntu 2.6.32-22.36-generic 2.6.32.11+drm33.2
Uname: Linux 2.6.32-22-generic i686
Architecture: i386
Date: Wed Jun 9 21:19:26 2010
ExecutablePath: /usr/bin/gnome-keyboard-properties
InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release i386 (20091028.2)
ProcEnviron:
 PATH=(custom, no user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: gnome-control-center

Revision history for this message
Fabrizio Bersani (fabrizio-correnticalde) wrote :
Revision history for this message
Jurjen Stellingwerff (jurjen-stwerff) wrote :

The same happens to me with "USA International (dead keys)" reappearing as the default while I only want "USA International (AltGr dead keys)". It has no effect to push the 'Apply System-Wide...' button.

Revision history for this message
Damien Cassou (cassou) wrote :

I confirm and this is very annoying.

Revision history for this message
renegat (rozbujnik) wrote :

Be careful while installing any layout! Very annoying!

Revision history for this message
ichbinrene (youdamnspam) wrote :

Hey guys, I had a similar issue and stumbled upon this thread (post #8):
http://ubuntuforums.org/showthread.php?t=1414858
hope this helps.

I never minded that tiny bar before =-D.
Cheers!

Revision history for this message
Fabrizio Bersani (fabrizio-correnticalde) wrote :

Hi,

many thanks for your help, the workaround described in the link you kindly submitted solved the issue.

It is actually enough to select System -> Administration -> Login screen -> "Show the screen for choosing who will login" -> reboot -> select the keyboard layout you want to keep and then the keyboard setting is going to stay there. You can then select again the "login as ... automatically" if you wish.

Really many thanks and kind regards,

Fabrizio

Revision history for this message
ichbinrene (youdamnspam) wrote :

You're welcome Frabrizio, i'm always happy to help.

Revision history for this message
Pedro Villavicencio (pedro) wrote :

Thanks for the report, it has been some time without any response or feedback in this bug report and we are wondering if this is still an issue for you with the latest release of Ubuntu the Natty Narwhal, May you please test with that version and comment back if you're still having or not the issue? Please have a look at http://www.ubuntu.com/download to know how to install that version. Thanks in advance and sorry for the late response.

Changed in gnome-control-center (Ubuntu):
importance: Undecided → Low
status: New → Incomplete
Revision history for this message
Fabrizio Bersani (fabrizio-correnticalde) wrote :

Dear Pedro,

I think the bug should be closed.

After the workaround described on Oct 04th 2010 I never experienced the issue anymore and in the meantime I moved to Natty Narwhal (11.04), we can assume the bug is not there anymore.

Thanks to all of you for addressing the topic.

Cheers,

Fabrizio

Revision history for this message
James Haigh (james.r.haigh) wrote :

The keyboard layout selected in GDM is passed to the Gnome session but changing the setting in Gnome does not feed back to GDM. So it's one-way for keyboard layout preferences between Gnome and GDM.

Yes there is a work-around, but that doesn't make it any less annoying for users who have not noticed the incorrect keyboard layout in GDM. Hence marking confirmed. Also there are many duplicates of this bug, I keep finding more.

What should happen:
* GDM should list the layouts used in Gnome for the selected user. The last used layout in Gnome should be selected by default.
* If a different layout is selected or a new one is added, then this is passed to Gnome on successful login as usual.
* Any change to Gnome keyboard layout preferences should be reflected in GDM. (including deleting layouts)

This will provide a method of deleting layouts from GDM so will also fix this bug:
https://bugs.launchpad.net/gdm/+bug/421215

Marking duplicates: #638627 #692893 #779509

Changed in gnome-control-center (Ubuntu):
status: Incomplete → Confirmed
Changed in gdm:
importance: Undecided → Unknown
status: New → Unknown
Changed in gdm (Ubuntu):
status: New → Confirmed
Changed in gnome-settings-daemon (Ubuntu):
status: New → Confirmed
Revision history for this message
James Haigh (james.r.haigh) wrote :

Ok, I've gone through the duplicates and added some information to this bug report.

HTH.
James.

Changed in gdm:
importance: Unknown → High
status: Unknown → New
Revision history for this message
James Haigh (james.r.haigh) wrote :

Pedro, just to confirm, this bug still affects Natty. I first came across this bug when I started work at the beginning of July. I had the issue on my work machine which was set up by a colleague who uses an International layout.

Revision history for this message
James Haigh (james.r.haigh) wrote :

Just found and marked yet another duplicate.

#688936

Revision history for this message
Nebojsa Stricevic (strika) wrote :

I can confirm this bug on Linux Mint Debian Edition.

Revision history for this message
Reinis Ivanovs (dabas) wrote :

I'm using 11.04, and this very annoying bug is still present.

Revision history for this message
Hinko Kocevar (hinkocevar) wrote :

cat /etc/issue
Linux Mint 11 Katya \n \l

uname -a
Linux hinkopc 2.6.38-11-generic-pae #48-Ubuntu SMP Fri Jul 29 20:51:21 UTC 2011 i686 i686 i386 GNU/Linux

I had the same problem using "US keyboard with Slovenian letters" keyboard layout that I had wrongly chosen at install time. Later I realized I wanted just "Slovenian" keyboard layout. I could not delete the original keyboard layout permanently (it would always reappear after reboot, arghhh). Console keyboard layout was wrong. GDM/Xfce keyboard layout was wrong.

Here is how I solved the issue - after reboot undesired keyboard layout did not appear!

Edited /etc/default/keyboard (previously XKBVARIANT="us"):
XKBMODEL="pc105"
XKBLAYOUT="si"
XKBVARIANT=""
XKBOPTIONS=""

Edited /var/lib/gdm/Seat1/.gconf/apps/gdm/simple-greeter/%gconf.xml (previously <stringvalue>si us</stringvalue>):
<?xml version="1.0"?>
<gconf>
 <entry name="recent-layouts" mtime="1317367260" type="list" ltype="string">
  <li type="string">
   <stringvalue>si</stringvalue>
  </li>
 </entry>
 <entry name="recent-languages" mtime="1317367260" type="list" ltype="string">
  <li type="string">
   <stringvalue>en_US.utf8</stringvalue>
  </li>
 </entry>
</gconf>

Reboot!

Revision history for this message
Sebastien Bacher (seb128) wrote :

is that still an issue in Oneiric?

Revision history for this message
timur (ba.timur) wrote :

Last time I tried with Oneiric beta 1, it was still there.
The problem is that if I scroll with keyboard through keyboard layouts during the installation, Ubuntu just freezes, and I have to restart the installation. It happened to me few times. I think the "workaround" is to slide with mouse directly to the keyboard needed, so that's the first and only one selected.
Because of this, I decided to use default keyboard layout and to add Bosnian later. But, I then had this issue. It happened few times, and I consider this a bug. I couldn't use what was recommended here on 10" screen netbook.

Revision history for this message
Dominique Meeùs (dominiquem) wrote :

New install of 12.04
Using Gnome Classic (no effects)

In gconf-editor
"/desktop/gnome/peripherals/keyboard/kbd/layouts" = "be oss"
but the keyboard behaves like an ordinary "be"

Revision history for this message
dino99 (9d9) wrote :

This version has expired

Changed in gnome-settings-daemon (Ubuntu):
status: Confirmed → Invalid
Changed in gnome-control-center (Ubuntu):
status: Confirmed → Invalid
Changed in gdm (Ubuntu):
status: Confirmed → Invalid
Changed in linuxmint:
status: New → Invalid
Changed in gnome-control-center:
status: New → Invalid
Changed in gnome-settings-daemon:
status: New → Invalid
Changed in gdm:
importance: High → Undecided
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.