You are not logged in.

#1 2007-11-08 07:22:36

pooflinger
Member
From: Sweden
Registered: 2007-10-05
Posts: 53

Locale bug in gnome

Hiya!

Hopefully someone can point me in the right direction on this one, it occurred with the recent X update.

I use a swedish keyboard layout that works fine outside of X. When gnome is started it assumes US layout even though swedish keymap is set in the preferences gnome-menu. If I switch it to something else and back again the problem is corrected. Running "setxkbmap" also fixes the problem. But this shouldn't be necessary on every session. Xorg.conf contains no reference to any locale and never has on this system. Any ideas?

Offline

#2 2007-11-08 08:52:22

chimeric
Member
From: Munich, Germany
Registered: 2007-10-07
Posts: 254
Website

Re: Locale bug in gnome

What does your "Xkblayout" read in your xorg.conf (at the Input Device Section of your keyboard)?

Offline

#3 2007-11-08 10:27:40

pooflinger
Member
From: Sweden
Registered: 2007-10-05
Posts: 53

Re: Locale bug in gnome

Section "ServerLayout"
    Identifier     "Layout0"
    Screen      0  "Screen0" 0 0
    InputDevice    "Keyboard0" "CoreKeyboard"
    InputDevice    "Mouse0" "CorePointer"
EndSection
Section "InputDevice"
    Identifier     "Keyboard0"
    Driver         "kbd"
EndSection

Offline

#4 2007-11-08 10:44:48

chimeric
Member
From: Munich, Germany
Registered: 2007-10-07
Posts: 254
Website

Re: Locale bug in gnome

I think you have to set the "Xkblayout". Just try the following and restart X (not sure if "se" is the right though wink).

Section "InputDevice"
    Identifier     "Keyboard0"
    Driver         "kbd"
    Options        "Xkblayout" "se"
    Options        "XkbModel" "pc105"
EndSection

HTH

Offline

#5 2007-11-08 14:26:48

pooflinger
Member
From: Sweden
Registered: 2007-10-05
Posts: 53

Re: Locale bug in gnome

It works as expected, thanks chimeric.
I added it, and now gnome uses the X setting instead. It's really a shame that gnome is still so utterly unstable. Maybe it's time to switch to something else...

Offline

#6 2007-11-08 14:49:25

chimeric
Member
From: Munich, Germany
Registered: 2007-10-07
Posts: 254
Website

Re: Locale bug in gnome

pooflinger wrote:

It works as expected, thanks chimeric.

Np, glad I could help smile.

pooflinger wrote:

I added it, and now gnome uses the X setting instead. It's really a shame that gnome is still so utterly unstable. Maybe it's time to switch to something else...

I think this has nothing to do with Gnome because I think it always relies on the X settings and if "Xkblayout" is not set in your xorg.conf it  Xorg defaults to "us" (which makes me wonder because you said it worked before - maybe your xorg.conf got b0rked after the upgrade?).

Offline

#7 2007-11-08 17:47:09

pooflinger
Member
From: Sweden
Registered: 2007-10-05
Posts: 53

Re: Locale bug in gnome

That's just it tho, I'm positive that I've never specified locale settings in xorg.conf before. Gnome is supposed to be able to specify locales independantly of xorg - that's what I've been relying on up until now. I suspect it's some user-specific gnome config file somewhere in ~ that's b0rked. Either that or a bug in the package or upstream. Another thing that bugs me about gnome is Nautilus. Ever try to connect to ftp/ssh/etc servers? Leaks, crashes and whatnot. I think I'm going KDE with KDE4.

Offline

Board footer

Powered by FluxBB