I have a PlayOnLinux app (Evernote) that runs great, but I would like to pin it to the Unity launcher. I already have a shortcut in the Dash and I can pin that to the Launcher, but then running it results in the app showing a wine icon in the launcher and not the icon that the shortcut had. The shortcut I have is a PlayOnLinux created shortcut and the command is:
/usr/share/playonlinux/playonlinux --run "Evernote"
I read elsewhere that in order to properly pin a wine app to the Unity Launcher the command has to look like this:
env WINEPREFIX="/home/myname/.PlayOnLinux/wineprefix/wine1.4_en4.5" wine 'C:\\Program Files\\Evernote\\Evernote\\Evernote.exe'
This works great in terms of launching and having Unity use the right icon on the Launcher, but this fails because the "wine" I am running is not the POL 1.4, but rather the system installed version. Playing around with the WINELOADER environment variable did not help.
NOTE: This question is not a duplicate of How can I add PlayOnLinux programs in the Unity dash? as I already have the launcher shortcut in the Dash.