org.freedesktop.SessionManagement

Richard Hughes hughsient at gmail.com
Tue Apr 3 01:07:13 PDT 2007


On Mon, 2007-04-02 at 20:09 -0400, Havoc Pennington wrote:
> Richard Hughes wrote:
> > And also provides a method for applications to register a callback for,
> > something like:
> > 
> > Register(void)
> 
> Just a signal should be fine, no? (if the idea is to signal on logout)

No, we need to provide a way for clients to delay (think to save a file)
or to cancel the shutdown (say encoding a file), although the latter use
case can be dealt with using the more suited inhibit system.

> Though this is more complicated than just notification, apps need to be 
> able to block it also...

Sure.

> The name SessionManagement here seems to imply trying to comprehensively 
> offer a non-ICE way to talk to the session manager (which would be very 
> nice, I have to say), so it seems like a fairly comprehensive 
> thinking-through of this interface as a complete way to deal with the SM 
> would be needed?

Sure, I was posting initially to see if I was smoking crack (i.e. making
the problem more complex that it is).

DanW, how does this compare (overlap!) with EggSMClient?

Richard.





More information about the xdg mailing list