Added ctrl:lctrl_meta
authorAaron Culich <aculich@gmail.com>
Tue, 12 Oct 2010 17:50:12 +0000 (10:50 -0700)
committerSergey V. Udaltsov <svu@gnome.org>
Mon, 15 Nov 2010 21:26:29 +0000 (21:26 +0000)
rules/base.o_s.part
rules/base.xml.in
rules/xfree98
symbols/ctrl

index 70c0fdf..6ce87e3 100644 (file)
@@ -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)
index 923e593..20a6249 100644 (file)
       </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>
index ca7a18b..dd4802f 100644 (file)
@@ -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)
index 8ddf093..3c8274b 100644 (file)
@@ -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" {