Score:1

How to find the location where a GNU application is stored?

ec flag

I am looking for running a program automatically when Ubuntu starts up. I have installed Tint2 which is a windows style taskbar. I am following the process here for autostarting an application (Tint2) at startup.

But I cant find its binaries at \bin or \opt. Where is this application stored?

I have really spent time on this to try to locate it, despite having lots of work, so I shall really appreciate any help on this.

24601 avatar
in flag
Program files are generally stored in /usr/bin
Knud Larsen avatar
by flag
`$ dpkg -L tint2` will show files and locations. ....
BiologyEnthusiast avatar
ec flag
@KnudLarsen thanks this command worked! typing tint2 in ubuntu search bar is useless as I had no results but running your command worked!
Score:1
cc flag

The package is tint2, so use apt-file (install if necessary) to list its contents:

apt-file list tint2

We see /usr/bin/tint2, so that is in your PATH and should run with just its name.
The locate command is another way to find installed things. These days, for 20.04 and later, /bin and /usr/bin are really the same directory, so you should have found it at /bin (not backslash) too.

N0rbert avatar
zw flag
Also see https://packages.ubuntu.com/search?suite=focal&arch=any&mode=exactfilename&searchon=contents&keywords=bin%2Ftint2 and https://packages.ubuntu.com/focal/amd64/tint2/filelist .
BiologyEnthusiast avatar
ec flag
makes sense. somehow Ubuntu's file search in GUI is quite useless, I didnt get any hit when I typed tint2 there. I searched it from root directory and got no result. So command line worked.
Score:0
cn flag

You can also use the whereis command. It is included in all Ubuntu distributions.

whereis tint2
BiologyEnthusiast avatar
ec flag
the simplest and elegant
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.