Add desktop launcher for wine application on Ubuntu

Here’s a sample for fastone image viewer:

#!/usr/bin/env xdg-open
[Desktop Entry]
Name=FSViewer
GenericName=FS Viewer
Comment=Sync your files across computers and to the web
Exec=wine "E:\Software\Graphics Utils\Image Viewers\FSViewer55\FSViewer.exe"
Terminal=false
Type=Application
Icon=/home/joel/fsviewer.ico
Categories=Network;FileTransfer;
StartupNotify=false

First copy your desired application’s icon from the /usr/share/applications directory to Desktop,

sudo cp /usr/share/applications/filename.desktop ~/Desktop

Then change the permissions(give execute permission to the .desktop file) of copied .desktop file on the Desktop,

sudo chmod +x ~/Desktop/filename.desktop

Double click on the application icon to run it’s corresponding application.