keyboard mappings are totally screwed after updating to kde4

Posted by zeonglow on Super User See other posts from Super User or by zeonglow
Published on 2009-10-29T20:05:00Z Indexed on 2010/03/18 13:21 UTC
Read the original article Hit count: 443

Filed under:
|
|
|
|

I recently upgraded from KDE 3.5 to KDE 4, and I have been having weird issues with my keyboard. In one of the virtual consoles e.g. when I press ctrl + alt 1 , I can type perfectly, but in KDE, several of the number keys don't work, the left and right arrows don't work either.

When I press the right arrow key in xev I get this:

KeyRelease event, serial 34, synthetic NO, window 0x3600001,
root 0x6f, subw 0x0, time 903459, (111,55), root:(115,836),
state 0x10, keycode 114 (keysym 0x1008ff11, XF86AudioLowerVolume), same_screen YES,                                                                         
XLookupString gives 0 bytes:                                                
XFilterEvent returns: False

When I press the '3' key it toggles my Bookmarks toolbar in Firefox, in xev I get this:

KeyPress event, serial 34, synthetic NO, window 0x3600001,
root 0x6f, subw 0x0, time 999968, (94,115), root:(98,896),
state 0x10, keycode 12 (keysym 0x1008ff30, XF86Favorites), same_screen YES,
XLookupString gives 0 bytes:                                               
XmbLookupString gives 0 bytes:                                             
XFilterEvent returns: False                                                

KeyRelease event, serial 34, synthetic NO, window 0x3600001,
root 0x6f, subw 0x0, time 1000032, (94,115), root:(98,896),
state 0x10, keycode 12 (keysym 0x1008ff30, XF86Favorites), same_screen YES,
XLookupString gives 0 bytes:                                               
XFilterEvent returns: False

As this is deeper down, changing the type of keyboard in the KDE meun's has no effect. I'm slowly beginning to wade through the mountains of documentation about the X keyboard model, but there has to be a better way. Does anyone no what it is?

Edit:

1234567890 ! after deleting the entire .kde folder.

but only until I change the Keyboard settings from the "system settings" applet, then its hosed full time. Regardless of what I set the settings too. (restore to default settings doesn't)

2nd Edit:

I'm using Gentoo AMD64, I was upgrading from KDE 3.5 > KDE 4.2.
I think I had manual settings before, although I didn't change anything. I was originally running KDE without HAL until that stop working a year or so ago. The only customisation I made was to set the multimedia keys to control Amarok.

3rd Edit

   $ grep xkb /var/log/Xorg.0.log
   (**) Option "xkb_rules" "evdev"
   (**) Option "xkb_model" "evdev"
   (**) Option "xkb_layout" "us"
   (**) Option "xkb_rules" "evdev"
   (**) Option "xkb_model" "evdev"
   (**) Option "xkb_layout" "us"

Xorg.0.log has this to say:

(WW) AllowEmptyInput is on, devices using drivers 'kbd', 'mouse' or 'vmmouse' will be disabled.
(WW) Disabling Mouse1
(WW) Disabling Keyboard1

My Xorg.conf has this in it.

    Identifier  "Keyboard1"
    Driver      "kbd"
    Option      "AutoRepeat" "500 30"
    # Specify which keyboard LEDs can be user-controlled (eg, with xset(1))
    Option      "XkbRules" "xorg"
    Option      "XkbModel" "pc105"
    Option      "XkbLayout" "gb"

© Super User or respective owner

Related posts about x-windows

Related posts about kde