menu spec: [menu-file-basename]-merged directory
Mark McLoughlin
markmc at redhat.com
Fri Mar 18 09:11:56 EET 2005
Hi,
On Wed, 2005-03-16 at 19:48 +0000, Matt Kynaston wrote:
> I'm in the v. early stages of adding editing capabilities to pyxdg,
> and I've just been reading the "menu editing with multiple menu
> editors" thread from back in Feb:
> http://lists.freedesktop.org/archives/xdg/2005-February/005937.html
I'm pretty sure we've come to the conclusion that editors should create
a toplevel applications.menu in ~/.config/menus along the lines of:
---
<!DOCTYPE Menu PUBLIC "-//freedesktop//DTD Menu 1.0//EN"
"http://www.freedesktop.org/standards/menu-spec/1.0/menu.dtd">
<Menu>
<Name>Applications</Name>
<MergeFile>/etc/xdg/menus/applications.menus</MergeFile>
</Menu>
---
That's the suggested method in the spec too.
Note, we'll be adding an attribute to <MergeFile> to make it ignore the
path name and just look up the parent .menu file according to
$XDG_CONFIG_DIRS. There's a recent thread on xdg-list about that.
Cheers,
Mark.
More information about the xdg
mailing list