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 687381 - SessionManager.InhibitRemote doesn't inhibit screensaver
SessionManager.InhibitRemote doesn't inhibit screensaver
Status: RESOLVED DUPLICATE of bug 686339
Product: gnome-session
Classification: Core
Component: gnome-session
3.6.x
Other Linux
: Normal normal
: ---
Assigned To: Session Maintainers
Session Maintainers
Depends on:
Blocks:
 
 
Reported: 2012-11-01 22:45 UTC by Tommy Brunn
Modified: 2013-08-20 14:46 UTC
See Also:
GNOME target: ---
GNOME version: 3.5/3.6



Description Tommy Brunn 2012-11-01 22:45:09 UTC
I'm using a gnome-shell extension to inhibit the screensaver, but even though the application is active, the screen still goes to sleep after a number of minutes. This is using gnome-session 3.6.0.

I tested it by activating the extension (https://github.com/eonpatapon/gnome-shell-extension-caffeine/) and then verifying that it should indeed be inhibiting the screensaver, as such:

nevon@lolbox:~$ gdbus call --session --dest org.gnome.SessionManager --object-path /org/gnome/SessionManager --method org.gnome.SessionManager.GetInhibitors
([objectpath '/org/gnome/SessionManager/Inhibitor2'],)
nevon@lolbox:~$ gdbus call --session --dest org.gnome.SessionManager --object-path /org/gnome/SessionManager/Inhibitor2 --method org.gnome.SessionManager.Inhibitor.GetReason
('Inhibit by Caffeine',)
nevon@lolbox:~$ gdbus call --session --dest org.gnome.SessionManager --object-path /org/gnome/SessionManager --method org.gnome.SessionManager.IsInhibited 8
(true,)

Do let me know if there's any more information you need, and I will do my best to provide it.
Comment 1 Matthias Clasen 2012-11-05 00:58:27 UTC
Works fine here, with gnome-shell 3.6.1.
Comment 2 Bastien Nocera 2013-01-13 19:26:11 UTC
Looks like a dupe of bug 686339 which was fixed in gnome-settings-daemon 3.6.2.

*** This bug has been marked as a duplicate of bug 686339 ***
Comment 3 shaneonabike 2013-08-20 13:54:49 UTC
I'm not sure this is resolved. In Ubuntu 13.04 gnome-settings-daemon 3.6.4 it doesn't work :(

I tried the same tests as above and got the exact same results but the monitor dims regardless. I'll update the other ticket also.
Comment 4 Matthias Clasen 2013-08-20 14:35:04 UTC
if it doesn't work in ubuntu, please file a bug in their bug tracker.
They are patching multiple desktop components, and it is hard for us to know which part will work as intended and which won't.
Comment 5 shaneonabike 2013-08-20 14:46:46 UTC
Sorry I wasn't clear on that. I am using Ubuntu 13.04 with Gnome installed. Should I still do that then?