Ubuntu Processes
Command Line Of A Running Graphical Application
Start the GUI application and ensure it is running on its own window. Enter the following command in a terminal:
$ ps --no-headers -p $(xprop _NET_WM_PID | cut -f2 -d=) -o cmd
after that, click on the window of the application to learn the command it was started.
This will show the command line (together with any command-line parameters) of the process displaying that window, which may not be necessarily the same as the command that was executed when you initially clicked on the icon to start the application that displayed that window.