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

How can I temporarily prevent Ubuntu from hibernating? Is there a binary available that makes use of an API similar to the one preventing screen savers from activating for hibernation? I'm utilizing a network service provided by my netbook without physically making use of the netbook, so it hibernates after the time specified in the power management preferences.

share|improve this question
up vote 2 down vote accepted

perhaps 'caffeine' could help?

share|improve this answer
Caffeine seems to miss the point, but provides enough to get me writing my own utility. Thanks. – Matt Joiner Feb 28 '11 at 2:09

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.