xfce4-session DBus signals

Ali Abdallah aliov at xfce.org
Sun Apr 12 14:43:29 CEST 2009


Here is the situation:

LID close event configured to do suspend (in xfpm or gpm).
User clicks on logout menu and the logout dialog opens.
User clicks on suspend and close the laptop screen immediately.

Laptop lid close event, power manager sends Suspend method.
Xfce4 session sends Suspend method.
User wakes up the system again, system goes into Suspend mode again, 
which is bad.

Unfortunately xfce4-session doesn't provide something like Exit dialog 
open, or doing shutdown signals, i spend the morning trying to figure 
out a work-around for that, but i couldn't even if i try to add match to 
Shutdown messages send to HALD, HALD message filters runs first, no luck.

So please any idea.

More information about the Xfce4-dev mailing list