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 Answers 2

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 :-) 
2
  • 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. Sep 22, 2012 at 23:49
  • I added the .desktop part, anyway. Sep 23, 2012 at 1: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

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .