When I hover over a quick launch icon, the name of the underlying application is displayed. But how can I find what application is really being invoked?
In a MS Windows context, I would right click the icon and select Properties - then the path of the file to be executed would be shown.
This came up because my "Files" quick launch icon would do nothing, and it took some considerable research to realize that icon was actually linked to /usr/bin/nautilus.
In GNU/Linux we use
.desktop
files aka "Desktop Entries", they are located at:also can be find per user as:
From here:
You can locate them using
locate
command too:or
let's see what is in
nautilus.desktop
:As you see the name is "Files" however it executes
nautilus --new-window %U
. For the commandnautilus
itself as you should know we can usewhich
to find out where it is located:To find them by name you can do as follow, say we want to know by clicking on an icon with the name "Files" which program will be executed:
it will outputs:
then I can look into those files for
Exec=
to see which program really will be run.something like this will do it more convenience: