diff options
author | Aaron Culich <aculich@gmail.com> | 2010-10-12 10:50:12 -0700 |
---|---|---|
committer | Sergey V. Udaltsov <svu@gnome.org> | 2010-11-15 21:26:29 +0000 |
commit | bd0da89d22179c3eefe6a198cf05c02ddd606c4a (patch) | |
tree | 3bca62a4851399b37382357148bf189ab14347fe | |
parent | 8fbb7408d1ffa35685ea07675f14e7a9fa823114 (diff) |
Added ctrl:lctrl_meta
-rw-r--r-- | rules/base.o_s.part | 1 | ||||
-rw-r--r-- | rules/base.xml.in | 6 | ||||
-rw-r--r-- | rules/xfree98 | 1 | ||||
-rw-r--r-- | symbols/ctrl | 5 |
4 files changed, 13 insertions, 0 deletions
diff --git a/rules/base.o_s.part b/rules/base.o_s.part index 70c0fdfe..6ce87e39 100644 --- a/rules/base.o_s.part +++ b/rules/base.o_s.part @@ -60,6 +60,7 @@ caps:hyper = +capslock(hyper) caps:none = +capslock(none) ctrl:nocaps = +ctrl(nocaps) + ctrl:lctrl_meta = +ctrl(lctrl_meta) ctrl:swapcaps = +ctrl(swapcaps) ctrl:ctrl_ac = +ctrl(ctrl_ac) ctrl:ctrl_aa = +ctrl(ctrl_aa) diff --git a/rules/base.xml.in b/rules/base.xml.in index 923e5934..20a6249e 100644 --- a/rules/base.xml.in +++ b/rules/base.xml.in @@ -4994,6 +4994,12 @@ </option> <option> <configItem> + <name>ctrl:lctrl_meta</name> + <_description>Meta on Left Ctrl</_description> + </configItem> + </option> + <option> + <configItem> <name>ctrl:swapcaps</name> <_description>Swap Ctrl and Caps Lock</_description> </configItem> diff --git a/rules/xfree98 b/rules/xfree98 index ca7a18bf..dd4802fd 100644 --- a/rules/xfree98 +++ b/rules/xfree98 @@ -23,6 +23,7 @@ grp:ctrl_shift_toggle = +group(ctrl_shift_toggle) grp:ctrl_alt_toggle = +group(ctrl_alt_toggle) ctrl:nocaps = +ctrl(nocaps) + ctrl:lctrl_meta = +ctrl(lctrl_meta) ctrl:swapcaps = +ctrl(swapcaps) ctrl:ctrl_ac = +ctrl(ctrl_ac) ctrl:ctrl_aa = +ctrl(ctrl_aa) diff --git a/symbols/ctrl b/symbols/ctrl index 8ddf0934..3c8274b4 100644 --- a/symbols/ctrl +++ b/symbols/ctrl @@ -9,6 +9,11 @@ xkb_symbols "nocaps" { modifier_map Control { <CAPS>, <LCTL> }; }; +// replace left control with Meta +xkb_symbols "lctrl_meta" { + replace key <LCTL> { [ Meta_L ] }; +}; + // swap the caps lock key with the left control key partial modifier_keys xkb_symbols "swapcaps" { |