From 6bd938acf6f2db0e95e8714e4a8bd13087c0deb0 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Fri, 27 Jun 2014 17:09:20 -0300 Subject: Check if xscreensaver is available --- xsession.dot.link | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/xsession.dot.link b/xsession.dot.link index 9b084a0..97b0dcd 100755 --- a/xsession.dot.link +++ b/xsession.dot.link @@ -19,7 +19,9 @@ HOSTNAME="`cat /etc/hostname`" . $HOME/.profile # Start xscreensaver -xscreensaver -no-splash & +if [ -e "/usr/bin/xscreensaver" ]; then + xscreensaver -no-splash & +fi # Custom if [ -e "$HOME/.custom/xsession" ]; then -- cgit v1.2.3