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 copied an executable in /usr/bin a program that I'd like to use.

Of course I can launch it with the command line. However it doesn't appear in Unity when I open the dash, and I would like to add it.

How is it possible ?

share|improve this question

2 Answers 2

up vote 4 down vote accepted

You have to create a description, in a .desktop file, under the ~/.local/share/applications directory.

E.g. newprog.desktop :

[Desktop Entry]
Type=Application
Exec=/usr/bin/NEWPROG
Hidden=false
Name=My-Fancy-Name
Comment=Something I never want to say :-) 
share|improve this answer
    
You have a typo: apllications, instead of applications. Also, need to add the point that it should have the .desktop filename to work correctly. Maybe we could also make the point that you can add categories that will make the search lens work better, and the file can be dragged to the launcer to lock it there. –  fabricator4 Sep 22 '12 at 23:49
    
I added the .desktop part, anyway. –  Ed Donovan Sep 23 '12 at 1:09

You need to create a .desktop file for your program (see How to make a launcher(.desktop file) for a binary file?) and put in into /usr/share/applications/ or ~/.local/share/applications/.

Maybe the most simple way to do this is to use Arronax

share|improve this answer

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.