]> gitweb.fluxo.info Git - metadot.git/commitdiff
Running xmodmap twice
authorSilvio Rhatto <rhatto@riseup.net>
Wed, 5 Jun 2013 02:10:27 +0000 (23:10 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Wed, 5 Jun 2013 02:10:27 +0000 (23:10 -0300)
modules/profile/xsession.dot.link

index 4ff638912386925d54e0a532572fd696bd7d6d1d..6af48b3d3454909bfabca2f1641400d7aaf1fb9f 100755 (executable)
@@ -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