RPMs and *.desktop files
bastian at kde.org
Tue Mar 2 00:08:00 EET 2004
-----BEGIN PGP SIGNED MESSAGE-----
On Mon March 1 2004 23:15, Julius Schwartzenberg wrote:
> 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
bastian at kde.org -=|[ SUSE, The Linux Desktop Experts ]|=- bastian at suse.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)
-----END PGP SIGNATURE-----
More information about the xdg