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!

Bob Valiant
  • 101
  • 4

1 Answers1

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.