screensaver and power manager dbus interfaces
Ikke
eikke at eikke.com
Thu Jun 1 17:43:41 EEST 2006
On do, 2006-06-01 at 12:54 +0100, Richard Hughes wrote:
> If the app crashes, then we get a bus disconnect from the :foo name,
> which we can automatically remove any lock(s) for the application.
> This
> is already done in g-p-m and g-s CVS.
Hmm, lots of this is what I wanted to do with CDIS :s
Anyway: whilst talking about that several weeks ago with several people,
consensus was it's not a good idea to do dbus monitoring and client
removal in a screensaver, and use "pings" instead. This reduces
complexity and bookmarking in the screensaver.
Next to that, care should be taken when using dbus in security-sensitive
applications, like a screensaver -> the always returning "abort when bus
crashes" issue. You cant allow a screensaver to abort at any time,
certainly not because of some external service.
Regards,
Ikke
More information about the xdg
mailing list