I'm taking the example of the so-called "Videos" packages while it is in fact called totem
in usr/bin/totem
.
But there are dozens of others, e.g. "Terminal" which is really called gnome-terminal
, etc...
This is extremely misleading and, I'm sure, has made thousands of people lose hours because of this.
Where is this "name symbolic link" made, and is it possible to remove it ? If so, how ?
This is done because:
Videos
is much easier for users to remember, instead of/usr/bin/totem
.Terminal
is much easier for users to remember, instead of/usr/bin/gnome-terminal
.Videos
andTerminal
are closer to the actual functionality of those applications.Also, when searching for applications via the Super key, if you enter the search string "videos", you may actually come up with multiple hits, depending on what applications you have installed. You wouldn't normally search for "totem" (although that would work).
Update #1:
To see where the names actually get changed... we look at a partial snippet...
Note: the "Name=", and "Exec=", and "Icon=" lines...
cat /usr/share/applications/org.gnome.Totem.desktop
Ok, thanks for the help some provided in the comments.
So I found 2 methods for knowing the actual command of a Gonme/Ubuntu app :
1) As @pomsky indicated you can do that in GUI with Nautilus :
nautilus
("Files" in Gnome menu)/usr/share/applications
2) More tricky, you will need to reverse find the name of the app in the list of all commands that are aliased.
grep -l Pattern /usr/share/applications
will output any file that contains thePattern
, which needs to be the App you are searching for.grep Exec File
, whereFile
is (one of) the file you got on last step.E.g :
I can now see that the actual command launched by "Videos" is
totem
:).PS : Verified on Ubuntu 18.04