Package: xlibs Version: 4.3.0-7 After upgrading xfree from 4.2.x in Debian testing, scroll lock key stopped working as group toggle key. Because it was working this way years back and because scroll lock led is used to indicate second group, i think, it should be used this way again. I wrote a little patch to enable it again. I am using Debian GNU/Linux testing
-- Michal Kašpar
diff -ru xc.orig/programs/xkbcomp/rules/xfree86 xc/programs/xkbcomp/rules/xfree86 --- xc.orig/programs/xkbcomp/rules/xfree86 2004-04-05 11:56:50.000000000 +0200 +++ xc/programs/xkbcomp/rules/xfree86 2004-04-05 12:06:19.000000000 +0200 @@ -146,6 +146,7 @@ grp:menu_toggle = +group(menu_toggle) grp:lwin_toggle = +group(lwin_toggle) grp:rwin_toggle = +group(rwin_toggle) + grp:sclk_toggle = +group(sclk_toggle) grp:lshift_toggle = +group(lshift_toggle) grp:rshift_toggle = +group(rshift_toggle) grp:lctrl_toggle = +group(lctrl_toggle) diff -ru xc.orig/programs/xkbcomp/rules/xfree86.lst xc/programs/xkbcomp/rules/xfree86.lst --- xc.orig/programs/xkbcomp/rules/xfree86.lst 2004-04-05 11:56:50.000000000 +0200 +++ xc/programs/xkbcomp/rules/xfree86.lst 2004-04-05 12:39:10.000000000 +0200 @@ -211,6 +211,7 @@ grp:menu_toggle Menu key changes group grp:lwin_toggle Left Win-key changes group grp:rwin_toggle Right Win-key changes group + grp:sclk_toggle Scroll Lock changes group grp:lshift_toggle Left Shift key changes group grp:rshift_toggle Right Shift key changes group grp:lctrl_toggle Left Ctrl key changes group diff -ru xc.orig/programs/xkbcomp/rules/xfree86.xml xc/programs/xkbcomp/rules/xfree86.xml --- xc.orig/programs/xkbcomp/rules/xfree86.xml 2004-04-05 11:56:50.000000000 +0200 +++ xc/programs/xkbcomp/rules/xfree86.xml 2004-04-05 12:29:53.000000000 +0200 @@ -2338,6 +2338,14 @@ </option> <option> <configItem> + <name>grp:sclk_toggle</name> + <description>Scroll Lock changes group</description> + <description xml:lang="bg">Scroll Lock ŃĐźĐľĐ˝Ń ĐłŃŃпаŃĐ°</description> + <description xml:lang="ru">Scroll Lock ПонŃĐľŃ ĐłŃŃппŃ</description> + </configItem> + </option> + <option> + <configItem> <name>grp:lshift_toggle</name> <description>Left Shift key changes group</description> <description xml:lang="ru">ĐĐľĐ˛Đ°Ń ĐşĐťĐ°Đ˛Đ¸ŃĐ° Shift ПонŃĐľŃ ĐłŃŃппŃ</description> diff -ru xc.orig/programs/xkbcomp/symbols/group xc/programs/xkbcomp/symbols/group --- xc.orig/programs/xkbcomp/symbols/group 2004-04-05 11:56:51.000000000 +0200 +++ xc/programs/xkbcomp/symbols/group 2004-04-05 12:05:36.000000000 +0200 @@ -195,6 +195,18 @@ }; }; +// using the group(sclk_toggle) map, pressing the Scroll Lock key +// toggles groups. +partial modifier_keys +xkb_symbols "sclk_toggle" { + virtual_modifiers AltGr; + key <SCLK> { + virtualMods= AltGr, + symbols[Group1] = [ ISO_Next_Group ] + }; +}; + + // Both Ctrls pressed together toggle group partial modifier_keys xkb_symbols "ctrls_toggle" {