You are not logged in.

#1 2009-01-08 03:44:49

sebleblanc
Member
From: Montréal, Canada
Registered: 2007-12-21
Posts: 41

[SOLVED] Weird keyboard layout in KDEmod 3.5

Well, I'm still running KDEmod 3.5, because I prefer it over KDEmod 4.

When I updated to the new X.Org 1.5.0, along with a nice kernel update, all hell broke loose and I had to literally destroy my current xorg.conf and reinstall all the core packages.

However, I managed to set my keyboard/keymap in the way it was in both rc.conf and xorg.conf. I don't recall setting it in KDE, I suppose it would use the default keymap (X.Org's).

I use the French Canadian keyboard layout, as it allows me to use accented letters and such.

That layout used to be:

        Option "XkbLayout" "ca"
        Option "XkbVariant" "fr"

in xorg.conf.

In rc.conf, though, it is simply "keymap=cf".



Now, the KDM login manager is using the american layout, kde defaults to american, I must set it as french canadian in keyboard layout options.

On the KDM prompt, I cannot switch to virtual terminals (Ctrl-Alt-F#), nor zap X with Ctrl-Alt-Backspace.

In KDE, arrow keys do not work, they are, as reported by "xev" :

KeyRelease event, serial 34, synthetic NO, window 0x2000001,
    root 0x1a6, subw 0x0, time 10680464, (79,143), root:(622,656),
    state 0x0, keycode 111 (keysym 0xff61, Print), same_screen YES,
    XLookupString gives 0 bytes:
    XFilterEvent returns: False

KeyPress event, serial 34, synthetic NO, window 0x2000001,
    root 0x1a6, subw 0x0, time 10682313, (79,143), root:(622,656),
    state 0x0, keycode 116 (keysym 0xffec, Super_R), same_screen YES,
    XLookupString gives 0 bytes:
    XmbLookupString gives 0 bytes:
    XFilterEvent returns: False

KeyRelease event, serial 34, synthetic NO, window 0x2000001,
    root 0x1a6, subw 0x0, time 10682426, (79,143), root:(622,656),
    state 0x40, keycode 116 (keysym 0xffec, Super_R), same_screen YES,
    XLookupString gives 0 bytes:
    XFilterEvent returns: False

KeyPress event, serial 34, synthetic NO, window 0x2000001,
    root 0x1a6, subw 0x0, time 10683228, (79,143), root:(622,656),
    state 0x0, keycode 113 (keysym 0xfe03, ISO_Level3_Shift), same_screen YES,
    XLookupString gives 0 bytes:
    XmbLookupString gives 0 bytes:
    XFilterEvent returns: False

KeyRelease event, serial 34, synthetic NO, window 0x2000001,
    root 0x1a6, subw 0x0, time 10683357, (79,143), root:(622,656),
    state 0x80, keycode 113 (keysym 0xfe03, ISO_Level3_Shift), same_screen YES,
    XLookupString gives 0 bytes:
    XFilterEvent returns: False

KeyPress event, serial 34, synthetic NO, window 0x2000001,
    root 0x1a6, subw 0x0, time 10683768, (79,143), root:(622,656),
    state 0x0, keycode 114 (keysym 0x0, NoSymbol), same_screen YES,
    XLookupString gives 0 bytes:
    XmbLookupString gives 0 bytes:
    XFilterEvent returns: False

KeyRelease event, serial 34, synthetic NO, window 0x2000001,
    root 0x1a6, subw 0x0, time 10683922, (79,143), root:(622,656),
    state 0x0, keycode 114 (keysym 0x0, NoSymbol), same_screen YES,
    XLookupString gives 0 bytes:
    XFilterEvent returns: False

(that is <up>, <down>, <left>, <right>)

AltCar acts like it is the KP_ENTER button, the KP_ENTER like it is the down arrow

All the keys from Print Screen to Page down are messed up.

Only the numpad (except for the KP_ENTER button), letters, some modifier keys work (L&R Shift, Caps lock, Left control) and the two first rows (numbers and Function keys) work.

Special keys like dead accents and such all work correctly.

I really don't know what is going on, and I would like some assistance.

Last edited by sebleblanc (2009-01-08 21:37:55)

Offline

#2 2009-01-08 06:51:57

FrozenFox
Member
From: College Station, TX
Registered: 2008-03-23
Posts: 422
Website

Re: [SOLVED] Weird keyboard layout in KDEmod 3.5

Try setting your keyboard driver to evdev in xorg.conf, then kcontrol -> regional and accessibility -> Keyboard layout -> keyboard model -> evdev managed keyboard.

Not sure if it will work, but a similar process fixed a similar problem for me. If I've misread or failed to read something in your description, apologies, I'm running a little late. smile

Offline

#3 2009-01-08 21:36:29

sebleblanc
Member
From: Montréal, Canada
Registered: 2007-12-21
Posts: 41

Re: [SOLVED] Weird keyboard layout in KDEmod 3.5

Thank you, it worked! I had to specify the 'evdev' driver first, in xorg.conf.

Last edited by sebleblanc (2009-01-08 21:36:56)

Offline

Board footer

Powered by FluxBB