This only handles the GDM greeter. As I mention in the upstream bug (which is now closed, since that hibernate menu is Ubuntu-specific apparently -- I didn't realize), there are better ways of handling it (via hal like you mention):
"(B) It would be nicer to use HAL to ask the system if it can hibernate. We could check power_management.can_hibernate which tells us if hibernation support is even compiled into the kernel. And we could iterate over the volumes, checking the fstype of each for "swap" -- a cleaner way to check for swaps." Which should be done in both GDM, gnome-session, and FUSA. This patch just does it for GDM, and in the 'easy' way. -- Don't offer Hibernate option if no swap https://bugs.launchpad.net/bugs/320208 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs