Bug#366290: gnome-power-manager: Fails to display notification icon when launched

Nikolaus Schulz microschulz at web.de
Mon Oct 22 09:20:31 UTC 2007


On Wed, Sep 06, 2006 at 04:40:17AM +0100, Adonikam Virgo wrote:
> gnome-power-manager still seems to require a local gconf entry for this key:
> 
> adonikam at fire:~$ pgrep -f gnome-power-manager
> adonikam at fire:~$ gconftool-2 -u /apps/gnome-power-manager/display_icon_policy
> adonikam at fire:~$ gnome-power-manager --no-daemon &
> [1] 15538
> adonikam at fire:~$ # No icon
> adonikam at fire:~$ gconftool-2 -s -t string
> /apps/gnome-power-manager/display_icon_policy always
> adonikam at fire:~$ # Icon appears
> adonikam at fire:~$ dpkg -l gnome-power-manager | tail -n1
> ii  gnome-power-manager 2.14.3-2+b1    frontend for gnome-powermanager

Thanks for that command line snippet.  IMO this is a quite nasty bug.
Do I understand correctly that you think re-setting this once is enough
to work around this bug?  This doesn't seem to be the case here: 

penelope[~]$ pgrep -f gnome-power-manager
3263
penelope[~]$ # no icon
penelope[~]$ cat .gconf/apps/gnome-power-manager/%gconf.xml
<?xml version="1.0"?>
<gconf>
        <entry name="display_icon_policy" mtime="1193013669" type="string">
                <stringvalue>always</stringvalue>
        </entry>
        <entry name="ac_sleep_computer" mtime="1193010136" type="int" value="2700">
        </entry>
</gconf>
penelope[~]$ gconftool-2 -s -t string 
    /apps/gnome-power-manager/display_icon_policy always
penelope[~]$ # icon appears
penelope[~]$ dpkg -l gnome-power-manager | grep ii
ii  gnome-power-manager 2.14.3-3+b1    frontend for gnome-powermanager
penelope[~]$ cat /etc/debian_version
4.0

Given this, what's supposed to be the best workaround for this bug?
Unless there's a one-shot workaround, I *really* doubt this issue
qualifies as minor.  When there's no icon, *major* features of
gnome-power-manager are *inaccessible*.  (The dbus interface doesn't
count.)

Nikolaus






More information about the pkg-gnome-maintainers mailing list