From: Silvio Rhatto Date: Wed, 5 Jun 2013 02:10:27 +0000 (-0300) Subject: Running xmodmap twice X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=0370ad29fdf7d1937f8141c768c94c65fcb6295c;p=metadot.git Running xmodmap twice --- 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