Program load on startup

Yrjö Hatakka yka at mbnet.fi
Fri Oct 3 19:52:56 CEST 2003


Viestissä Maanantai 29. Syyskuuta 2003 08:35, Biju Chacko kirjoitti:
>
> Add a link or an script to ~/Desktop/Autostart.
>

I have this 

yka at cartman yka $ ls -l Desktop/Autostart/
total 4
-rwxr-xr-x    1 yka      users         138 Sep 28 11:23 test.sh
yka at cartman yka $ 

contents of the test.sh is:

#!/bin/sh
XFCE=$HOME/XFCE-Autostart
if [ -f $XFCE ]
then
        num=`cat $XFCE`
else
        echo "0" > $XFCE
fi
num=`expr $num + 1`
echo $num > $XFCE


yet no XFCE-Autostart file is created in my HOME
whats' wrong?

Everything else works OK

distro is Gentoo

yka at home





More information about the Xfce mailing list