Taskbar icon hell

Questions about Wine on Linux
Locked
thecrazy
Newbie
Newbie
Posts: 2
Joined: Tue Aug 05, 2014 2:40 pm

Taskbar icon hell

Post by thecrazy »

I have a launcher for vSphere client 5.1, it displays the proper icon on the desktop but the taskbar icon is not wrong.
Right when I start the program, it comes up with a login box, at that point the taskbar icon is ok but once I log in then the icon changes to the default wine icon.

I have confirmed the WMclass of the window before and after the loging box with xprop WM_CLASS
and they return the same info: WM_CLASS(STRING) = "VpxClient.exe", "Wine"

Here is the content of my launcher:

[Desktop Entry]
Name=vSphere Client
Exec=env WINEPREFIX="/home/fdefoy/.wine" wine C:\\\\Program\\ Files\\\\VMware\\\\Infrastructure\\\\Virtual\\ Infrastructure\\ Client\\\\Launcher\\\\VpxClient.exe
Type=Application
StartupNotify=true
Icon=vsphere
StartupWMClass=VpxClient.exe

I also have the same problem with Word from office 2010 under playonlinux, the launcher's icon is fine but the taskbar icon is not and the WMClass is set properly.

(Please note that vsphere was not installed via playonlinux, I used the regular wine)
User avatar
dimesio
Moderator
Moderator
Posts: 13367
Joined: Tue Mar 25, 2008 10:30 pm

Re: Taskbar icon hell

Post by dimesio »

You didn't mention what distro you're using, but if it's Ubuntu, it's a known bug in Unity. http://bugs.winehq.org/show_bug.cgi?id=35768
thecrazy
Newbie
Newbie
Posts: 2
Joined: Tue Aug 05, 2014 2:40 pm

Re: Taskbar icon hell

Post by thecrazy »

dimesio wrote:You didn't mention what distro you're using, but if it's Ubuntu, it's a known bug in Unity. http://bugs.winehq.org/show_bug.cgi?id=35768
Thank you for your reply, I am using Xubuntu 14.04 so no unity here.
oiaohm
Level 8
Level 8
Posts: 1020
Joined: Fri Feb 29, 2008 2:54 am

Re: Taskbar icon hell

Post by oiaohm »

http://kb.vmware.com/selfservice/micros ... Id=1006095
thecrazy big bad news is technically vSphere client 5.x for windows is in maintenance mode no new features and anything not a security or absolutely will not work bug not being fixed. You are meant to use the web interface or the cli solutions like "vSphere Management Assistant for vSphere 5.5" image. Of course a few don't agree with this http://code.nethna.de/vEMan/about.html

Ok down to the problem at hand. thecrazy what version wine. Also have you tried a clean WINEPREFIX with only vSphere client 5.1 in it the fact WINEPREFIX="/home/fdefoy/.wine" is used kinda suggest we could have application A + application B causing failure. Some native libraries people/applications install cause the taskbar icons to go south.

playonlinux some of their script install to many libraries resulting in the no more taskbar icon on programs wine have perfectly no issues.

https://appdb.winehq.org/objectManager. ... &iId=26916 Sorry to say with vSphere client if all you have broken in the taskbar icon you are doing well.

Using Xubuntu with xfce does not mean you don't have the unity system tray loaded. Do check http://docs.xfce.org/xfce/xfce4-panel/systray here that you really have a xfce issue. Note the Maximum icon size if the application only provided a icon larger than the Max it falls back to a wine icon. Some windows applications only provided 32x32 icons to taskbar. This is a xfce + wine thing not a bug.

So there are a few things to check out.
Locked