Comment 24 for bug 389857

Revision history for this message
Scott Howard (showard314) wrote : Re: [Bug 389857] Re: [karmic] inhibit applet not working

@Noel: The intention of the applet is to inhibit auto-standby.
However, the new version in the above linked ppa has a patch which
might also inhibit the screen saver as well since it will inhibit the
gnome session from going idle. I'm not 100% sure though. Does either
version (karmic official repo our the above ppa) inhibit the screen
saver?

On Wed, Sep 2, 2009 at 9:07 PM, Noel J. Bergman<email address hidden> wrote:
> Scott, should this also be inhibiting screen-saving?
>
> --
> [karmic] inhibit applet not working
> https://bugs.launchpad.net/bugs/389857
> You received this bug notification because you are a direct subscriber
> of the bug.
>
> Status in Gnome Powermanager: New
> Status in “gnome-power-manager” package in Ubuntu: Triaged
>
> Bug description:
> Binary package hint: gnome-power-manager
>
> The inhibit applet does not work in Karmic (both as a jaunty upgrade and in a Live CD environment, on a desktop and a laptop).
>
> test case:
> After adding the applet to the gnome panel, the applet icon appears normal, and the tooltip says "Automatic sleep enabled".
> Click on the applet.
>
> Result:
> Clicking on the applet icon produces no effect. The inhibit applet's icon and tooltip does not change, and gnome-power is not inhibited (the screen will still blank/suspend as per power profile).
>
> Expected result:
> clicking on the applet changes the tool tip and icon to display "automatic sleep disabled" (or something similar), and the applet should prevent the screen from blanking or suspending.
>
>
> Also, from the terminal:
>
> yelo3@yelo3-laptop:~/bin$ /usr/bin/gnome-power-manager-inhibit test
> Traceback (most recent call last):
>  File "/usr/bin/gnome-power-manager-inhibit", line 34, in <module>
>    cookie = gpm.Inhibit("Command Line: " + sys.argv[1], "Long Execution")
>  File "/usr/lib/pymodules/python2.6/dbus/proxies.py", line 68, in __call__
>    return self._proxy_method(*args, **keywords)
>  File "/usr/lib/pymodules/python2.6/dbus/proxies.py", line 140, in __call__
>    **keywords)
>  File "/usr/lib/pymodules/python2.6/dbus/connection.py", line 620, in call_blocking
>    message, timeout)
> dbus.exceptions.DBusException: org.freedesktop.DBus.Error.UnknownMethod: Method "Inhibit" with signature "ss" on interface "(null)" doesn't exist
>