Created attachment 3843 taken from /etc/xdg/menus/applications-merged 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 xfce
This might be a merging issue. However, this is not a standalone menu but one that is merged into applications.menu or xfce-applications.menu (that's why it's in /applications-merged/). Can you attach the outer .menu file as well?
Created attachment 3844 applications.menu outer menu
Created attachment 3845 Merged menu structure I only have four games installed on this machine but it seems to work fine. The root menu of the first attachment is merged into the root menu of the applications.menu file. This results in a merge of the two games submenus. The first one has an <Include> rule, so in the final menu structure you have an <Include> of all games followed by an <Exclude> of certain types of games. Attached is the merged structure, which looks fine to me. Note, however, that Xfce uses xfce-applications.menu, not applications.menu (unless you changed that yourself obviously).
the structure looks definitely fine but with me the games that appear in their category subfolders are not excluded from the games "root" folder. so they appear twice: one time e.g. in the Games/Simulations "menu folder" and one time directly in Games despite the fact that it is excluded.
Ok, which version of garcon do you have installed? (xfdesktop is 4.8.0?)
xfdesktop-4.8.2-1.fc16.x86_64 garcon-0.1.8-1.fc16.x86_64
Closing old garcon bugreport. Please reopen if needed.