from http://standards.freedesktop.org/menu-spec/menu-spec-1.0.html
<Exclude>
Any number of <Exclude> elements may appear below a <Menu> element. The content of an <Exclude> element is a list of matching rules, just as with an <Include>. However, the desktop entries matched are removed from the list of desktop entries included so far. (Thus an <Exclude> element that appears before any <Include> elements will have no effect, for example, as no desktop entries have been included yet.)
It doesent work as expected though. The attached menu file shows that while the items all get sorted into the "menu subfolder" they still appear in the Games root a second time even though they should be excluded there. Worked this way in gnome2 e.g. and doesent work in lxde.
View and moderate all "bugs Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Bugs"
example taken from /etc/xdg/menus/applications-merged
View and moderate all "bugs Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Bugs"
app menu
View and moderate all "bugs Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Bugs"
lxde app menu
I just spent an entire weekend confirming this bug.
Not only does LXDE not honor the <Exclude> tag, it actually treats the <Exclude> tag as an <Include> tag (which is why it took me so long to confirm it).
This old post I found in the Linux Mint forums also confirms this bug: http://forums.linuxmint.com/viewtopic.php?f=175&t=98898
Thank you. I am sure it is long staying bug in the menu-cache. I hope to get it fixed in next release of menu-cache.
I believe this issue is completely fixed in the latest release of menu-cache. Test it, please, and leave a comment if something is still wrong to reopen the issue. Thank you very much.