How to set Dropbox startup delay in Ubuntu?

link|improve this question

feedback

1 Answer

up vote 3 down vote accepted

My general solution is this script:

#!/bin/sh

sleep $1
shift
exec "$@"

Put that somewhere in your $PATH in an executable file called "delay". Here's an example of how to use this script:

delay 60 dropbox

That will wait 60 seconds, then execute dropbox. You can add delays to your startup programs by editing their commands in "Startup Applications".

link|improve this answer
delay 60 dropbox Did not work in my Ubuntu. After some reading i found: sh delay 60 dropbox, or: ./delay 60 dropbox That did the job in my box. //TS. – user43189 Jul 18 '10 at 1:57
That's because you didn't put the executable in your $PATH. – badp Jul 20 '10 at 13:46
feedback

protected by Community Jul 9 '11 at 17:35

This question is protected to prevent "thanks!", "me too!", or spam answers by new users. To answer it, you must have earned at least 10 reputation on this site.

Not the answer you're looking for? Browse other questions tagged or ask your own question.