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.

When you add no-install applications to Ubuntu, they don't come up in the Unity search. For example, I downloaded Eclipse and unzipped it in a folder: ~/SelfInstall/eclipse.

How do I get eclipse which is located in ~/SelfInstall/eclipse/ to show up in the search results?

Update:

Ah, if I add a 'desktop configuration file' to .local/share/applications and point it to the launch script, then it works, but I don't know how to create a file of type 'desktop configuration file'. I had to copy one and edit it's properties. Any idea on how to create these files from scratch?

Update 2:

Ok, so this is how the file had to look:

cat .local/share/applications/opt_eclipse.desktop 

[Desktop Entry]
Type=Application
Name=Eclipse
Comment=Eclipse IDE
Icon=/home/me/SelfInstall/eclipse/icon.xpm
Exec=/home/me/SelfInstall/eclipse/eclipse
Terminal=false
Categories=Development;IDE;Java;
share|improve this question
    
Duplicate? askubuntu.com/questions/64222/… –  fossfreedom Sep 14 '12 at 14:14
    
Found a nice related tutorial: hanynowsky.wordpress.com/2012/05/08/… –  JacobusR Nov 2 '12 at 6:31

1 Answer 1

up vote 1 down vote accepted

You would need to create, or copy an existing .desktop file, for the application, into your $XDG_DATA_HOME/applications directory.

share|improve this answer
    
Thanks, and now I know how to create a desktop configuration file.... just add .desktop. Blonde moment there –  JacobusR Sep 14 '12 at 14:21

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.