Hide KDE apps in Gnome menus

If you're running Gnome and KDE side-by-side, your menus are inevitably clogged with a mixture of KDE and Gnome apps. This intermingling is an eye candy buzzkill that you can clean up with the menu-cleaner script from Ubuntu Tutorials. You will need to make the script executable with the following command prior to running it: chmod +x menu-cleaner.sh. After the script completes, your menus will return to their pristine, pre-KDE state. Additionally, the script also hides Gnome apps in KDE. Two for the price of one none!