Hiding unwanted .desktop entries from the menuPosted: 2012-06-24 | Author: slackalaxy | Filed under: desktop | Tags: .desktop, menu |1 Comment
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.
[…] whenever I needed to customize some menu entry, I would just go to /usr/share/applications/ and edit the corresponding .desktop file. This applies the changes globally and whenever the program is […]