Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Is it possible, or rather is there a way to automatically shutdown Ubuntu (I'm running 12.04) when Dropbox stops synching? That would really suit my needs and cut power consumption.

Thanks beforehand.

share|improve this question

I would create a script that runs every 30 seconds (after being manually invoked by the user), and checks the output of the command dropbox status. If the status is found to be Idle for 3-4 consecutive runs, I would then issue the command for shutdown.

share|improve this answer
Thanks Marios Zindillis, but I don't know how to do that. Any instructions? Please. – Ederico Jul 30 '12 at 19:48

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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