aboutsummaryrefslogtreecommitdiffstats
path: root/Xmodmap
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2013-01-14 00:58:28 +0100
committerMattias Andrée <maandree@operamail.com>2013-01-14 00:58:28 +0100
commit342486cf705e98d5088374d78139ce12139611fe (patch)
tree301817b404a3c00f064d75ed42eb349e05982415 /Xmodmap
parentissues (diff)
downloadmy-keyboard-342486cf705e98d5088374d78139ce12139611fe.tar.gz
my-keyboard-342486cf705e98d5088374d78139ce12139611fe.tar.bz2
my-keyboard-342486cf705e98d5088374d78139ce12139611fe.tar.xz
my /etc/X11/xinit/.Xmodmap, ut sets capslock to control, and [for the sake of laptops] puts compose on lctrl
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to 'Xmodmap')
-rw-r--r--Xmodmap7
1 files changed, 7 insertions, 0 deletions
diff --git a/Xmodmap b/Xmodmap
new file mode 100644
index 0000000..a4ade9a
--- /dev/null
+++ b/Xmodmap
@@ -0,0 +1,7 @@
+keysym Control_L = Multi_key
+remove Lock = Caps_Lock
+remove Control = Control_L
+!keysym Control_L = Caps_Lock
+keysym Caps_Lock = Control_L
+!add Lock = Caps_Lock
+add Control = Control_L