Add xmodmap confs
authorColin Patrick Mccabe <cmccabe@alumni.cmu.edu>
Thu, 7 Mar 2013 19:46:39 +0000 (11:46 -0800)
committerColin Patrick Mccabe <cmccabe@alumni.cmu.edu>
Thu, 7 Mar 2013 19:47:49 +0000 (11:47 -0800)
Signed-off-by: Colin Patrick McCabe <cmccabe@cloudera.com>

xmodmap/caps-lock-to-control.xmodmap.conf [new file with mode: 0644]
xmodmap/left-windows-key-to-left-ctrl.xmodmap.conf [new file with mode: 0644]
xmodmap/right-windows-key-to-right-ctrl.xmodmap.conf [new file with mode: 0644]

diff --git a/xmodmap/caps-lock-to-control.xmodmap.conf b/xmodmap/caps-lock-to-control.xmodmap.conf
new file mode 100644 (file)
index 0000000..f79a3c4
--- /dev/null
@@ -0,0 +1,5 @@
+remove Lock = Caps_Lock
+remove Control = Control_L
+keysym Caps_Lock = Control_L
+add Lock = Caps_Lock
+add Control = Control_L
diff --git a/xmodmap/left-windows-key-to-left-ctrl.xmodmap.conf b/xmodmap/left-windows-key-to-left-ctrl.xmodmap.conf
new file mode 100644 (file)
index 0000000..d7de994
--- /dev/null
@@ -0,0 +1,5 @@
+clear Control
+clear Mod4
+keysym Super_L = Control_L
+add    Control = Control_L Control_R
+add    Mod4    = Super_L Super_R
diff --git a/xmodmap/right-windows-key-to-right-ctrl.xmodmap.conf b/xmodmap/right-windows-key-to-right-ctrl.xmodmap.conf
new file mode 100644 (file)
index 0000000..c093858
--- /dev/null
@@ -0,0 +1,5 @@
+clear Control
+clear Mod4
+keysym Super_R = Control_R
+add    Control = Control_L Control_R
+add    Mod4    = Super_L Super_R