Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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.

EXAMPLE: http://ubuntuforums.org/showthread.php?t=1559941

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

share|improve this question
2  
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
3  
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
1  
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 –  Whaaaaaat Nov 24 at 22:33

1 Answer 1

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

 
discard

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.