xfce4-panel changing icon for showdescktop plugin

Sylvain xfce4 at ledragon.net
Fri Nov 27 18:07:55 CET 2015


Hi Charlie,

On 27/11/2015 17:11, Charlie Kravetz wrote:
> You can copy the *.desktop file to ~/.local/share/applications . Then
> you can edit that file as the user and change the icon to anything you
> want. You can even design your own icon, put it somewhere in home, and
> tell the file to look there. 
>
> The applicable line in the file will be:
>
> Icon=
>
> I hope this helps.

Nope it doesn't work

locate showdesktop.desktop
/usr/share/xfce4/panel/plugins/showdesktop.desktop

xfce4-panel --version
kxfce4-panel 4.11.0 (Xfce 4.10)

diff /usr/share/xfce4/panel/plugins/showdesktop.desktop
~/.local/share/applications/showdesktop.desktop
115c115
< Icon=user-desktop
---
> Icon=wine
xfce4-panel -r

No change.

Are you sure it apply also to plugin, for the panel?



Thanks for the suggestion. :)

…

Does not seem to work, if I edit the system file neither…

Hum may be harcoded, from .deb source:

grep -r "image = xfce_panel_image_new_from_source" .
./plugins/launcher/launcher.c:          image =
xfce_panel_image_new_from_source (icon_name);
./plugins/actions/actions.c:      image =
xfce_panel_image_new_from_source (entry->icon_name);
./plugins/actions/actions.c:      image =
xfce_panel_image_new_from_source (entry->icon_name);
*./plugins/showdesktop/showdesktop.c:  image =
xfce_panel_image_new_from_source ("user-desktop");*

I will try to rebuild it and test it.

Thanks for your help,
Sylvain.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.xfce.org/pipermail/xfce/attachments/20151127/242a534d/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bedjgiee.png
Type: image/png
Size: 18091 bytes
Desc: not available
URL: <https://mail.xfce.org/pipermail/xfce/attachments/20151127/242a534d/attachment-0001.png>


More information about the Xfce mailing list