From 0370ad29fdf7d1937f8141c768c94c65fcb6295c Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Tue, 4 Jun 2013 23:10:27 -0300 Subject: Running xmodmap twice --- modules/profile/xsession.dot.link | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'modules') 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 -- cgit v1.2.3