Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

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

My backup tar archive is 0.5 GB. The upload rate is limited so synching to the cloud I estimate to take 3 hours. The upload rate is difficult to change since the internet service is provided by the landlord.

Initially I expected Ubuntu One to keep the computer awake the whole 3 hours. My Settings > Power was set to 5 minutes. When I left the computer unattended and returned I saw that Ubuntu One was disabled so I re-enabled and I changed Settings > Power to Don't Suspend.

Many hours later I returned to see that Ubuntu One was again disabled so I re-enabled. It did not indicate the synch had completed and this is unexpected. Somehow I managed to get it to report that the synch was completed, perhaps by closing the application and re-opening it.

I tested with a smaller file of 2 MB and find that this is not a problem. How do I get it to report completion of large files without closing and reopening?

share|improve this question

If you want to write a shell script, then the u1sdtool program might be able to help. If you invoke it as:

u1sdtool --wait

It will block until it reaches "nirvana", which in this case is defined as no pending upload or download jobs, and no new activity in a 5 second period.

So you could write a script that disables suspend, calls u1sdtool and then re-enables suspend once it returns.

share|improve this answer

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.