Add an applicatation to the menu:You have to create a
.desktop file (usually in
/usr/share/applications/) for the app you want to add.
In the following example, we create a entry in the menu with the name "
foo" in the submenu "
Multimedia":
[Desktop Entry]
Encoding=UTF-8
Name=foo
GenericName=bar
Comment=Senseless programm ever
Exec=foobar
Icon=/usr/share/pixmaps/foobar.xpm
Terminal=false
Type=Application
Categories=Multimedia;
Remove an application to the menu:You can do this in to ways.
First way, and the easier one is to simply remove the
.desktop file in the
/usr/share/applications/-folder.
The second way is, to add this line to the .desktop file:
NoDisplay=true