10

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!

6
  • 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. Apr 27, 2012 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. Apr 27, 2012 at 1:46
  • Hey, thanks for the response! I had given up on this and forgotten about it. Cheers! Oct 27, 2012 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, 2013 at 17:23
  • @RichardAyotte Please post your comment as an answer. The question is re-opened now :D
    – Kaz Wolfe
    Nov 24, 2014 at 22:33

1 Answer 1

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.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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