Gentoo Forums
Gentoo Forums
Quick Search: in
Keymap issue with Xorg & Dbus
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
cpwp
n00b
n00b


Joined: 28 Aug 2002
Posts: 66
Location: Ripley, Derbyshire, UK

PostPosted: Fri Jun 20, 2008 6:14 pm    Post subject: Keymap issue with Xorg & Dbus Reply with quote

Hi All,

I'm having an issue with keymaps.

I have
Code:
keymap="uk"
in /etc/conf.d keymaps, which has the correct effect on the console. No problem here.

My xorg.conf contains the following keyboard configuration:
Code:
Section "InputDevice"
    Identifier  "Keyboard1"
    Driver      "kbd"
    Option "AutoRepeat" "500 30"
    Option "XkbRules"   "xorg"
    Option "XkbModel"   "pc105"
    Option "XkbLayout"  "gb"
EndSection


This works fine until I start dbus-daemon, when the keymap seems to be remapped to US. I've had a quick poke around the dbus configuration but can't find anything to do with keymaps.

Does anyone have any ideas?

Thanks,

Charlie
Back to top
View user's profile Send private message
salahx
Apprentice
Apprentice


Joined: 12 Mar 2005
Posts: 273

PostPosted: Fri Jun 20, 2008 6:44 pm    Post subject: Reply with quote

The culprit is likely HAL. As of Xorg 7,3 if it xorg has HAL support built in, its gets the keyboard mapping from HAL instead and ignore the keyboard settings in xorg.conf. You'll need to add the appropriate fdfi file.
Back to top
View user's profile Send private message
cpwp
n00b
n00b


Joined: 28 Aug 2002
Posts: 66
Location: Ripley, Derbyshire, UK

PostPosted: Fri Jun 20, 2008 6:48 pm    Post subject: Reply with quote

Thanks for that - any pointers as to how that's done?
Back to top
View user's profile Send private message
keenblade
Veteran
Veteran


Joined: 03 Oct 2004
Posts: 1007

PostPosted: Fri Jun 20, 2008 7:11 pm    Post subject: Reply with quote

edit the /etc/hal/fdi/policy/x11-input.fdi for your locale.
If the file is not there, then do
Code:

cp /usr/share/hal/fdi/policy/10osvendor/10-keymap.fdi /etc/hal/fdi/policy/x11-input.fdi

_________________
Anyway it's all the same at the end...
Need help to get it working: "x-fi surround 5.1"
Back to top
View user's profile Send private message
cpwp
n00b
n00b


Joined: 28 Aug 2002
Posts: 66
Location: Ripley, Derbyshire, UK

PostPosted: Fri Jun 20, 2008 7:21 pm    Post subject: Reply with quote

That worked fine.

Many thanks.

Charlie
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum