[Pkg-xfce-devel] Bug#762500: Bug#762500: xfce4-power-manager-plugins: plugin icon is missing
On mar., 2014-09-23 at 00:00 +0200, Zlatko Calusic wrote:
> On 22.09.2014 23:19, Yves-Alexis Perez wrote:
> > On lun., 2014-09-22 at 22:51 +0200, Zlatko Calusic wrote:
> >> Package: xfce4-power-manager-plugins
> >> Version: 1.4.0-2
> >> Severity: normal
> >>
> >> I like new xfpm plugin very much, there's just one small problem with
> >> it. On the desktop, where I have an UPS connected via USB cable,
> >> there's no icon in the xfce panel (previously, there was an icon in
> >> the tray). But, on the laptop (equipped with a battery), I see the
> >> icon.
> >>
> >> Just to be clear, I'm not talking about trayicon, I know it's gone,
> >> I'm talking about the xfpm plugin icon.
> >>
> >> Screenshot: http://i39.servimg.com/u/f39/13/01/91/22/xfpm10.png
> >
> > Can you strace the plugin and check the file it tries to open? It should
> > try to use the various ups files from xfce4-power-manager-data, but that
> > can also depend on the currently used icon theme.
> >
> > Regards,
> >
>
> I replaced panel's wrapper binary with script that executes strace -fe
> open on the real wrapper binary, and then added the plugin to the panel.
> I'm afraid not much additional info in the trace file. Unless I missed
> something, it looks like the plugin never attempts to open any image
> file. At least you can see what icon themes I have installed (adwaita,
> gnome, hicolor).
>
> http://pastebin.com/6MM6CkEB
>
> This issue looks specific to the fact that I have UPS connected on this
> particular computer, not battery. I see that xfce4-power-manager-data
> package has specific icons for UPS' and they're properly installed,
> somehow they are invisible in panel. :P
>
It might be worth running xfpm from command line, using debug:
xfce4-power-manager -q # stop current daemon
xfce4-power-manager --debug # run new daemon with debug mode
And report your findings. Unfortunately I don't have an UPS so I can't
really debug here.
Regards,
--
Yves-Alexis
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: This is a digitally signed message part
URL: <http://lists.alioth.debian.org/pipermail/pkg-xfce-devel/attachments/20140923/e2968677/attachment.sig>
Reply to: