Tassilo Horn <[email protected]> writes:

> Gut, dann werf ich mal "de dvorak" ganz raus und starte vorsichtshalber
> mal Gnome neu...  Tja, klappt auch nicht.  Jetzt sind CapsLock und Ctrl
> Ctrl.

Ach Gottchen, Kommando zurück!  Hatte versehentlich die Option
crtl:nocaps benutzt.  Jetzt aber mit der richtigen Option ctrl:swapcaps
ist es so, wie du beschrieben hast.

## Ich drücke CapsLock, das passt so
KeyPress event, serial 36, synthetic NO, window 0x1000001,
    root 0x270, subw 0x0, time 58569, (134,4), root:(154,532),
    state 0x0, keycode 66 (keysym 0xffe3, Control_L), same_screen YES,
    XLookupString gives 0 bytes: 
    XmbLookupString gives 0 bytes: 
    XFilterEvent returns: False

KeyRelease event, serial 36, synthetic NO, window 0x1000001,
    root 0x270, subw 0x0, time 58624, (134,4), root:(154,532),
    state 0x4, keycode 66 (keysym 0xffe3, Control_L), same_screen YES,
    XLookupString gives 0 bytes: 
    XFilterEvent returns: False

## Ich drücke Ctrl, und das ist halt jetzt echt ein CapsLock
KeyPress event, serial 36, synthetic NO, window 0x1000001,
    root 0x270, subw 0x0, time 60834, (134,4), root:(154,532),
    state 0x0, keycode 37 (keysym 0xffe5, Caps_Lock), same_screen YES,
    XLookupString gives 0 bytes: 
    XmbLookupString gives 0 bytes: 
    XFilterEvent returns: False

KeyRelease event, serial 36, synthetic NO, window 0x1000001,
    root 0x270, subw 0x0, time 60885, (134,4), root:(154,532),
    state 0x2, keycode 37 (keysym 0xffe5, Caps_Lock), same_screen YES,
    XLookupString gives 0 bytes: 
    XFilterEvent returns: False

Also CapsLock with zu Ctrl und Ctrl wird zu CapsLock, auch wenn es
vorher (ohne die Option) noch ISO_Level3_Shift war.

Nun gut, dann Versuch mit xmodmap, aber leider bekomme ich da einen
Fehler:

% xmodmap -e 'remove Control = Control_L' \
          -e 'remove Mod5 = ISO_Level3_Shift' \
          -e 'keycode 66 = Control_L' \
          -e 'keycode 37 = ISO_Level3_Shift' \
          -e 'add Control = Control_L' \
          -e 'add Mod5 = ISO_Level3_Shift'
X Error of failed request:  BadValue (integer parameter out of range for 
operation)
  Major opcode of failed request:  118 (X_SetModifierMapping)
  Value in failed request:  0x17
  Serial number of failed request:  15
  Current serial number in output stream:  15

Grüße,
Tassilo

Attachment: signature.asc
Description: PGP signature

Antwort per Email an