I used the same <Exclude> directives in Peppermint Two and Arch with no problem, but it seems like it is not being parsed correctly in Mint 12. In fact, I found that I can use the <Exclude> tag interchangeably with the <Include> tag. That's right, it actually ADDS items to a given menu.
This example gives me a menu with one item in it (audacity) as expected:
- Code: Select all
<Menu>
<Name>Multimedia</Name>
<Directory>lxde-audio-video.directory</Directory>
<Include>
<Filename>audacity.desktop</Filename>
</Include>
</Menu>
This example gets parsed exactly the same in Mint, but not in Arch or Peppermint.
- Code: Select all
<Menu>
<Name>Multimedia</Name>
<Directory>lxde-audio-video.directory</Directory>
<Exclude>
<Filename>audacity.desktop</Filename>
</Exclude>
</Menu>
Does anyone know what script is actually parsing the XML to generate the menus? I suspect the issue is there.

