diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2014-06-27 17:09:20 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2014-06-27 17:09:20 -0300 |
commit | 6bd938acf6f2db0e95e8714e4a8bd13087c0deb0 (patch) | |
tree | 8144927926e02d6ac651153c83476c798da86b05 | |
parent | 009104e47b8231eb51cbf6f9aa743bfeac5cc61f (diff) | |
download | profile-6bd938acf6f2db0e95e8714e4a8bd13087c0deb0.tar.gz profile-6bd938acf6f2db0e95e8714e4a8bd13087c0deb0.tar.bz2 |
Check if xscreensaver is available
-rwxr-xr-x | xsession.dot.link | 4 |
1 files changed, 3 insertions, 1 deletions
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 |