[Pkg-xfce-devel] Bug#762500: Bug#762500: xfce4-power-manager-plugins: plugin icon is missing

Zlatko Calusic zcalusic at bitsync.net
Mon Sep 22 22:00:30 UTC 2014


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

-- 
Zlatko



More information about the Pkg-xfce-devel mailing list