http://bugs.winehq.org/show_bug.cgi?id=32699
Bug #: 32699 Summary: Add StartupWMClass to .desktop files. Product: Wine Version: 1.5.21 Platform: x86-64 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: Schnuff_Forum@web.de Classification: Unclassified
See launchpad bug here: https://bugs.launchpad.net/unity/+bug/702452
In Ubuntu Unity applications run via wine have the default wine-icon (the wine-bottle) in the "Running Program-Icons"-bar (The Task-bar). Thus all applications are getting "stacked" under one icon.
To stop this behavior you have to write in each (generated) .desktop-file the Line: StartupWMClass=<name of the exe-file>
Example Firefox: StartupWMClass=firefox.exe
Wine should do this automatically after I installed my program, so the users would get the expected Icons and "Stacking-Mechanism" in Unity.