Sample Header Ad - 728x90

How to find the name of the binary used to launch an application installed with pacman?

6 votes
1 answer
422 views
I just took frustratingly long to find out that the binary for the "gnome-console" package is called "kgx". Hence, my question: **Assuming that I know the name of an installed package from pacman, is there a general way to find the name of its binary that can be used to launch the application?** For context: I knew that my default Arch GNOME installation provided a terminal emulator from the GUI. In the GUI, it was named "Console". So I queried pacman via
-Qs console
. Which returned:
local/gnome-console 47.1-1 (gnome)
    A simple user-friendly terminal emulator for the GNOME desktop
However,
-console
was not within the known namespace of my terminal. Hence, I knew that the actual binary must have a different name. At this point, my knowledge ended, and I had to search the internet (for somehow way too long) until I stumbled over an old comment on Reddit mentioning that the binary is actually called "kgx" instead. I assume there is a better way to do this than hope that somebody on the internet knows the name of the binary that you are looking for.
Asked by ls. (944 rep)
Oct 11, 2024, 10:26 AM
Last activity: Oct 12, 2024, 11:43 AM