GNOME Bugzilla – Bug 567908
inhibit session instead of screensaver
Last modified: 2011-03-20 04:44:55 UTC
There is now an API in gnome-session that consolidates the various inhibit apis. http://svn.gnome.org/viewvc/gnome-session/trunk/gnome-session/org.gnome.SessionManager.xml?view=markup basically: Inhibit ("totem", toplevel-xid, "Playing movie", 8, &cookie) where totem is the name of the app-id / desktop file that describes the app (ala gio).
Does the new gnome-screensaver use that already? How can I check the current inhibit status of the session for debugging purposes?
Screensaver does not use it yet. Hope to have that done in the next day or so. You can use GetInhibitors method on the session to debug. Or just use d-feet to look for object paths for each of the inhibitor clients. I think I also have a test tool in the session source iirc.
Hello. I'm using gnome-power-manager 2.26.1-0ubuntu3 and currently totem 2.26.2-0ubuntu1 is not capable to stop the screen to blank after the time set in gnome-power-manager. Is this bug the cause of my problem?
(In reply to comment #3) > Hello. I'm using gnome-power-manager 2.26.1-0ubuntu3 and currently totem > 2.26.2-0ubuntu1 is not capable to stop the screen to blank after the time set > in gnome-power-manager. > Is this bug the cause of my problem? > See bug 580562
I've been reporting this bug in launchpad. Their investigation lead them to a lake of totem to call the right API. https://bugs.launchpad.net/ubuntu/+source/totem/+bug/381116 Totem version : 2.28.1 I confirm the problem for Totem and the Totem plugin.
(In reply to comment #5) > I've been reporting this bug in launchpad. Their investigation lead them to a > lake of totem to call the right API. > > https://bugs.launchpad.net/ubuntu/+source/totem/+bug/381116 > > > Totem version : 2.28.1 > I confirm the problem for Totem and the Totem plugin. Then they're wrong. The API is still there (or should still be there) in gnome-screensaver, so there's no reasons why it shouldn't work as expected.
Looks fixed: commit c6fc9c4785904cda4b648dbdbd24958d1010c4a1 Author: Bastien Nocera <hadess@hadess.net> Date: Thu Mar 10 14:01:06 2011 +0000 lib: Use gnome-session to Inhibit idle