after uninstalling xserver-xgl gnome keyboard layout question at login

Bug #154401 reported by Magnus Hjorth
30
Affects Status Importance Assigned to Milestone
xserver-xgl (Ubuntu)
Won't Fix
Medium
Unassigned

Bug Description

I am using Gutsy (just upgraded from Feisty) with Swedish keyboard layout.

After installing xserver-xgl and then uninstalling xserver-xgl again (did not work well with my ancient TNT2 card), a dialog box now pops up each time I login, saying:

"The X system keyboard settings differ from your current GNOME keyboard
settings.

Expected was model "pc101", layout "us" and no options, but the the
following settings were found: model "pc105", layout "se" and no
options.

Which set would you like to use?"

I then click on "Use X Settings" and everything else works perfectly.

If you need more information please let me know.. Best regards /Magnus

Revision history for this message
Magnus Hjorth (magnus-hjorth) wrote :
Revision history for this message
Moshe Basanchig (moshe-basanchig) wrote :

I've had this problem in gutsy in the last month (worked on RC), and now with the final release out
it persists.
still haven't found a solution.

Revision history for this message
elmo (bjoern-bjoern-b) wrote :

Same problem here :-(

Revision history for this message
SpeedyGonsales (stem) wrote :

Well, way I came to the problem is a bit different, but behavior is the same.

I upgraded from feisty to gutsy, and lost my keyboard preferences.
I listened advice from friends on irc to use setxkbmodmap, and now everything works,
but every time I reload X, I have this nagging dialog:

"Which set would you like to use?"

I hate it!!!!

It is not a problem, but annoyance.
Gutsy is great, but such games with keyboard preferences are irritating.

Revision history for this message
Moshe Basanchig (moshe-basanchig) wrote :

perhaps i forgot to mention, but I also upgraded from feisty (to ubuntu development).

Revision history for this message
Magnus Hjorth (magnus-hjorth) wrote :

I discovered a way to get rid of this problem:
Open gconf-editor,
Browse to /desktop/gnome/peripherals/keyboard/xkb.sysbackup/
Unset both the keys in that 'folder' (or whatever you want to call it)

Revision history for this message
Moshe Basanchig (moshe-basanchig) wrote :

tnx, that solved the issue.

Revision history for this message
serrs (serrs) wrote :

Magnus: thanks for the helpful tip.

I also have this exact same problem, but I did NOT do an upgrade from feisty... it was a clean install of gutsy x86_64. And English keyboards "us".

It seems to have been tickled when I logged in remotely, but I can't be sure. This is what I suspect caused mine:
   ssh -X user@host gnome-terminal
I did this from a laptop with a pc101 keyboard to my workstation with a pc105. On subsequent logins on the workstation I get the dialog box.

I will try to make it happen again and report back.

Revision history for this message
serrs (serrs) wrote :

OK... the "ssh -X user@host gnome-terminal" didn't seem to create this problem...

But, my home directory's config files probably do have a lineage back to feisty.

Revision history for this message
serrs (serrs) wrote :

I seem to be able to put it in this state by running VMware workstation on my workstation from my notebook. At that point VMware says something about mismatched keyboards. Apparently VMware has hooks in gnome and adjusts the keyboard. Next time I login to the workstation (head) it gives me the infamous message: "The X system keyboard settings differ from your current GNOME keyboard
settings. [...]"

Maybe this is a VMware workstation bug. But Gnome should be satisfied one way or another... and it never it, always prompts after that point.

Revision history for this message
Florin Andrei (florin-andrei) wrote :

Did not upgrade from Feisty, this is a clean 7.10 install.
I believe the issue was triggered after I uninstalled Compiz packages. I played with Compiz for a while, then got rid of it because it had compatibility issues with some apps. Then I started to see this problem.

Revision history for this message
Florin Andrei (florin-andrei) wrote :

Yes, the gconf-editor trick solved it. Thanks.

Revision history for this message
Andrew Mathenge (mathenge) wrote :

I had a similar problem as well and fixed by reconfiguring X. In my case, the X server had a model of "pc105" and GNOME had a model of "generic." So I reconfigured X to have a model of "generic."

To do this, I ran the following command:

sudo dpkg-reconfigure xserver-xorg

I went through the prompts selecting the required options. When it asked for the keyboard model, I typed in "generic." In your case, you will wait till the keyboard type and then specify "se" or "us" to make X consistent with GNOME.

Revision history for this message
Magnus Wissler (gmw) wrote :

I experienced this too after uninstalling xserver-xgl and restarting X. However, I think the dialog could be more user-friendly. As it stands, there's no way of telling which of the system keyboard settings mentioned in the dialog is the "X settings" and which is the "GNOME settings"; it's fifty-fifty you'll get it right if you're an inexperienced user.

Or am I missing something?

Revision history for this message
Andrew Mathenge (mathenge) wrote : Re: [Bug 154401] Re: gnome keyboard layout question at each login

To find out which keyboard is being used by GNOME, use gconf-editor.

From a console prompt, type: gconf-editor
Expand:
   Desktop
       Gnome
            Peripherals
                 Keyboard
                       kbd
                       kbd.sysbackup

To get your X settings, look at the xorg.conf file at /etc/X11

Look for the section "InputDevice" for the "Generic Keyboard."

You should see the Model and Layout information there.

On Feb 4, 2008 8:09 PM, Magnus Wissler <email address hidden> wrote:

> I experienced this too after uninstalling xserver-xgl and restarting X.
> However, I think the dialog could be more user-friendly. As it stands,
> there's no way of telling which of the system keyboard settings
> mentioned in the dialog is the "X settings" and which is the "GNOME
> settings"; it's fifty-fifty you'll get it right if you're an
> inexperienced user.
>
> Or am I missing something?
>
> --
> gnome keyboard layout question at each login
> https://bugs.launchpad.net/bugs/154401
> You received this bug notification because you are a direct subscriber
> of a duplicate bug.
>

Revision history for this message
Zerocool3001 (timfall) wrote : Re: gnome keyboard layout question at each login

It would seem this problem occurs when installing, then uninstalling xserver-xgl. I would imagine most of the problems caused here are due to that scenario.

Revision history for this message
Brian LeBaron (brian-a-lebaron) wrote :

I also had this problem, and it appears for the same reasons. I had installed xserver-xgl and then un-installed it, that is when the dialog box started showing up.

I resolved it by changing the key in the configuration editor to match whatever was being detected by xserver. In my case all I needed to do was change the following:
/desktop->gnome->peripherals->keyboard->kbd.sysbackup->model=pc101

to

/desktop->gnome->peripherals->keyboard->kbd.sysbackup->model=pc105

and that stopped the dialog from showing up.

Revision history for this message
Farhan Perdana (blaxnux) wrote :

I also had that after uninstalling Xgl. I just simply go to system -> preferences -> keyboard, and then on layouts tab, pressing reset to default (even I am using the default options), and, whoooossss... It is gone. :D

Changed in xserver-xgl:
importance: Undecided → Medium
status: New → Confirmed
Revision history for this message
Timo Aaltonen (tjaalton) wrote :

xserver-xgl has been deprecated upstream, and removed from Intrepid. Closing the bug as won't fix.

Changed in xserver-xgl:
status: Confirmed → Won't Fix
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.