How does one create a custom application launcher for Wine installed apps?

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.


Solution 1:

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".

Solution 2:

To get a wine application into the unity bar, the following worked for me:

  • Start alacarte.
  • Go to wine - programs - ... (where your wine program is located).
  • Move the program icon to another folder (outside of wine; e.g., office).
  • Close Alacarte.

Now I could find the program in the unity dash and just move it to the unity bar.