- Package:
- xfce4-power-manager-plugins
- Source:
- xfce4-power-manager
- Description:
- power manager plugins for Xfce panel
- Submitter:
- Zlatko Calusic
- Date:
- 2015-05-09 13:15:05 UTC
- 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,
Got it! Somehow you always manage to help me to help you :), really nice to work with you. I'm not even posting the whole debug output, because I have a pretty good idea where the problem lies, I hope you can take it from there. Since there's a difference in behaviour between battery and UPS equipped computers, I extracted debug output from both, and with a bit of filtering did a context diff. And soon it's obvious what's goin' on. Desktop:
We believe that the bug you reported is fixed in the latest version of
xfce4-power-manager, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to 762500@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Yves-Alexis Perez <corsac@debian.org> (supplier of updated xfce4-power-manager package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
Format: 1.8
Date: Sun, 08 Mar 2015 21:57:47 +0100
Source: xfce4-power-manager
Binary: xfce4-power-manager xfce4-power-manager-data xfce4-power-manager-plugins
Architecture: source amd64 all
Version: 1.4.3-1
Distribution: experimental
Urgency: medium
Maintainer: Debian Xfce Maintainers <pkg-xfce-devel@lists.alioth.debian.org>
Changed-By: Yves-Alexis Perez <corsac@debian.org>
Description:
xfce4-power-manager - power manager for Xfce desktop
xfce4-power-manager-data - power manager for Xfce desktop, arch-indep files
xfce4-power-manager-plugins - power manager plugins for Xfce panel
Closes: 762500 779778
Changes:
xfce4-power-manager (1.4.3-1) experimental; urgency=medium
.
* New upstream release.
- add symlinks for UPS icons. closes: #762500
* debian/patches:
- 0001-Use-translated-device-type-for-unknown-devices-bug-1 dropped,
included upstream.
* debian/control:
- drop libsystemd-daemon-dev build-dep, obsolete. closes: #779778
Checksums-Sha1:
4c029353cc7f73ef2e6ba01eb897ea8a73aeacdd 2213 xfce4-power-manager_1.4.3-1.dsc
7bf53c14c64aa9632db8dbc1f96d8de3f83f597d 1138831 xfce4-power-manager_1.4.3.orig.tar.bz2
a1799c7f60d3fb18c437df161219681dd3eec98f 6660 xfce4-power-manager_1.4.3-1.debian.tar.xz
fa9cfea839371331af9a62a84028487281a446f8 203392 xfce4-power-manager_1.4.3-1_amd64.deb
85c9989c50c112a6f2db8b026e2017da8f9428db 575060 xfce4-power-manager-data_1.4.3-1_all.deb
fbab2c7f7fe66067ce761fb9d59de7998a0c2194 148582 xfce4-power-manager-plugins_1.4.3-1_amd64.deb
Checksums-Sha256:
19a181e55c9d561633a405a971afdb342aed6e118a3e3294fc2fb5eec7475fbf 2213 xfce4-power-manager_1.4.3-1.dsc
018e11dd315745f582d70108b6071d37fb94854fde70961e17325bc19c4e2011 1138831 xfce4-power-manager_1.4.3.orig.tar.bz2
c0b2b2005499ad465bd85736a42e6bc8a2acc2c5fb71cb1379ebf4c683a34dc8 6660 xfce4-power-manager_1.4.3-1.debian.tar.xz
4fb3c9dd0dc0f6c6f28b20cf0d66f90d078cbe99a1a30b6008282aee6dc44b55 203392 xfce4-power-manager_1.4.3-1_amd64.deb
c2f25b50471b8adbfb11402986e537b6e385a877724c1fb8c39985c58a3084ef 575060 xfce4-power-manager-data_1.4.3-1_all.deb
6fcfc97c0eb960fb7e257e3d8bcad282def29ddcb5bad5f73cd412a8f941e53d 148582 xfce4-power-manager-plugins_1.4.3-1_amd64.deb
Files:
195ce51528d28b5379b4664b323a02f8 2213 xfce optional xfce4-power-manager_1.4.3-1.dsc
caa17bfd96c0879e7bcc7432896fad52 1138831 xfce optional xfce4-power-manager_1.4.3.orig.tar.bz2
8232ffa89e337e329f6d30157fee8324 6660 xfce optional xfce4-power-manager_1.4.3-1.debian.tar.xz
285e68cb889bd20402272d059f83211e 203392 xfce optional xfce4-power-manager_1.4.3-1_amd64.deb
b616107cd407d9768054e586038b236e 575060 xfce optional xfce4-power-manager-data_1.4.3-1_all.deb
edc4cbf822e3e2cc62782fe785b5999d 148582 xfce optional xfce4-power-manager-plugins_1.4.3-1_amd64.deb
iQEcBAEBCgAGBQJU/LiiAAoJEG3bU/KmdcClwNoH/jDibN8mXbH4M3S0Y6Lh3i6f
F7LygMqnhwVFYw+LHI6SYqvhTIXja7Liean6+J+TmFOjGr4qfZbr/0raTEZ+q5UK
h4h2nhXurAeKrf1se/HDahR17f9YZZm2+JwZlafcPm3jQ0DQSmIS7mEcBhFUFKPs
QTQbpXuJfmrHXITh2UN66wlpnxvf7Wjk3KHNr4vN+vq+Yk+cHQX6Fs2UBvpVXVrx
roiQ0Xim7jv0WXxzy5485rQoEt/9hqwH7zhjAX9C1akmXK33hxe2Y5/GpeoGFXnJ
GWr9C5BXdeFwrzfiBIdyA0+/1ilM+ycjezFidy/TAO6hBQm31cZ5c9KCeKCOWhM=
=2mZO
-----END PGP SIGNATURE-----
I'm afraid this bug is still present in xfce4-power-manager 1.4.4-3
Control: reopen -1 Indeed, it seems the symlink never made it to the tarball… Regards,