1

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 ?

2 Answers2

4

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 :-) 
valse-triste
  • 414
  • 2
  • 10
  • 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. – valse-triste Sep 23 '12 at 01:09
3

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