Wine Launcher – How to Create Custom Application Launcher

launcherunitywine

I'm able to locate stuff with the dash home then drag it down to the launcher bar on the left of the desktop, but what if the application installed via Wine isn't found via the dash search? I've right clicked on the application in the .wine directory and found no options to create a launcher either.

Best Answer

You can create a Launcher item in /usr/share/applications. For Wine applications, say foobar.exe, you can create a foobar.desktop file like:

[Desktop Entry]
Name=FooBar
Comment=Foo & Bar
Exec=sh -c "cd /home/USER/.wine/drive_c/Program\ Files/FOOBAR_FOLDER; wine foobar.exe"
Icon=wine
Terminal=false
Type=Application
Categories=Wine;
StartupNotify=true

replacing USER and FOOBAR_FOLDER with appropriate values.

So you'll be able to locate your application in the Launcher by typing "FooBar".

Related Question