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.

How do I add program icons into DASH Menu in Ubuntu 12.04 LTS?

I have downloaded the newest LibreOffice software and need some help with icons.

Does the Ubuntu software store add titles frequently: I didn't see a newer title I could get from the software makers site? Thanks, Donald

share|improve this question
add comment

1 Answer

To add an icon to the dash you can make custom icons and put them into ~/.local/share/applications.

Simply copy and paste this template into gedit (or another text editor) and save it as libreoffice.desktop into the folder.

[Desktop Entry]
Name=Libre Offce
Comment=Office Application
Exec=libre-office
Icon=/usr/share/pixmaps/libreoffice.png
Terminal=false
Type=Application
StartupNotify=true
Keywords=libre;office;writer;
Categories=Office

If you want it so the icon is available for all users, put the .desktop file in /usr/share/applications.

The Categories=Office bit means it will show up under "Office" in the dash. If the icon is in /usr/share/pixmaps/libreoffice.png then actually you can just write Icon=libreoffice, there's no need for the full path, but only if it's in that path. Don't know if that works in Gnome 3 though.

If you have translations for the language you can specify them using something like the following:
Name[en_GB]=Libre Office
And replace [en_GB] with the code for each language.

share|improve this answer
add comment

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.