Gnome-control-center does not write a change in default keyboard to /var/cache/gdm/$USER/dmrc

Bug #530999 reported by Andreas Schildbach
96
This bug affects 19 people
Affects Status Importance Assigned to Milestone
gdm
Expired
Medium
gnome-control-center
Expired
Medium
gnome-control-center (Ubuntu)
Invalid
Low
Unassigned

Bug Description

Binary package hint: gnome-control-center

Steps to reproduce:
1. select some default keyboard layout during setup
2. Set new default keyboard layout
3. log out or restart, the layout set during install will still be the default selection of gdm

The new default keyboard layout still gets used, but it causes the layout to show up, even if you removed it in gnome-control-center

ProblemType: Bug
Architecture: i386
Date: Tue Mar 2 22:51:30 2010
DistroRelease: Ubuntu 10.04
Package: gnome-applets 2.29.5-0ubuntu1
ProcEnviron:
 LANG=C
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.32-15.22-generic
SourcePackage: gnome-applets
Uname: Linux 2.6.32-15-generic i686

Revision history for this message
Andreas Schildbach (schildbach) wrote :
Revision history for this message
SashaQR (sasha.qr-deactivatedaccount) wrote :

For mi it is with braille keyboard!

Changed in gnome-control-center (Ubuntu):
status: New → Confirmed
Revision history for this message
Matthew Paul Thomas (mpt) wrote :

This looks like the same as bug 518950.

To make this report most useful for a developer to work on, it would help to work out exact steps to reproduce the problem, e.g. in a guest session.

Revision history for this message
Hugo Luiz Cruz (hugoluizcruz) wrote :

 I Have the same problem with US and Latin American. I try call keyboard preference in sudo mode but get the same result.

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

Thank you for taking the time to report this bug and helping to make Ubuntu better. Please answer these questions:

 * Is this reproducible?
 * If so, what specific steps should we take to recreate this bug?
 * Is that still an issue in current lucid?

 This will help us to find and resolve the problem.

Changed in gnome-control-center (Ubuntu):
importance: Undecided → Low
status: Confirmed → Incomplete
Revision history for this message
Andreas Schildbach (schildbach) wrote :

Sebastian, your questions are answered in my initial bug description.

1. yes
2. remove usa layout, reboot, it will reappear
3. yes

Changed in gnome-control-center (Ubuntu):
status: Incomplete → Confirmed
Revision history for this message
Sebastien Bacher (seb128) wrote :

ok, this bug just lacks details to be of any use, let's start again

- what keyboard layout did you select at installation
- do you use autologin or log in using the gdm screen?
- if you use gdm what keyboard layout do you select there?
- could you run "gconftool-2 -R /desktop/gnome/peripherals/keyboard/kbd" before doing your change, after doing it and after the reboot?
- when did the issue start exactly?

Revision history for this message
Andreas Schildbach (schildbach) wrote :

Before answering the questions in #7, I want to say that the issue happens with several different keyboard layouts:

- Germany <> USA (the original issue)
- Germany <> Germany Eliminate dead keys (after a Jaunty->Lucid final dist-upgrade)
- US <> Latin American (comment #4)

I always select "Germany" layout and delete all other layouts so that the keyboard applet disappears.

I'm always logging in via gdm, never used any auto login.

I do not select any specific keyboard layout at gdm, due to bug #447112 this is even difficult.

Will run gconftool shortly and post the results.

The issue started somewhere in the Lucid dev cycle, before March.

summary: - USA keyboard layout keeps on re-appearing
+ additional keyboard layouts keep on re-appearing
description: updated
Revision history for this message
Andreas Schildbach (schildbach) wrote : Re: additional keyboard layouts keep on re-appearing

Ok, before doing the change. I have two layouts in the applet (Deu, USA). Deu is selected.

$ gconftool-2 -R /desktop/gnome/peripherals/keyboard/kbd
 layouts = [de,us]
 options = [grp grp:alts_toggle]
 model = latitude

Revision history for this message
Andreas Schildbach (schildbach) wrote :

Now I have manually removed USA. German layout is active. The applet has vanished.

$ gconftool-2 -R /desktop/gnome/peripherals/keyboard/kbd
 layouts = [de]
 options = [grp grp:alts_toggle]
 model = latitude

Revision history for this message
Andreas Schildbach (schildbach) wrote :

Now having rebooted, everything returns to the state in #9:

$ gconftool-2 -R /desktop/gnome/peripherals/keyboard/kbd
 layouts = [de,us]
 options = [grp grp:alts_toggle]
 model = latitude

bbordwell (benbordwell)
description: updated
bbordwell (benbordwell)
description: updated
Revision history for this message
bbordwell (benbordwell) wrote :

This is actualy a GDM bug, GDM does not pick up on your change in the default keyboard layout. To prove this (and workaround the issue) Remove the keyboard layout that you chose during the install, at the login screen the keyboard layout you chose will be selected, change this to the new default, the layout you chose during installation will not come back. You can also reverse the process, log out, change the keyboard layout in gdm, and the layout you chose in gdm will show up in your layouts.

affects: gnome-control-center (Ubuntu) → gdm (Ubuntu)
summary: - additional keyboard layouts keep on re-appearing
+ GDM does not detect a change to the default keyboard layout automaticly
description: updated
Changed in gdm:
status: Unknown → New
Revision history for this message
bbordwell (benbordwell) wrote : Re: GDM does not detect a change to the default keyboard layout automaticly

GDM checks /var/cache/gdm/$USER/dmrc. for the default keyboard layout. Gnome-control-center simply needs to write the change in default keyboard to this location.

affects: gdm (Ubuntu) → gnome-control-center (Ubuntu)
summary: - GDM does not detect a change to the default keyboard layout automaticly
+ Gnome-control-center does not write a change in default keyboard layout
+ to /var/cache/gdm/$USER/dmrc
bbordwell (benbordwell)
summary: - Gnome-control-center does not write a change in default keyboard layout
- to /var/cache/gdm/$USER/dmrc
+ Gnome-control-center does not write a change in default keyboard to
+ /var/cache/gdm/$USER/dmrc
Changed in gnome-control-center:
status: Unknown → New
Changed in gnome-control-center:
status: New → Incomplete
Changed in gnome-control-center (Ubuntu):
status: Confirmed → Triaged
Changed in gnome-control-center:
importance: Unknown → Medium
status: Incomplete → Expired
Changed in gdm:
importance: Unknown → Medium
Revision history for this message
carlosjcabello (carlosjcabello) wrote :

The bug is so annoying...

Revision history for this message
Sasa Stamenkovic (umpirsky) wrote :

There is a simple workaroun:.

1. Log out.
2. Pick your new default keyboard layout from the bottom of the screen.
3. Log in.
4. Remove annoying old keyboard layout.

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

is that still an issue in Oneiric with lightdm?

Changed in gnome-control-center (Ubuntu):
status: Triaged → Incomplete
Changed in gdm:
status: New → Confirmed
Changed in gdm:
status: Confirmed → Expired
Rolf Leggewie (r0lf)
Changed in gnome-control-center (Ubuntu):
status: Incomplete → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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