The title is very self-descriptive. I find it completely unintuitive that I can't access such important information simply via right-clicking on the program icon on the Unity launcher. Since that's not the solution, I'm completely clueless how to figure out which exact program is being launched by some icon in the Unity launcher. There must be a simple way, but how?
Each Launcher icon has a shortcut or
.desktop file associated with it, which defines its properties. These
.desktop files are normally stored in
We can use the name tooltip shown when hovering over a Launcher icon to find its associated .desktop file and from that, the path to the program or script it is launching.
Hover over the launcher icon in question to display its name:
Open a terminal with Ctrl+Alt+T, and type/paste the below; replace the
APPNAMEwith the name shown in the previous step to get the path to the program that will be launched:
grep Exec $(grep -l "APPNAME" /usr/share/applications/*)
For example, using the System Settings example and running the below:
grep Exec $(grep -l "System Settings" /usr/share/applications/*)
which tells us that the name of the executable is
gnome-control-center, and it's being launched with the option