aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xmodules/profile/xsession.dot.link5
1 files changed, 5 insertions, 0 deletions
diff --git a/modules/profile/xsession.dot.link b/modules/profile/xsession.dot.link
index 4ff6389..6af48b3 100755
--- a/modules/profile/xsession.dot.link
+++ b/modules/profile/xsession.dot.link
@@ -48,6 +48,11 @@ done
# Apply custom keyboard configuration
if [ -f "$HOME/.Xmodmaps/$HOSTNAME" ]; then
xmodmap $HOME/.Xmodmaps/$HOSTNAME
+
+ # Why xmodmap has to run twice to some changes take place?
+ # https://faq.i3wm.org/question/558/xmodmap-loading/
+ # https://bugs.launchpad.net/ubuntu/+source/gdm/+bug/700309
+ xmodmap $HOME/.Xmodmaps/$HOSTNAME
fi
# Fix mumble configuration, which varies depending on machine audio