It would seem that a more fundamental problem exists, and it might be better to focus on fixing that. You can read threads like the following to see what helpful information you can provide.
This is kind of a kludge, but you could set a local copy of a .desktop
file to not display. Let’s say I wanted to “remove” firefox
from my menu.
- Copy
/usr/share/applications/firefox.desktop
to~/.local/share/applications/
- Edit your local copy and add the line
NoDisplay=true
- Log out and back in if necessary.
- To restore the menu entry, you can delete the
NoDisplay
line or just remove the local copy of the.desktop
file.