Names of binaries
Volker Wysk
post at volker-wysk.de
Wed May 26 16:47:35 UTC 2021
Am Mittwoch, den 26.05.2021, 17:33 +0100 schrieb Peter Flynn:
> Typically, in a GUI system interface, there is a "dock" or "panel" or
> something with an icon for every user application that is executing.
>
> Most of these are the result of the user having clicked on a menu entry
> or a desktop icon.
>
> Is there a way to find the name and location of the actual binary of the
> application. I know you can list all processes with ps, but many
> applications are run from a shell script, which calls a language
> processor, which fires up a stub, which finally causes the app to run,
> and sorting them out from ps ax can be tricky.
You could search through the .desktop files in /usr/share/applications. Do
an "egrep <menu-entry> *.desktop". In the matching .desktop file(s) there is
the "Exec:" line, which specifies the name of the executable.
Cheers,
Volker
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: This is a digitally signed message part
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20210526/2bb17870/attachment.sig>
More information about the ubuntu-users
mailing list