Can *.desktop files be located in /usr/local/applications?

Kevin Krammer krammer at
Sat Jun 30 05:51:02 PDT 2012

On Saturday, 2012-06-30, Damjan Jovanovic wrote:
> On Sat, Jun 30, 2012 at 3:28 AM, jupiter <jupiter.hce at> wrote:
> > Sorry for asking a simple quesiton, I am new to the freedesktop. I
> > have read the latest spec, but still not clear if I can put
> > application *.desktop to different locations such as
> > /usr/local/application1/application1.desktop,
> > /usr/local/application2/application2.desktop, etc.. If it can, what I
> > should to do to make those applications listed in desktop based on
> > user ID or group ID? Appreciate any helps.
> > 
> > Thank you.
> > 
> > Kind regards,
> > 
> > Jupiter
> /usr/local/share/applications is for *.desktop files that appear in
> every user's menus.
> $HOME/.local/share/applications is for *.desktop files that appear
> only in that particular user's menus.
> Both have to have a flat structure (no further subdirectories).
> No per-group-ID *.desktop files are possible.

Not with default locations but of course one could have additional 
directories, e.g. one per group that needs differentiation, and add that 
directory to the XDG_DATA_DIRS variable for all users of those groups.


Kevin Krammer, KDE developer, xdg-utils developer
KDE user support, developer mentoring
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part.
URL: <>

More information about the xdg mailing list