aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Xmodmap.dot.link15
-rwxr-xr-xxsessionrc.dot.link5
2 files changed, 20 insertions, 0 deletions
diff --git a/Xmodmap.dot.link b/Xmodmap.dot.link
new file mode 100644
index 0000000..1028fa2
--- /dev/null
+++ b/Xmodmap.dot.link
@@ -0,0 +1,15 @@
+! Map Menu into Super_L
+keycode 135 = Super_L
+
+! Map AltGr into Alt_L
+keycode 108 = Alt_L
+
+! XF86Back
+keycode 166 = Prior
+
+! XF86Next
+keycode 167 = Next
+
+! Make Shift work like Control
+!clear lock
+!keycode 66 = Control_L
diff --git a/xsessionrc.dot.link b/xsessionrc.dot.link
index f91821b..0febb1f 100755
--- a/xsessionrc.dot.link
+++ b/xsessionrc.dot.link
@@ -82,6 +82,11 @@ for program in $PROGRAMS; do
$program &
done
+# Apply default keyboard configuration
+if [ -f "$HOME/.Xmodmap" ]; then
+ xmodmap $HOME/.Xmodmap
+fi
+
# Apply custom keyboard configuration
if [ -f "$HOME/.Xmodmaps/$HOSTNAME" ]; then
xmodmap $HOME/.Xmodmaps/$HOSTNAME