On Tue, 2009-03-31 at 13:57 +0200, Francesco Potorti` wrote: > I have now Scroll Lock configured to change keyboard layout, and > working. I run: > > $ /usr/share/bug/xserver-xorg/script 3> /tmp/xorg-bug-521867-scrlck.txt > $ xkbcomp -xkb :0 - >> /tmp/xorg-bug-521867-scrlck.txt > > Then I set both shift keys to change keyboard layout and reset Scroll > Lock. Pressing double shift has no apparent effect. I run: > > $ /usr/share/bug/xserver-xorg/script 3> /tmp/xorg-bug-521867-dbshft.txt > $ xkbcomp -xkb :0 - >> /tmp/xorg-bug-521867-dbshft.txt > > I append both files > Thanks. For reference, here's a diff between these files:
--- xorg-bug-521867-scrlck.txt 2009-03-31 14:27:45.000000000 +0200 +++ xorg-bug-521867-dbshft.txt 2009-03-31 14:27:49.000000000 +0200 @@ -1861,7 +1861,7 @@ }; }; -xkb_symbols "pc+us+it:2+altwin(meta_alt)+group(sclk_toggle)+level3(ralt_switch_multikey)+compose(caps)+eurosign(" { +xkb_symbols "pc+us+it:2+altwin(meta_alt)+group(shifts_toggle)+level3(ralt_switch_multikey)+compose(caps)+eurosig" { name[group1]="USA"; name[group2]="Italy"; @@ -2072,7 +2072,7 @@ }; key <LFSH> { type= "ALPHABETIC", - symbols[Group1]= [ Shift_L, NoSymbol ], + symbols[Group1]= [ Shift_L, ISO_Prev_Group ], actions[Group1]= [ SetMods(modifiers=Shift), SetMods(modifiers=Shift+Lock,clearLocks) ] }; key <BKSL> { @@ -2139,7 +2139,7 @@ }; key <RTSH> { type= "ALPHABETIC", - symbols[Group1]= [ Shift_R, NoSymbol ], + symbols[Group1]= [ Shift_R, ISO_Next_Group ], actions[Group1]= [ SetMods(modifiers=Shift), SetMods(modifiers=Shift+Lock,clearLocks) ] }; key <KPMU> { @@ -2196,7 +2196,7 @@ symbols[Group1]= [ F10, XF86_Switch_VT_10 ] }; key <NMLK> { [ Num_Lock, Pointer_EnableKeys ] }; - key <SCLK> { [ ISO_Next_Group ] }; + key <SCLK> { [ Scroll_Lock ] }; key <KP7> { [ KP_Home, KP_7 ] }; key <KP8> { [ KP_Up, KP_8 ] }; key <KP9> { [ KP_Prior, KP_9 ] }; The type = "ALPHABETIC" for left and right shift seems weird. Also I don't know why they have this Group1 thing for symbols. What's the output of xprop -root _XKB_RULES_NAMES btw? Cheers, Julien -- To UNSUBSCRIBE, email to debian-x-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org