About .desktop file locations

Joe Marcus Clarke marcus at FreeBSD.org
Tue Sep 13 14:39:11 PDT 2005


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Panagiotis Astithas wrote:
| Hi all,
|
| I've been browsing through the mail archive and the freebsd-gnome site,
| but I  can't seem to find an answer to this. I want to install a
| .desktop file for integrating an application into the gnome and kde
| menus. I see that installing it in ${X11BASE}/share/gnome/applications
| makes gnome find it ok, but I was thinking that perhaps
| ${LOCALBASE}/share/applications would be more appropriate and cross-DE.
| Perusing the ports tree I see most gnome apps use the former, whereas
| most kde apps use some variant of the latter, like
| ${LOCALBASE}/share/kde/applications. So my question is, do we have a
| "standard", DE-agnostic place for these files? Also, do I have to run
| update-desktop-database after putting them in there?

Put it in ${LOCALBASE}/share/applications, and both should be able to
use it.  Yes, you should run update-desktop-database after installation.

Joe

- --
Joe Marcus Clarke
FreeBSD GNOME Team	::	gnome at FreeBSD.org
FreeNode / #freebsd-gnome
http://www.FreeBSD.org/gnome
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (Darwin)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFDJ0ctb2iPiv4Uz4cRAv37AJ0Uw+iLeK0Ig/7nH6ztlp0vyAqn0QCeLL5A
NEKXRb5pMOiIeJ1sy4tDIWU=
=CMcF
-----END PGP SIGNATURE-----


More information about the freebsd-gnome mailing list