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

I can't figure out how to get Ubuntu 11.10 to suspend when idle from a lightdm login screen. I've found methods to do this from gdm, but even those reference configuration files that aren't present in 11.10.


I'm pulling my hair out, and I don't have much left!

share|improve this question
Closed as too localized? It's got two upvotes and favourited twice so there's obviously some interest. Please reopen in case someone has an answer that they would like to provide. – Richard Ayotte Apr 27 '12 at 1:04
I'll just answer in a comment for now because this question is currently closed. sudo apt-get install sleepd The default is 10 minutes of inactivity. You can change the defaults by editing /etc/defaults/sleepd. Set the PARAMS with -u [number of seconds]. Check out the manpage for more options. – Richard Ayotte Apr 27 '12 at 1:46
Hey, thanks for the response! I had given up on this and forgotten about it. Cheers! – Bob Valiant Oct 27 '12 at 17:39
The sleepd method was a huge win in our dormitory as we moved from single user to ldap. (The machines just hanged on lightdm for hours) – gajdipajti Jan 30 '13 at 17:23
@RichardAyotte Please post your comment as an answer. The question is re-opened now :D – Kaz Wolfe Nov 24 '14 at 22:33

Install sleepd.

sudo apt-get install sleepd

By default, the system will go to sleep after 10 minutes of inactivity. Settings can be changed in /etc/defaults/sleepd. Set the PARAMS variable with -u [number of seconds] to set the number of seconds of inactivity that will cause the system to sleep. Check out the manpage for more options.

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.