Comment 43 for bug 428884

Revision history for this message
Reinhard Tartler (siretart) wrote : Re: [Bug 428884] Re: gnome-screensaver --poke functionality does no longer inhibit screen blanking

Chris Coulson <email address hidden> writes:

> Please don't use the org.gnome.ScreenSaver interface, as it has other
> issues (such as leaking inhibitors if a process exits without removing
> them).

gnome-screensaver --poke does use exactly this interface. The earlier
mentioned dbus call does therefore exactly the same as using the Inhibit
command, which is now suddenly deprecated without real communication
with downstreams.

It would be really great if an SRU could make the org.gnome.ScreenSaver
interface again. A patch was proposed for this, but you defacto vetoed
it because it supposely would make gnome-screensaver crash if the XSS
extension is not available, correct? Did you have a chance to improve
the patch so that we can include it in an SRU?

> Use the org.gnome.SessionManager interface instead, and gnome-
> session will clean up inhibitors if the registering application exits
> without removing them (ie, if it crashes. This is currently an issue
> with Totem, which uses the problematic interface)

Is there an portable interface that preferably works in both Gnome and KDE?

--
Gruesse/greetings,
Reinhard Tartler, KeyID 945348A4