Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

How to set Dropbox startup delay in Ubuntu?

share|improve this question

1 Answer 1

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".

share|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

protected by Community Jul 9 '11 at 17:35

Thank you for your interest in this question. Because it has attracted low-quality answers, posting an answer now requires 10 reputation on this site.

Would you like to answer one of these unanswered questions instead?

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