Packaging guidelines related to .desktop files

Matthew Rosewarne mrosewarne at inoutbox.com
Mon Mar 31 12:55:18 PDT 2008


On Thursday 20 March 2008, Rahul Sundaram wrote:
> Can other distributions post their own guidelines and policies so that
> we can look at consolidating the common parts?

Before FreeDesktop, Portland, and desktop-entry-spec, Debian ran into problems 
with handling the various menus used by the many WM's, desktops, etc.  The 
solution they came up with would ultimately become the "Debian Menu System".  

Packages for applications would install a file containing a list of menu 
entries with some basic metadata into /usr/share/menu/.  Packages for WMs and 
such would install a menu-generation script into /etc/menu-methods.  
The "update-menus" command would use the menu-methods scripts to generate 
each type of menu from the files in /usr/share/menu/.  This solved the 
problem of different WMs, such as fluxbox or FVWM, each using its own 
incompatible menu system.

At some point the "menu-xdg" package was created, which contained 
an /etc/menu-methods generator script for the FreeDesktop 
menu-spec, desktop-entry-spec, and basedir-spec.


Debian Menu System documentation:
	https://alioth.debian.org/docman/view.php/30046/2/menu-one-file.html

Debian Menu System developer page:
	https://alioth.debian.org/projects/menu/

The Debian Menu sub-policy:
	http://www.debian.org/doc/packaging-manuals/menu-policy/

Information about the "menu" package:
	http://packages.debian.org/sid/menu
Information about the "menu-xdg" package:
	http://packages.debian.org/sid/menu-xdg
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
Url : http://lists.freedesktop.org/archives/distributions/attachments/20080331/18b29116/attachment.pgp 


More information about the Distributions mailing list