Sunday, May 5, 2024
 Popular · Latest · Hot · Upcoming
1
rated 0 times [  1] [ 0]  / answers: 1 / hits: 4594  / 3 Years ago, mon, july 19, 2021, 4:34:37

Is there a way to find the package/executable name (for example, evince for document viewer, or totem for Videos) for an app?


More From » unity

 Answers
4

(1) If you know the name of the program



Try on the command line:



find /usr -name 'evince'


Most programs are in the /usr/bin directory.



Then you can type on the command line:



/usr/bin/evince


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:



ps -e 


first list of processes



Step 2: Start your program



Step 3: Switch to the terminal and type again:



ps -e 


second list of processes



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



man name_of_the_process


or



info name_of_the_process


or



name_of_the_process -h 


Replace name_of_the_process by the real process name.



In this case if we type



evince -h 


we get:



help option after evince



So evince is the GNOME Document Viewer we were looking for.


[#31242] Tuesday, July 20, 2021, 3 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
ameatoes

Total Points: 321
Total Questions: 106
Total Answers: 112

Location: Belarus
Member since Sat, Jul 18, 2020
4 Years ago
;