I had installed some programms with Wine, but I removed Wine from my computer. Now when I browse all applications in the Unity menu, the symbols of the programms I installed with Wine are still there. How can I remove them?
Carefull - mistakes when using sudo to delete stuff can be disastrous!
$ rm ~/.local/share/applications/wine*.desktop $ sudo rm /usr/share/applications/wine*.desktop
You might need to log out and back in to see the changes, depending on the desktop you are using (kde, gnome, …).
For some reason I have a bunch of left-over start menu entries from applications (e.g, Gnome Do, Synapse, Leafpad.) and was wondering if there’s a way to remove all orphaned entries for applications that are no longer installed?
You can use the following command to list application icons that link to nonexistent programs:
I suspect you’ll find that most of yours are customized icons in your home folder, since these are not automatically cleaned up by the package manager. If this is the case and you’d like to trash trash-cli them all at once, you can use a modification of the previous command:
Or, of course, browse to
~/.local/share/applications/ in Nautilus and trash them via the graphical interface.