Internal panel plugins vs. FHS

Brian J. Tarricone bjt23 at cornell.edu
Fri Jun 12 01:22:28 CEST 2009


First off: the 4.7/8 panel does stuff differently; this may or may not 
apply.

Christoph Wickert wrote:
> Hi all,
> 
> there is a serious bug in the design of internal xfce4-panel plugins. A
> plugin needs a desktop fine in /usr/share/xfce4/panel-plugins. That's
> fine for external plugins, but for internal ones this causes a problem:
> The X-XFCE-Module path is in that file and refers to $(libdir), which is
> architecture specific.
[snip]
> Two options I could think of:
>      1. Move the desktop files to $(libdir). That's what we currently do
>         in Fedora.
>      2. Move the internal plugins to $(libexecdir) like the external
>         ones.

Or:

3.  Don't include a full path at all in the .desktop file key.  Just 
include the module *file* name, and the panel should be smart enough to 
know where the module libpaths are, which get determined at runtime (or 
at xfce4-panel compile time since it'll know if it's 64- or 32-bit and 
will get it's LIBDIR/$(libdir) set appropriately).

	-brian



More information about the Xfce4-dev mailing list