Page 1 of 1

How to create an icon for my application on Ubuntu?

Posted: Thu Mar 06, 2014 5:41 pm
by marcoagpinto
Hello!!!!

How do I associate an icon to my application to appear on the left side of the screen instead of a "?" icon?


Thanks!

Kind regards,
>Marco A.G.Pinto
---------------

Re: How to create an icon for my application on Ubuntu?

Posted: Thu Mar 06, 2014 6:04 pm
by ts-soft
You have to create a starter (simple textfile):
example:

Code: Select all

[Desktop Entry]
Name=MyAPP
Exec=/home/marcoagpinto/MyAPPDIR/MyAPP
MimeType=
Icon=/home/marcoagpinto/MyAPPDIR/MyAPP.png
Terminal=false
Type=Application
Categories=GTK;GNOME;Application;
Comment=
change the settings to your application

save this for example as: MyAPP.desktop in: ~/.local/share/applications/
Set the executable flag on this file.

Type in a terminal:

Code: Select all

update-desktop-database ~/.local/share/applications
Now, you found your application in dash and can start it, it should shown on the left side with icon :wink:

Greetings - Thomas

// edit
or have a look here: https://apps.ubuntu.com/cat/application ... -launcher/
not tested by my, i doesn't use ubuntu (bad :mrgreen: )