Stephan Hilb <step...@ecshi.net> writes:

Hi Stephan,

>> Das scheint aber mit NEO2 nicht wie gewünscht zu funktionieren.
>> Steuerung hat dann zwar die Funktion von CapsLock, CapsLock ist aber
>> noch immer der Ebene3-Modifier.  Ich habe also garkein Steuerung
>> mehr.
>
> Die Option ist wohl ungünstig benannt, die Option „tauscht“ nicht,
> sondern belegt einfach neu: Caps wird Control und Control wird Caps.
> Bei mir macht `setxkbmap de neo -option ctrl:swapcaps` auch genau das.

Hm, ich denke, das ist genau das, was auch die GUI tut.

> Warum bei dir Caps immernoch der Ebene3-Modifier ist, weiß ich nicht.
> Hast du vielleicht mehrere Tastaturbelegungen gewählt?

Ja, ich wollte NEO ja nur mal kurz antesten, um zu gucken, ob es
überhaupt rein technisch schon mal funktioniert.  Also aktiv sind "de
dvorak" und "de neo", beide mit der Option ctrl:swapcaps.

Hab es auch mal mit setxkbmap probiert, was irgendwie auch nicht richtig
funktionierte, aber mal auf andere Weise: hatte nach einigem hin und her
Ctrl als Ctrl und CapsLock als nix.

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.  xev sagt:

## Hier drücke ich CapsLock
KeyPress event, serial 36, synthetic NO, window 0x1000001,
    root 0x270, subw 0x0, time 2518136, (117,43), root:(117,95),
    state 0x0, keycode 66 (keysym 0xffe3, Control_L), same_screen YES,
    XKeysymToKeycode returns keycode: 37
    XLookupString gives 0 bytes: 
    XmbLookupString gives 0 bytes: 
    XFilterEvent returns: False

KeyRelease event, serial 36, synthetic NO, window 0x1000001,
    root 0x270, subw 0x0, time 2518207, (117,43), root:(117,95),
    state 0x4, keycode 66 (keysym 0xffe3, Control_L), same_screen YES,
    XKeysymToKeycode returns keycode: 37
    XLookupString gives 0 bytes: 
    XFilterEvent returns: False

## Hier drücke ich Ctrl
KeyPress event, serial 36, synthetic NO, window 0x1000001,
    root 0x270, subw 0x0, time 2520259, (117,43), root:(117,95),
    state 0x0, keycode 37 (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 2520321, (117,43), root:(117,95),
    state 0x4, keycode 37 (keysym 0xffe3, Control_L), same_screen YES,
    XLookupString gives 0 bytes: 
    XFilterEvent returns: False

>> Was ich gerne hätte: CapsLock ist Steuerung, Steuerung ist der
>> Ebene3-Modifier (CapsLock brauche ich nicht).  Geht das?  Wenn ja,
>> wie?
>
> Es gibt wohl noch keine Option `lv3:lctrl_switch`, um der linken Control
> Taste einen Ebene3-Modifier zuzuordnen. Einen Quickhack liefert xmodmap:
>
>   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'
>
> Schau dir `map xmodmap` oder das Wiki an, wenn du näheres wissen
> möchtest.

Danke dir.

Grüße,
Tassilo

Attachment: signature.asc
Description: PGP signature

Antwort per Email an