I am new to Linux. I installed kubuntu-desktop and xubuntu-desktop over the default Ubuntu 10.10. I want to unclutter the menu, so that applications related to a particular desktop appear in menu only during their respective sessions. (i.e., No KDE and XFCE apps in menu during Ubuntu GNOME session. Similarly in KDE and XFCE sessions.)How can this be done via command line? (I want to learn things the command-line way.)  Should I backup anything before I do this?Extra Information: I googled and found this and other solutions in forums, but these address only the KDE on GNOME scenario. Perhaps this can be modified to include XFCE as well, but since I am a newbie, I couldn't figure out how to do it.I have also cross-posted at askubuntu.Gracias! Thanks!
How to remove KDE and XFCE applications from GNOME menu?
gnome;kde;desktop environment;xfce;menu