aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2013-06-04 23:10:27 -0300
committerSilvio Rhatto <rhatto@riseup.net>2013-06-04 23:10:27 -0300
commit0370ad29fdf7d1937f8141c768c94c65fcb6295c (patch)
tree85a924c84a12a3b134ed28de5d5d72895fd98cac
parentb8ea758b0413a40cc115651b9446ab08eec28b9c (diff)
downloadmetadot-0370ad29fdf7d1937f8141c768c94c65fcb6295c.tar.gz
metadot-0370ad29fdf7d1937f8141c768c94c65fcb6295c.tar.bz2
Running xmodmap twice
-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