Ubuntu – Set Wine application icons in Cinnamon or Gnome3

cinnamongnomewine

enter image description here

In the above screenshot you can see that I am using a Wine application, Nemo file browser & Firefox, however, I want to use a specific icon for this Wine application too! To be precise I am using PDF Xchange viewer & I want to use its native Windows icon in Cinnamon too!

enter image description here

How can I do that?

Best Answer

  1. Create your icon as a png file

  2. copy an application file from

    /usr/share/applications

  3. open it in a text editor

  4. customize it.

You could just copy my template blow, also:

[Desktop Entry]
Name=Your App
Comment=Comments shown as tooltip
Exec= wine /path/to/executable
Icon=/path/to/icon.png
StartupNotify=true
Terminal=false
Type=Application
MimeType=text/plain; 
Categories=Wine;Applications;

Propose:

You're icon should be placed on: /usr/share/icons/ownicons

create this directory with

sudo mkdir /usr/share/myicons/
sudo chown yourusername:yourusername /usr/share/myicons/

Look at Gnome Desktop entry specification for more information.