Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I have an installed application, but I don't know its name. (By "name" I mean what I would type in a command line.)

Is there any way to see this? It seems so obvious, but I can't figure it out.

share|improve this question
add comment

7 Answers

up vote 6 down vote accepted

If the installed application has installed a menu option, then right-click the menu at the top of the screen and choose Edit Menus. If you are using Natty, type "alacarte" in the terminal

Navigate to the menu option and choose the Properties button - you'll then see the command to launch your application.

enter image description here

share|improve this answer
add comment

If it is a package installed from repos, or through a deb package, try the command:

dpkg -L package-name | grep /bin
share|improve this answer
    
I don't know the name of the package or if I even installed it via a package. All I know is the name of the little button in the "applications" thingy. –  Xodarap May 17 '11 at 19:45
add comment

The way I occasionally do that is to launch Synaptic Package Manager, find the package with the app I installed, and look into it's properties, at the list of installed files this package contains. Most exacutables land to /usr/bin, so I look for files installed in that directory, and that's what you need to run.

For example, I installed liblo-tools package. Now I see the following in installed files list:

...
/usr
/usr/bin
/usr/bin/oscdump
/usr/bin/oscsend
/usr/share
/usr/share/doc
...

That means I can run oscsend or oscdump commands to run appropriate liblo proggrams.

Note: Some apps will install their programs to other directories, but that's rare. For example, games may install it's executables to /usr/games instead of /usr/bin

share|improve this answer
add comment

Try typing the name of the application along with using TAB. If the application is in the path then you can able to see that.

share|improve this answer
    
Thanks, but the name is either not easily guessable or is not in my path. –  Xodarap May 17 '11 at 19:45
add comment

Go under Administration / Synaptic, and go to your Package. Right click to open Properties. Here you can see all the files that this package has installed.

The binary (aka executable) files are usually found under /usr/bin.

share|improve this answer
    
Basically, that's my answer in a nutshell :) –  Rafał Cieślak May 17 '11 at 20:24
add comment

If your application were an RSS reader, for example, 'man -k rss' or 'man -k feed' might yield some ideas, as would 'apropos rss'.

share|improve this answer
add comment

What I do is Applications > [application you're looking for], right-click, select 'Add this launcher to panel'. The icon will appear on the panel from which you can right-click it and select Properties. It'll show the command there.

This probably only works for the old Gnome UI but I thought I'd still share anyway. You may be able to do something similar on Unity, I'm not sure.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.