On 06.02.2012 10:39, Claudio Ramirez wrote:
> On Tue, Jan 31, 2012 at 9:48 AM, Andreas Vögele
> <andr...@andreasvoegele.com>wrote:
>
>> Hi,
>>
>> attached is an alternative padre.desktop file. [...]
>
> Thank you, Andreas. I think we are really close to add the correct
> desktop file. Your desktop file looks fine, but we need to do
> additional work to integrate into the Linux desktop environment: -
> rename the logo.png to padre.png

> - the icon should go into $HOME/.icons instead of the default CPAN
> install dir [...]

KDE 4.8 doesn't look for application icons in "$HOME/.icons". Instead,
the following paths, which are output by "kde4-config --path
xdgdata-pixmap" and "kde4-config --path xdgdata-icon", are searched:

* $HOME/.local/share/pixmaps
* /usr/share/pixmaps
* $HOME/.local/share/icons
* /usr/share/icons
* /usr/local/share/icons

> - the desktop launcher should go to $HOME/.local/share/applications
> instead of the default CPAN dir [...]

That works. The command "kde4-config --path xdgdata-apps" outputs the
following directories:

* $HOME/.local/share/applications
* /usr/share/applications
* /usr/local/share/applications

> Are my findings applicable to a KDE setup? If so, I can look to
> Module::Install to see how we can fix this.

If the build script is run by root (or with fakeroot) the files could be
put into the appropriate global directories under $DESTDIR/usr/share or
$DESTDIR/usr/local/share. On the other hand, that exercise could be left
to the package maintainer.

BTW, the Mail::SpamAssassin module's Makefile.PL puts additional files
into /usr/share but Mail::SpamAssassin doesn't use Module::Install.

_______________________________________________
Padre-dev mailing list
Padre-dev@perlide.org
http://mail.perlide.org/mailman/listinfo/padre-dev

Reply via email to