Is there a way to find the package/executable name (for example, evince for document viewer, or totem for Videos) for an app?
(1) If you know the name of the program
Try on the command line:
Most programs are in the /usr/bin directory.
Then you can type on the command line:
This will start the evince program.
To know the hierarchy of the Linux filesystem (what is where) you can check the page about the Linux Filesystem Hierarchy on The Linux Documentation Project site
(2) If you don't know the name of the program.
Step 1: Open a terminal and list all running processes with their PID - process identifier number:
Step 2: Start your program
Step 3: Switch to the terminal and type again:
Step 4: Trial and error to find the process of your program.
Ubuntuone-syncd is in both lists with PID 2911. Ps is the process of the ps⁻command in the terminal. There are three possibilities left:update-notifier, aptd and evince.
On the command line for those 3 possibilities
Replace name_of_the_process by the real process name.
In this case if we type
So evince is the GNOME Document Viewer we were looking for.
Frank's answer should work for you. I'll add that for locating application processes I like the
You should be able to find the mapping between an application's executable file name and its GUI name in its .desktop file, and these are scattered around your system in several directories. In a terminal try this
to list the primary system .desktop files describing applications shown in settings dialogs.
pares that list to only files containing the name "sound". The program you're looking for will belong to one of the listed .desktop files, with any luck. They are text files. The "Name=" line gives the GUI name. You're interested in the "Exec=" line, which names the executable file. This line then may even flat-out work:
Even if that doesn't work, the information you want is almost certainly in the Exec line of some .desktop file somewhere, probably in /usr/share/applications, likely in a file with "sound" in the name. Sorry I can't just give you the program name. I don't have a Unity desktop in front of me.
Desktop applications are started through a
xprop | grep PID then click on the window. This gives you it's PID, as mentioned at: Tell a process PID by it's window?