Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#8124 - gnome-keyboard-properties doesnt work

Attached to Project: Arch Linux
Opened by Robin Heggelund Hansen (Skinney) - Wednesday, 26 September 2007, 00:28 GMT
Last edited by Jan de Groot (JGC) - Friday, 26 December 2008, 20:02 GMT
Task Type Bug Report
Category Packages: Testing
Status Closed
Assigned To Jan de Groot (JGC)
Architecture i686
Severity Medium
Priority Normal
Reported Version 2007.08.1
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description: Everytime i log into Gnome it doesnt honor my keyboard layout settings. I have selected Norwigian as the primary layout, but yet it keeps an english layout until i remove and add the Norwigian layout again in gnome-keyboard-properties...


Additional info:
Gnome 2.20 packages


Steps to reproduce: Restarting the gnome session
This task depends upon

Closed by  Jan de Groot (JGC)
Friday, 26 December 2008, 20:02 GMT
Reason for closing:  Works for me
Comment by Börje Holmberg (linfan) - Friday, 28 September 2007, 09:47 GMT
Have you removed the english keyboard layout or
moved the norwegian on top and or
chosen norwegian as default?.

You can also add keyboard switcher applet to panel. I have both russian phonetic and swedish and I choose which ever I need, but default is swedish.

(Jag hoppas du lyckas fixa problemet :))
Comment by Robin Heggelund Hansen (Skinney) - Friday, 28 September 2007, 10:46 GMT
(hehe, takk takk) ;)

I removed the english keyboard and set the norwegian layout as default, i've also tried to just place the no layout on top, but the problem still repeats itself. I never had any problem with this in Gnome 2.18 :(
Comment by Timm (gummibaerchen) - Sunday, 07 October 2007, 14:44 GMT
same problem here (with german keyboard layout)

everytime I start GNOME I have to go to the Layout-Options in the "Keyboard Preferences"-Dialog and change the order of the Layouts there.

I only have two German Layouts in that box, but no matter which one is on top, after a restart I am back to US-Layout.. When I move one Layout over the Other it works..

When I run "Show Current Layout" right after the start GNOME shows me the German one, even though is doesn't use it...

In the normal TTY the layout is fine :)
Comment by Börje Holmberg (linfan) - Tuesday, 16 October 2007, 19:58 GMT
I did a reinstall and got the same behavior. Interesting, though, was that this time i configured xorg with nvidia-xconfig - it automatically configured the keyboard to pc105 and us. I solved it by editing xorg.conf and added the options - in my case -

Section "InputDevice"

# generated from default
Identifier "Keyboard0"
Driver "kbd"
Option "CoreKeyboard"
Option "XkbRules" "xorg"
Option "XkbModel" "pc102"
Option "XkbLayout" "se
EndSection

When I went back to gnome it asked me if i want to use the gnome settings or xorg-settings.

Comment by Börje Holmberg (linfan) - Wednesday, 17 October 2007, 07:47 GMT
I also found on google that you can edit gconf - Configuration Editor go to desktop->gnome->peripherals->keyboard->kbd->edit layouts etc.

There I changed pc105 to pc102 and then gnome stopped bugging me with my having to choose between gnome and xorg every time I log into gnome.

Comment by Jan de Groot (JGC) - Friday, 09 May 2008, 10:18 GMT
Is this still an issue?
Comment by Börje Holmberg (linfan) - Friday, 09 May 2008, 10:23 GMT
I don't know since i fixed it in gconf editor, but i guess it is. I don't feel like reinstalling xorg or gnome to check :)
Comment by Timm (gummibaerchen) - Friday, 09 May 2008, 17:21 GMT
  • Field changed: Percent Complete (100% → 0%)
This is still an issue. Since my last reinstall this is still bugging me. (I have no xorg.conf, so GNOME never asked me, but everytime I login I have to re-set the keyboard layout).
Comment by Jan de Groot (JGC) - Monday, 13 October 2008, 11:45 GMT
Still an issue with gnome 2.24 and xorg-server 1.5.2 from testing?
Comment by Börje Holmberg (linfan) - Monday, 13 October 2008, 12:03 GMT
No idea, I fixed it manually as above when installing amd64 and gnome-2.22.
Comment by Timm (gummibaerchen) - Wednesday, 15 October 2008, 18:33 GMT
Still an issue (just installed from [testing]).

What I recently noticed (with 2.22): When having automatic login enabled, and then logging out and in manually, the layout gets fixed.

So the problem is probably connected to automatic logins?!
Comment by Timm (gummibaerchen) - Thursday, 16 October 2008, 15:09 GMT
Today it worked right from the start.
Well, therefore some other odd things happen, as "arrow up" triggers screenshot...

Can anyone else comment on this?
Comment by Timm (gummibaerchen) - Saturday, 18 October 2008, 18:31 GMT
And when I plugged in my external keyboard it also gave me a US layout, instead of the German one, which is set in the props.
Comment by Jan de Groot (JGC) - Saturday, 18 October 2008, 19:46 GMT
That's normal, X gets the values from hal. Hal tells X there's a US keyboard connected.

BTW: Do you get two different layouts on each keyboard? That would be awesome :)
Comment by Timm (gummibaerchen) - Sunday, 19 October 2008, 17:57 GMT
@Jan: yeah, i have to layouts simultaneously. But that was not intended by me :)

Funny/Dumb thing: When pluggin in the Keyboard before booting it gets the correct (read German) layout.

When I unplug it, and plug it into another USB port it es US again...
Comment by Jan de Groot (JGC) - Sunday, 19 October 2008, 18:13 GMT
That's because of input hotplugging. Xorg finds a new keyboard everytime you plug it and configures it with values retrieved from hal. GNOME won't set keyboard layouts on hotplugged keyboards, resulting in a US keyboard everytime you plug it.

To fix that problem, you can copy /usr/share/hal/fdi/policy/10osvendor/10-keymap.fdi to /etc/hal/fdi/policy and change the keymap to the one you need.
Comment by Börje Holmberg (linfan) - Thursday, 04 December 2008, 17:27 GMT
That is just plain bullshit. The new xorg suxx and no hal/fdi/policy on earth will fix it, at least not with the hotplugging wiki steps. The best thing to do is to completely disable the whole xorg-hal crap and add the two last Options to xorg and thus completely ignore the new xorg.

Section "ServerLayout"
Identifier "Layout0"
Screen 0 "Screen0"
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "Mouse0" "CorePointer"
Option "AllowEmptyInput" "False"
Option "AutoAddDevices" "False"


Having three keyboard layouts (us,se,ru) and ru to use phonetic typing, I guess no hal policy can handle that. But I guess it is cool for us keyboard users.

Loading...