Comment 5 for bug 11670

Revision history for this message
Sebastien Bacher (seb128) wrote :

status update

Now we have /usr/sbin/pmi, we can query it for hibernate or sleep and run the
corresponding action.

For the frontend part gnome-session is easy to change to add the options to the
list of actions, but using gdmflexiserver is not easy as expected.
gdmflexiserver gives a command to gdm, which is runned when you get back to gdm
... but we don't want to get back to gdm here. Changing that doesn't seems
really easy (I've sent a mail to the gdm upstream maintainer about this, waiting
for a reply). We can also use gksudo here, but having to enter a password is not
really nice.

Cc: thom since he's working on this too.