As the folder name says /usr/share/applications
... are these all my applications installed in the system?
Will deleting a program's icon in below pics mean uninstalling it from the system permanently?
For example, I see Amazon & Cheese icons twice... Files icon thrice
This is a freshly installed Ubuntu 18.04 and I've just installed Audacious, MPV player, Dconf & GNOME Tweaks.
My intention:
- How can I know which icon is the actual application that I have to keep? For example I want to remove Amazon completely from my system. Of the two Archive Manager icons, I want to keep the actual working one and remove the other...
How can I know the name of application that can be removed via command line, for example
sudo apt remove Amazon sudo apt remove Audacious Qt Interface sudo apt remove Cheese-not-in-use sudo apt remove Files1-not-in-use sudo apt remove Files2-not-in-use
Final Goal:
If I want Audacious, MPV player, Dconf, Files, Cheese, InputMethod, Keyboard, Gparted, Displays, Dock, Disks, Calendar only, then I want to see only 12 icons in this folder.
Is this achievable?
Desktop Entries are either created by the applications or by the user as per his convenience. Not all Desktop Entries refer to application. Remember it might happen a user has created a script and to run that he used a Desktop Entry. So not all desktop entry refer to application. It is also to be noted that not all Desktop Entries are in
/usr/share/applications
.Most probably yes if all these are created by system/application itself. Desktop entries are created at the time of installation of a software (if software knows how to create that like Google Chrome does but Netbeans doesn't).
Not really. You are just deleting a way (shortcut) to launch a specific application not an application which will still exist after the
.desktop
file is deleted.You need to open duplicate desktop entries through a text editor and determine which functionality it offers or for what purpose it is there. Multiple desktop entries must have created multiple shortcuts in app drawer but out of those multiple desktop entries only 1 is visible and every other will be hidden due to
NoDisplay=true
in their description. That's why only 1 is visible in app drawer. It may also contain a lineOnlyShownIn
orNotShowIn
to show or hide in specific DE.You can learn more about it at Desktop Entry SpecificationFor this refer N0rbert's answer
No. Some entries like that of Bluetooth are defined by the system and it needs that to properly display it while using a search.
If you went here with MacOS habits, do not expect that pressing Shift+ Delete will remove things.
In Ubuntu this folder contains many *.desktop files for installed applications.
If they were installed by APT then you can use the power of
dpkg
to manage them.So you can find Amazon with:
it will return
Afterwards you can find their packages with
dpkg -S
:and finally you can remove the related package:
Programmatical way is below (warning: be careful with its execution - check the list of packages being removed before proceeding):