Cinnamon: Wine Taskbar Icons

Created on 29 Mar 2012  路  10Comments  路  Source: linuxmint/cinnamon

Ive noticed that applications running in wine show the incorrect icon in the taskbar yet show the correct icon in other things (like AWN dock). Instead of showing the running application in wine they just show the wine glass.

Most helpful comment

Maybe that will help:

I had similar issue with Notepad++ under wine under ubuntu with gnome-desktop.
Correct Notepad++ icon would show in 'Applications' menu/launcher but Alt-Tab showed default wine icon.

The solution I found:
My Notepad++ executable is called npp.exe.
Under ~/.local/share/applications I had a shortcut called npp.desktop with reference to correct icon.

I RENAMED npp.desktop TO npp.exe.desktop AND PROBLEM SOLVED.

It seems that Alt-Tab takes the "process name" and uses it to lookup a desktop file for the icon. Make sure the desktop file name matches the process name.

Perhaps this lookup procedure should have the ability to strip common windows extensions (namely .exe) from the name.

All 10 comments

Does this also happen in gnome-shell? If it doesn't happen in gnome-shell, than it's probably a problem with cinnamon specifically.

Interestingly enough gnome shell shows the appropriate icon but the wrong caption. Cinnamon shows the right caption but the wrong icon...

Screenshots below:
http://imgur.com/oGrAW,Bx8qo

PS:
The icon in the taskbar on Cinnamon is from an icon theme. Normally it displays the plain wineglass icon.

Closing due to inactivity. If you think this still might be an issue, see the instructions here to try a newer version. If the problem still exists, we'll reopen the issue.

I have this issue (more like an enhancement request, perhaps) on Mint 17 x86_64, reproducible in a fresh installation with wine1.6. (And I've had it in Mint 15 for awhile, which I just upgraded from.)

$ cinnamon --version
Cinnamon 2.2.13

It also happens with nightly 2.3.0-20140725040007-trusty from the gwendal-lebihan-dev PPA. As @kantlivelong noted, the generic icon changes according to the icon theme selected in System Settings -> Themes -> Other settings, but we want the application's Windows icon to be used.

Lastly, it does seem to also happen in gnome-shell. I installed gnome-shell (3.10) and gdm packages from the built-in repositories (no PPA or pinning) and rebooted into gnome-shell, and it also has a generic icon. Is that a clean enough test to show it's an upstream issue?

Here are screenshots: https://imgur.com/a/wQNVX . The Mint-X theme is selected.

Possible workarounds to manually set an icon in the launcher file are described in Stack Overflow answers here.

I also have this problem and have always had it. Similar problems used (and may still) occur in Unity and there is a thread about it at https://bugs.launchpad.net/unity-2d/+bug/702452 where I made a series of inputs in the days long ago before discovering Cinnamon.

When you use the Window list with App grouping it groups all Wine programs together which is an irritation as I still use several legacy Windows programs together for web development (Dreamweaver, Picasa and Irfanview).

However if Wine programs are added to the panel they show correctly, it is only when they are running this occurs.

I have nothing using Unity to check if it is still present in Trusty but I have checked in Lubuntu 14.04 and that shows the Wine programs correctly and they stack properly.

Same here. Can't figure it out on mint-17 cinnamon. I was able to change icon for the wine application launcher and it shows correctly on the desktop but when I run it, all the wine apps have the same wine (purple windows) icon on the panel. It's confusing when you have more than one wine app running. See the screenshot. https://flic.kr/p/oFBcoN
I've also noticed, when I had teamviewer installed before wine it was OK (it used it's own wine wrapper) but after I installed wine, the panel icon changed.

This is a considerably serious issue since many people would run multiple Wine applications simultaneously. After searching a lot, and trying all the suggestions, there is still no improvement. The issue needs to be reopened.

Only just come across this, but I think it might be a more general issue. I'm currently running Firefox Developer Edition along side the stable release channel, and although the .desktop file for Firefox-DE has the correct (blue) icon, and this works in docks, kupfer etc., the Cinnamon window-list applet still shows the theme icon for Firefox. It ought to respect the .desktop file, right? Seems to be the same problem with wine applications.

Maybe that will help:

I had similar issue with Notepad++ under wine under ubuntu with gnome-desktop.
Correct Notepad++ icon would show in 'Applications' menu/launcher but Alt-Tab showed default wine icon.

The solution I found:
My Notepad++ executable is called npp.exe.
Under ~/.local/share/applications I had a shortcut called npp.desktop with reference to correct icon.

I RENAMED npp.desktop TO npp.exe.desktop AND PROBLEM SOLVED.

It seems that Alt-Tab takes the "process name" and uses it to lookup a desktop file for the icon. Make sure the desktop file name matches the process name.

Perhaps this lookup procedure should have the ability to strip common windows extensions (namely .exe) from the name.

Was this page helpful?
0 / 5 - 0 ratings