From: W. Trevor King Date: Thu, 1 Dec 2011 18:02:21 +0000 (-0500) Subject: Only run xmodmap in .xinitrc if you have the executable installed in your PATH. X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=93a7521a63bbda2f2e77cceac11cbafff4a2a89c;p=dotfiles-public.git Only run xmodmap in .xinitrc if you have the executable installed in your PATH. --- diff --git a/src/.xinitrc b/src/.xinitrc old mode 100644 new mode 100755 index 9e5775a..678fcc3 --- a/src/.xinitrc +++ b/src/.xinitrc @@ -15,6 +15,8 @@ if [ -e /usr/bin/asus_acpid ]; then fi # Set up keybindings -xmodmap ~/.Xmodmap +if [ -n $(which xmodmap) ]; then + xmodmap ~/.Xmodmap +fi exec startfluxbox