diff options
author | Denis Barbier <barbier@linuxfr.org> | 2005-12-14 17:05:28 +0100 |
---|---|---|
committer | Sergey V. Udaltsov <svu@linnie-the-pooh.(none)> | 2009-04-07 22:38:06 +0100 |
commit | 4f58e24e239e61259d9f2e1cf65f2c7d5a63a4e5 (patch) | |
tree | 2f0799e4fe143a6a002c2047476b92865c839834 | |
parent | 768f6025e8f180b58f0001fb79675b9b3a97767d (diff) | |
download | xkeyboard-config-4f58e24e239e61259d9f2e1cf65f2c7d5a63a4e5.tar.gz |
symbols/group: add ScrollLock as a group switcher key
Requested by Andreas Kroschel (Debian bug#343287).
-rw-r--r-- | rules/base.o_s.part | 1 | ||||
-rw-r--r-- | rules/base.xml.in | 6 | ||||
-rw-r--r-- | symbols/group | 12 |
3 files changed, 19 insertions, 0 deletions
diff --git a/rules/base.o_s.part b/rules/base.o_s.part index c401790..0095d0e 100644 --- a/rules/base.o_s.part +++ b/rules/base.o_s.part @@ -36,6 +36,7 @@ grp:lctrl_toggle = +group(lctrl_toggle) grp:rctrl_toggle = +group(rctrl_toggle) grp:lalt_toggle = +group(lalt_toggle) + grp:sclk_toggle = +group(sclk_toggle) lv3:switch = +level3(switch) lv3:ralt_switch = +level3(ralt_switch) lv3:ralt_switch_multikey = +level3(ralt_switch_multikey) diff --git a/rules/base.xml.in b/rules/base.xml.in index e698a56..0906ccd 100644 --- a/rules/base.xml.in +++ b/rules/base.xml.in @@ -4349,6 +4349,12 @@ <_description>Right Ctrl</_description> </configItem> </option> + <option> + <configItem> + <name>grp:sclk_toggle</name> + <_description>Scroll Lock</_description> + </configItem> + </option> </group> <group allowMultipleSelection="true"> <!-- The key combination used to choose the 3rd (and 4th, together with Shift) diff --git a/symbols/group b/symbols/group index 0c7951e..1b23e31 100644 --- a/symbols/group +++ b/symbols/group @@ -346,3 +346,15 @@ xkb_symbols "alt_space_toggle" { symbols[Group1]= [ space, ISO_Next_Group ] }; }; + +// 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 ] + }; +}; + |