Adding an argument to Sleeping signal

Phillip Susi psusi at cfl.rr.com
Mon Mar 7 12:54:35 PST 2011


Could an argument about whether we are suspending or hibernating be
added to org.freedesktop.UPower.Sleeping?

I ask because I have noticed that g-p-m does a few things like lock the
screen and start the screen saver and notify network-manager when it
initiates a suspend or hibernation.  This used to be fine when it was in
charge of this, but now that UPower handles it, other clients can
initiate suspend or hibernate and bypass gpm starting the screen saver.
 I think that this should be fixed by having gpm perform these tasks in
response to the Sleeping signal, but it needs to know whether it is
suspend or hibernate because its behavior can be configured to differ
between the two.


More information about the devkit-devel mailing list