all repos — nixfiles @ c1f68b429dfd508b536e3115c18b58ba9065970e

System and user configuration, managed by nix and home-manager

Add xmodmaprc for Marvin the ThinkPad
Alan Pearce alan@alanpearce.co.uk
Tue, 07 Apr 2015 22:58:52 +0100
commit

c1f68b429dfd508b536e3115c18b58ba9065970e

parent

25ee0b7becb0830e3b9273378d473a807ee1471b

1 files changed, 20 insertions(+), 0 deletions(-)

jump to
A host-marvin/xmodmaprc
@@ -0,0 +1,20 @@+keycode 37 = Super_L NoSymbol Super_L
+keycode 133 = Alt_L Meta_L Alt_L Meta_L
+keycode 64 = Control_L NoSymbol Control_L
+
+! Thinkpad has PrtSc next to Alt_R
+keycode 108 = Control_R NoSymbol Control_R
+keycode 107 = ISO_Level3_Shift NoSymbol ISO_Level3_Shift
+keycode 105 = Super_R NoSymbol Super_R
+! For external keyboards
+keycode 134 = Super_R NoSymbol Super_R
+
+clear Control
+clear Mod1
+clear Mod3
+clear Mod4
+
+add Control = Control_L Control_R
+add Mod1 = Alt_L Meta_L
+add Mod4 = Super_L Super_R Super_L Hyper_L
+add Mod5 = ISO_Level3_Shift Mode_switch