Problem: There are a few desktop entries that I do not want to be shown in the menu.
Solution: I used to just delete them from
/usr/share/applications, but apparently there was a smarter way. Just open the
.desktop file, e.g.
/usr/share/applications/CMake.desktop and add the
[Desktop Entry] Version=1.0 Name=CMake Comment=Cross-platform buildsystem Exec=cmake-gui %f Icon=CMakeSetup32.png Terminal=false X-MultipleArgs=false Type=Application Categories=Development; StartupNotify=true MimeType=application/x-cmakecache; NoDisplay=true
Save and it should disappear from the menu.