Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] A notebook keyboard and setxkmap
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
LubosD
Apprentice
Apprentice


Joined: 30 Jun 2005
Posts: 211
Location: Czech Republic

PostPosted: Fri Apr 11, 2008 10:49 pm    Post subject: [SOLVED] A notebook keyboard and setxkmap Reply with quote

Hi,

I'm facing a very unpleasant issue with setxkbmap. This is what the relevant part of xorg.conf looks like:

Code:
Section "InputDevice"
        Identifier "Keyboard1"
        Driver "kbd"
        Option "XkbModel" "pc105"
        Option "XkbLayout" "us"
EndSection


And everything works just fine... until I run "setxkbmap -layout us" and half of the keyboard stops working. According to xev the keycodes were different, so I became suspicious and compared the output of "xmodmap -pke" before and after doing this switch "from US to US". And it differs a lot, see for yourself!

Now you may wonder why I would run such a useless command. The thing is that the same disaster happens when I switch to the Czech keyboard layout. Specifying "-model pc105" doesn't change anything. The notebook is a Hewlett-Packard 8710p.

Please, do you have any idea why setxkbmap messes my keyboard layout like this?
Back to top
View user's profile Send private message
LubosD
Apprentice
Apprentice


Joined: 30 Jun 2005
Posts: 211
Location: Czech Republic

PostPosted: Fri Apr 11, 2008 11:43 pm    Post subject: Reply with quote

Fixed it. If I use "evdev" as the model, everything works as expected :-)
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