Set Wine application icons in Cinnamon or Gnome3
Create your icon as a png file
-
copy an application file from
/usr/share/applications
open it in a text editor
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.
I have the same problem, I made the new directory, and I put the desktop file, but Cinnamon in Ubuntu 13.10 still shows the stupid Windows logo, I was searching in others forums but this one was the closest to my problem.
I'll show you my desktop file for Microsoft Windows
[Desktop Entry]
Version=1.0
Type=Application
Name=Microsoft Word 2010
Comment=
Icon=word.png
Exec=env WINEPREFIX="/home/larry/.PlayOnLinux//wineprefix/Office2010" wine C:\\\\windows\\\\command\\\\start.exe /Unix /home/larry/.PlayOnLinux//wineprefix/Office2010/dosdevices/c:/users/larry/Start\\ Menu/Programs/Microsoft\\ Office/Microsoft\\ Word\\ 2010.lnk
NoDisplay=false
Categories=wine-Programs-Microsoft Office;
StartupNotify=true
Terminal=false
StartupWMClass=WINWORD.EXE
Encoding=UTF-8