xfce4-panel changing icon for showdesktop plugin
Charlie Kravetz
cjk at teamcharliesangels.com
Sat Nov 28 13:45:17 CET 2015
On Sat, 28 Nov 2015 07:04:01 +0100
Sylvain <xfce4 at ledragon.net> wrote:
>Hi Charlie,
>
>On 27/11/2015 18:34, Charlie Kravetz wrote:
>> Are you sure it apply also to plugin, for the panel?
>[…]
>> I apologize. No, I don't think it works with plugins. I don't know of
>> any directory where you could that without editing it as root. What
>> about changing it directly in that file? Not a good solution, and it
>> may change back with updates, but it might work.
>
>So I tested, it is harcoded for this panel plugin. At least this one:
>showdesktop. I recompiled it and it changed. :-)
>I think, for the purpose of changing this icon, I can change it in the
>theme, for every instance of "user-desktop" icon.
>
>I still would love to know if ~/.local/share/applications/*.desktop
>would work for panel's plugin taking care of it.
>
>Your suggestion might work. It is just that this plugin ignores its
>.desktop file, at least for its Icon. I don't know about xfce C api, I
>just guessed.
>
>Here's the C code where the plugin is getting its parameter hardcoded:
>http://git.xfce.org/xfce/xfce4-panel/tree/plugins/showdesktop/showdesktop.c#n107
>
>Thank for your help, you gave me the hint I was missing about this panel
>plugin. I'm going to dig to some other plugin. Is there a wiki doc or
>somewhere I could write such configuration path? When I will have found
>the final destination.
>
>Regards,
>Sylvain.
You are, of course, welcome. I do not know any place with this
documentation. I was hoping a developer would jump in and give you that
information.
--
Charlie Kravetz
Linux Registered User Number 425914
[http://linuxcounter.net/user/425914.html]
Never let anyone steal your DREAM. [http://keepingdreams.com]
More information about the Xfce
mailing list