I want to use some applications shown on the Unity Launcher in a terminal, but I need to know the appropriate command to run them. How can I achieve that?
Most default applications will have a
To find out about the corresponding terminal command that will be run when launching one of these applications open the file browser Nautilus and right click on the application's icon to select Properties in the context menu. This will give you all details you need (shown here for System Settings that will run
If you installed the application through the repositories or through
This will search through all your installed applications, as well as search their descriptions; searching the description is the important part here, because the description usually contains the name of the application, even if the "command" to run it does not contain the application name.
In GNOME, there's an application called the Disk Usage Analyzer. However, the command to run it from the terminal is not
The output should contain this entry:
Look at the second column. The command to actually run the Disk Usage Analyzer is
First, open Synaptic by running
It appears as the first installed result (little green box), with the full package name
Now, try running
Now, if you look back at Synaptic, you will see that the very first result is the
Or, you could type
You can see that to directly launch LibreOffice Writer, you can use one of two commands:
Some programs or applications simply run by a binary. By name of application one can find out where binary is located.
ergo little example:
You simply can take over /usr/sbin/gparted - for to run this application gparted in entry of icon or application-name (like in cairo-dock). (in this case to run gparted root-password is necessary).
Can't you just start them from the launcher, then figure out with ps or top their name/path ? or did I misunderstand the question?