I'm stuck with a problem about Dropbox icon.
I'm using Debian 7 Wheezy
. I've installed Dropbox.
When I run manually:
dropbox start -i
-> Everything is fine and I've an icon on the top-right corner of my screen.
When I run a script with this command from a crontask (from the same user on both), everything is fine but there's not any icon on the top-right corner.
I've check and compare processes from the 2 different starts. Nothing is different except pids numbers.
Does anyone have an idea to solve this mystery?
Is there any difference between starting a script from cron
and starting it manually ? (I say it again, each time it's the same use who starts manual command or crontask).
Here is my script:
# my_script.sh
dropbox start | grep jour
if [ $? -eq 1 ]; then
echo 'dropbox is already running'
else
echo "Dropbox isn't started"
dropbox start -i
fi
Edit:
libappindicator1
is installed
dropbox.py
file by the way.