GNOME Bugzilla – Bug 687381
SessionManager.InhibitRemote doesn't inhibit screensaver
Last modified: 2013-08-20 14:46:46 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.
Works fine here, with gnome-shell 3.6.1.
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 ***
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.
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.
Sorry I wasn't clear on that. I am using Ubuntu 13.04 with Gnome installed. Should I still do that then?