After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 644631 - Use gnome-session d-bus api to inhibit screensaver
Use gnome-session d-bus api to inhibit screensaver
Status: RESOLVED FIXED
Product: eog
Classification: Core
Component: general
2.91.x
Other Linux
: Normal normal
: ---
Assigned To: EOG Maintainers
EOG Maintainers
Depends on:
Blocks:
 
 
Reported: 2011-03-13 13:30 UTC by Frederic Peters
Modified: 2011-03-16 18:37 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Frederic Peters 2011-03-13 13:30:54 UTC
** (eog:6647): WARNING **: Problem inhibiting the screensaver: GDBus.Error:org.freedesktop.DBus.Error.UnknownMethod: Method "InhibitActivation" with signature "s" on interface "org.gnome.ScreenSaver" doesn't exist

This is because that D-Bus interface has been removed in latest gnome-screensaver; totem-scrsaver.c has been updated in totem source tree, perhaps it's just a matter of syncing it.
Comment 1 Felix Riemann 2011-03-16 18:37:09 UTC
(In reply to comment #0)
> This is because that D-Bus interface has been removed in latest
> gnome-screensaver; totem-scrsaver.c has been updated in totem source tree,
> perhaps it's just a matter of syncing it.

Yes, that seems to do it. :)

commit 609e8f7079b804dfddc3196034e48b30e57cb0b7
Author: Felix Riemann <>
Date:   Wed Mar 16 19:16:53 2011 +0100

    Merge latest TotemScreensaver changes into eog's local copy
    
    This includes several bugfixes and makes eog use the Inhibitor-API
    in gnome-session instead of gnome-screensaver.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=644631


This problem has been fixed in the development version. The fix will be available in the next major software release. Thank you for your bug report.