Hallo,
ich habe mehrere Systeme laufen mit Neo2, wobei jeweils die evdev-Variante
eingestellt ist, bei der man mit Scroll-Lock zwischen de,basic und de,neo
umschaltet. Das klappt hervorragend und vollständig bei Ubuntu 10.04 (Lucid)
und Xubuntu 12.04 (Precise), aber nur teilweise bei Lubuntu 12.04 (Precise)
Identische 10-evdev.conf bei Xubuntu 12 und Lubuntu 12:
Section "InputClass"
Identifier "evdev keyboard catchall"
MatchIsKeyboard "on"
MatchDevicePath "/dev/input/event*"
Driver "evdev"
Option "XkbRules" "base"
Option "XkbModel" "evdev"
Option "XkbLayout" "de,de"
Option "XkbVariant" "basic,neo"
Option "XkbOptions" "grp:sclk_toggle,grp_led:scroll"
EndSection
Das Umschalten zwischen basic und neo mittels Scroll-Lock klappt (auch die LED
wird geschaltet), aber die Ebenen mit Mod4 und Mod6 funktionieren bei Lubuntu 12
nicht bzw. bringen nur die Zeichen Mod1/Mod3
Wenn ich mit lxkeymap in den Einstellungen Deutsch+Neo2 global einstelle,
funktionieren auch bei Lubuntu 12 alle Ebenen. D.h. das Zusammenspiel
Tastatur-X klappt im Prinzip, nur nicht die Variante mit dem Umschalten. Ich
frage mich, wieso, weil doch die beiden Ubuntu-Derivate in derselben Version
doch dasselbe Xorg haben...
Ich habe die aktualisierte xkbmap runtergezogen und zuletzt noch den kompletten
Baum /usr/share/X11/xkb/ vom funktionierenden Xubuntu 12 zum Lubuntu 12
übertragen. Nützt nichts.
Aufgefallen ist mir, dass beim Aufruf von xev Unterschiede bestehen:
* Xubuntu 12 linke Mod4-Taste Mapping auf 203/23 sowie einmal Shift, einmal Lock
KeyPress event, serial 35, synthetic NO, window 0x6800002,
root 0x131, subw 0x0, time 432066008, (-497,286), root:(374,816),
state 0x2000, keycode 94 (keysym 0xfe11, ISO_Level5_Shift), same_screen YES,
XKeysymToKeycode returns keycode: 203
XLookupString gives 0 bytes:
XmbLookupString gives 0 bytes:
XFilterEvent returns: False
KeyRelease event, serial 35, synthetic NO, window 0x6800002,
...
state 0x2020, keycode 94 (keysym 0xfe13, ISO_Level5_Lock), same_screen YES,
XKeysymToKeycode returns keycode: 23
...
* Xubuntu 12 rechte Mod4-Taste dasselbe Verhalten wie die linke
KeyPress event, serial 35, synthetic NO, window 0x6800002,
...
state 0x2000, keycode 108 (keysym 0xfe11, ISO_Level5_Shift), same_screen
YES,
XKeysymToKeycode returns keycode: 203
...
KeyRelease event, serial 35, synthetic NO, window 0x6800002,
...
state 0x2020, keycode 108 (keysym 0xfe13, ISO_Level5_Lock), same_screen YES,
XKeysymToKeycode returns keycode: 23
...
* Lubuntu linke Mod4-Taste: ***Hier wird auf Keycode 108 gemappt! beide Male
ISO_Level5_Shift! ***
KeyPress event, serial 38, synthetic NO, window 0x2200001,
root 0x18f, subw 0x0, time 181890, (460,144), root:(482,434),
state 0x2000, keycode 94 (keysym 0xfe11, ISO_Level5_Shift), same_screen YES,
XKeysymToKeycode returns keycode: 108
...
KeyRelease event, serial 41, synthetic NO, window 0x2200001,
...
state 0x2000, keycode 94 (keysym 0xfe11, ISO_Level5_Shift), same_screen YES,
XKeysymToKeycode returns keycode: 108
...
* Lubuntu rechte Mod4-Taste ***Kein XKeysymToKeycode, beide Male
ISO_Level5_Shift! ***
KeyPress event, serial 41, synthetic NO, window 0x2200001,
...
state 0x2000, keycode 108 (keysym 0xfe11, ISO_Level5_Shift), same_screen
YES,
...
KeyRelease event, serial 41, synthetic NO, window 0x2200001,
...
state 0x2000, keycode 108 (keysym 0xfe11, ISO_Level5_Shift), same_screen
YES,
...
Jetzt frage ich mich, warum xubuntu 12 dieses 94/108 => 203, 23 macht und
lubuntu 12 94/108 => 108,108 bzw Nix. Ich dachte bisher, dass die Tastatur
eine Sache von Xorg ist, und das sollte bei den beiden Ubuntu-Derivaten in
derselben Version eigentlich gleich sein... Oder habe ich eine Schraube beim
Lubuntu vergessen, die ich beim Xubuntu gedreht habe?
Gruezi,
Robert