#135: Mit der neuen Version der xkbmap funktioniert ein Großteil der linken
Hälfte der vierten Ebene nicht mehr
--------------------------------------+-------------------------------------
  Reporter:  martin_r                 |       Owner:  erik           
      Type:  Fehler/Defekt            |      Status:  new            
  Priority:  normal                   |   Milestone:  Neo Version 2.0
 Component:  Treiber: Linux – Xkbmap  |     Version:  2.0 BETA       
Resolution:                           |    Keywords:                 
--------------------------------------+-------------------------------------

Comment(by wettstein...@solnet.ch):

 Die Methode mit Auslagern von Shift funktioniert.

 - In xkb/symbols/shift ergänze:
 {{{
 partial modifier_keys
 xkb_symbols "lshift_both_capslock" {
   key <LFSH> {
     type[Group1]="TWO_LEVEL",
     symbols[Group1] = [ Shift_L,                       Caps_Lock
 ],
     actions[Group1] = [ SetMods(modifiers=Shift),
 LockMods(modifiers=Lock) ]
   };
 };

 partial modifier_keys
 xkb_symbols "rshift_both_capslock" {
   key <RTSH> {
     type[Group1]="TWO_LEVEL",
     symbols[Group1] = [ Shift_R,                       Caps_Lock
 ],
     actions[Group1] = [ SetMods(modifiers=Shift),
 LockMods(modifiers=Lock) ]
   };
 };
 partial modifier_keys
 xkb_symbols "both_capslock" {
   include "shift(lshift_both_capslock)"
   include "shift(rshift_both_capslock)"
 };
 }}}

 - Nimm die entsprechenden Belegungen aus de heraus

 - In rules/xorg ergänze eine Zeile unter
 {{{
 ! option        =       symbols
 }}}
 nämlich:
 {{{
   shift:both_capslock   =       +shift(both_capslock)
 }}}


 - Benutze XkbOption shift:both_capslock. In xorg.conf habe ich
   z.B. ausprobiert:
 {{{
         Option      "XkbLayout"  "us,de"
         Option      "XkbVariant" "intl,neo"
         Option      "XkbOptions" "shift:both_capslock,grp:ctrls_toggle"
 }}}

 Damit funktioniert Shift auch im US-Layout, inklusive dem allseits
 beliebten Neo-CapsLock.

-- 
Ticket URL: <http://wiki.neo-layout.org/ticket/135#comment:22>
Neo-Layout <http://neo-layout.org/>
Das Neo-Tastaturlayout ist ein freies und ergonomisch optimiertes 
Tastaturlayout für die deutsche Sprache, das auch sehr viele Sonderzeichen 
direkt verfügbar macht.

Antwort per Email an