I successfully added a custom folder called 'scripts' onto my main menu, as shown in the screenshot attached called 'main-menu.jpg'.
This add was made by following my own thread at ubuntuforums.org http://ubuntuforums.org/showthread.php?t=1870415
mainly based on an howto I found online http://www.remastersys.com/forums/index.php?topic=1686.0
Basically I created some .desktop files into ~./local/share/applications
and then I played around with xml files in a couple of places as explained inside the above links.
My problem now is that I've noticed that when I right click on a text file, for example, my contextual-menu shows an 'open with' list fulled with any .desktop file I created in the above path, as shown in my second attachment called 'contextual-menu.jpg'.
This means that if I add my own application called foo.desktop into ~./local/share/applications and follow the above method, then this foo application is correctly added to my main menu but also wrongly added to my 'open with' list inside my contextual menu.
I searched how to remove entries from the 'open with' list, but apparently you have to remove them form ~./local/share/applications !
as written for example here http://forum.lxde.org/viewtopic.php?f=22&t=1748
in the lxde forum.
But I have to have them in this path to list them on my main menu!So: is there a way to add a custom foo.desktop application inside ~./local/share/applications without adding it to the 'open with' list of the contextual menu too?
Or otherwise is there a way to remove a foo.desktop application from my 'open with' list without removing it from my customized main menu?
I hope I've been clear enough, I know it's a little bit confusing
Thanks in advance