RPMs and *.desktop files
Waldo Bastian
bastian at kde.org
Tue Mar 2 00:08:00 EET 2004
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Mon March 1 2004 23:15, Julius Schwartzenberg wrote:
> Hi,
> I'm creating RPM packages and I want to include *.desktop files with
> them that are automaticly installed in the correct directory.
> Because the directory can differ from one distro to another, I already
> figured I needed to do the creation of the files in the postinstall
> section of the RPM.
> When detecting where to put the files, the default XDG_DATA_DIRS lists
> /usr/local/share as more important than /usr/share though. I'm putting
> the files of my program in /usr and not /usr/local, so /usr would also
> seem more appropriate for the *.desktop files.
Just keep the *.desktop files in the same tree as the application: so if the
application binary installs to /usr/bin, then you should install the
*.desktop files to /usr/share/applications
Cheers,
Waldo
- --
bastian at kde.org -=|[ SUSE, The Linux Desktop Experts ]|=- bastian at suse.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)
iD8DBQFAQ7RBN4pvrENfboIRAoXJAKCjsoedI+Ml7o3XtHlcELVbivnKRwCeIeAh
539c+J8ymOfszP1lZd0SvIA=
=ilBn
-----END PGP SIGNATURE-----
More information about the xdg
mailing list