menu spec: [menu-file-basename]-merged directory

Matt Kynaston mattkyn at gmail.com
Fri Mar 18 11:11:27 EET 2005


On Thu, 17 Mar 2005 23:16:18 +0100, Waldo Bastian <bastian at kde.org> wrote:
> Seems to work fine in KDE. I have added regression test p for this. Can you
> check if that really doesn't work?

I'm probably making unfounded accusations again. Looks like I'm
confused as to what the "menu being parsed" is...

I've used kmenuedit to remove an item (KRandRTray) from a menu. It's
created the file ~/.config/menus/applications-kmenuedit.menu

I have the following line in just before the the closing </Menu> of
/etc/xdg/menus/applications.menu:
<MergeFile>applications-kmenuedit.menu</MergeFile>

I do not have a ~/.config/menus/applications.menu file.

KDE (3.4) displays the menu as edited - my app is removed. But I
thought that in this case the "menu being parsed" is
/etc/xdg/menus/applications.menu, so locations would be relative to
that. It seems the interpretation is more like the menu is just
"applications.menu", and the file can be relative to it on any of the
paths in $XDG_CONFIG_DIRS?

Thanks for your help,

Matt

BTW, I've seen a couple of mentions of regression tests. Can you tell
me where to find them?



More information about the xdg mailing list