sts rev 11

Add support for idesk
author Christophe Lincoln <pankso@slitaz.org>
date Sun Apr 27 23:13:45 2014 +0200 (2014-04-27)
parents 56ed1d0589e5
children 730a96a62f3d
files openbox/sts-autostart sts-session
line diff
     1.1 --- a/openbox/sts-autostart	Sun Apr 27 16:40:01 2014 +0200
     1.2 +++ b/openbox/sts-autostart	Sun Apr 27 23:13:45 2014 +0200
     1.3 @@ -11,3 +11,6 @@
     1.4  
     1.5  # Desktop panel
     1.6  lxpanel -p sts &
     1.7 +
     1.8 +# Desktop icons
     1.9 +#(sleep 2; idesk &) &
     2.1 --- a/sts-session	Sun Apr 27 16:40:01 2014 +0200
     2.2 +++ b/sts-session	Sun Apr 27 23:13:45 2014 +0200
     2.3 @@ -27,6 +27,11 @@
     2.4  	cp -rf ${data}/lxpanel ${XDG_CONFIG_HOME}
     2.5  fi
     2.6  
     2.7 +# Idesk support
     2.8 +if [ -x "/usr/bin/idesk" ] && [ ! -d "${HOME}/.idesktop" ]; then
     2.9 +	mkdir -p ${HOME}/.idesktop
    2.10 +fi
    2.11 +
    2.12  # Start Openbox
    2.13  exec openbox --config-file ${obconf}/sts-rc.xml \
    2.14  	--startup ${obconf}/sts-autostart