Wednesday, April 5, 2017

unity dash - How to create a ".desktop" file?




I am running Ubuntu 12.04 LTS.



I have downloaded several programs (Eclipse, Sublime Text Editor, SmartGit) and they all come in ZIP format. Once I uncompress them I can use them, but I cannot access them via the Dash Home Menu, like I explain in this thread:






In that thread the answer was in creating a XXX.desktop file, populate it with random fields, and then move that file to a specific folder.



I now want to do the same for my Eclipe and SmartGit programs (as well as to any other programs I may end up using) so now I believe I need to learn how to create an XXX.desktop file with the correct fields and the correct instructions.



Where can I find the information to do that?



The format of .desktop files is described in the Freedesktop Desktop Entry Specification.




Have a look at Arronax if you want a simple GUI to create and modify .desktop files.


No comments:

Post a Comment

11.10 - Can't boot from USB after installing Ubuntu

I bought a Samsung series 5 notebook and a very strange thing happened: I installed Ubuntu 11.10 from a usb pen drive but when I restarted (...