Brilliant idea? Involves suspend to disk

Matthew Garrett mjg59 at srcf.ucam.org
Mon Oct 18 17:42:38 UTC 2004


On Mon, 2004-10-18 at 08:27 -0400, Bryan Pizzuti wrote:
> Ok, something I've gotten used to running Ubuntu in a VMWare session and
> all, is just having the thing suspended to disk while at the logon screen.
> Is there any way to get GDM to do this in "real life?" Basically, be at the
> logon screen and have "Suspend to disk" as an action, instead of a full
> shutdown?  Since I haven't installed it in a "real life" machine yet, I
> don't know if this comes up by itself as an option...basically, VMWare
> doesn't have a lot of APM going. ;)  But for a machine that powers on and
> off a lot, like a laptop, for instance, just being able to log out and then
> suspend to disk instead of going down for full shutdown all the time would
> seem to be a great asset. And it's NOT like Linux needs to be rebooted that
> often. ;)

This is possible at the moment, but a bit difficult. The Warty kernels
don't include suspend to disk support. If you're happy to rebuild
kernels, you can switch on "software suspend" in the kernel
configuration and try that. gdm can be configured to offer a suspend
option in the system menu, and you can then use that to trigger a
suspend to disk.

We'll be looking into this more closely for Hoary (the next release),
and with a bit of luck we'll have solid suspend to RAM support as well.

-- 
Matthew Garrett | mjg59 at srcf.ucam.org





More information about the ubuntu-users mailing list