From 93a7521a63bbda2f2e77cceac11cbafff4a2a89c Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Thu, 1 Dec 2011 13:02:21 -0500 Subject: [PATCH] Only run xmodmap in .xinitrc if you have the executable installed in your PATH. --- src/.xinitrc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) mode change 100644 => 100755 src/.xinitrc 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 -- 2.26.2