[Portland] Install directory as a sub-menu

wwp subscript at free.fr
Tue Apr 15 10:36:51 PDT 2008

Hello Nathan,

On Tue, 15 Apr 2008 13:27:11 -0400 Nathan Kidd <nathan-svn at spicycrypto.ca> wrote:

> wwp wrote:
> > there's something that I didn't get from the documentation (yet). I
> > wonder if it's possible to install my app directory using
> > xdg-desktop-menu in a sub-directory of the desktop menu like, say,
> > "Development" (my app is a dev tool), instead of directly at the root of
> > the menu tree.
> Certainly possible, and what should happen.
> > I also wonder, according to if it's possible or not, if there's a
> > standard for all those sub-directories we can find in popular distros:
> > accessories, games, etc. A cross-desktop standard (KDE, GNOME, XFCE,
> > etc.) and a cross-time standard: did thing changed between now and few
> > years ago or is there a good-old solid-state standard for this?
> > Any thought or reference?
> Your .desktop file should have a Categories= key.
> http://standards.freedesktop.org/desktop-entry-spec/latest/ar01s05.html
> The categories listed there determine which sub-menu the icon gets 
> placed under.
> http://standards.freedesktop.org/menu-spec/menu-spec-latest.html#category-registry

OK, that more or less what I've figured out right after posting :).
One point still unclear, keeping in mind that my concern is the
location of my app directory in the system menu: is that the
application .desktop file that should have the Categories key, or
the .directory file?

> The above categories are the cross-desktop standard for recent 
> distributions.  To get your menu entry placed as you want for older 
> distributions (E.g. RHEL 4 or earlier) you'll end up hacking in values 
> like X-Red-Hat-Base, X-SuSE-Core-Internet and X-Ximian-Main.

Much interesting. I'll dig that way, thanks!


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/portland/attachments/20080415/f65870ba/attachment.pgp 

More information about the Portland mailing list