Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wine Taskbar Icons Incorrect #3814

Open
greyskier opened this issue Jan 12, 2015 · 19 comments
Open

Wine Taskbar Icons Incorrect #3814

greyskier opened this issue Jan 12, 2015 · 19 comments

Comments

@greyskier
Copy link

Applications running in wine show the incorrect icon in the taskbar. Instead of showing the running application in wine they just show the wine Windows icon. They show the correct icon in the menu because the correct icon is listed in the .desktop file at ~/.local/share/applications.
I'm using LinuxMint 17.1 Cinnamon and this wasn't an issue when I was using the MATE desktop. This issue was previously closed but it is not fixed as several other people left comments after it was closed but apparently didn't create a new thread. This is a real PITA for those of us who have to run several Windows apps at once along with Firefox, file manager and Gedit etc. I have spent hours reading and trying different things to no avail.

@manjukirans
Copy link

This issue seems to be there since a long time. Can we reopen the earlier bug?
#581
mtwebster had closed this bug due to inactivity.

@igordovgaluk
Copy link

@greyskier @manjukirans i have same issue with Far Manager. On the other hand WinMerge is showed with correct icon. so it could be Wine's bug.
What apps have wrong icons in your case?

@greyskier
Copy link
Author

I do genealogy and I need to have several windows open at once for Firefox,file manager, gedit, The Master Genealogist(Windows program), Dynamic Famiy Tree Compiler(Windows program), Gedpage(Windows program), plus usually Rhythmbox music player and Thunderbird. This makes the task bar entries very small and the Windows programs all end up resembling Firefox as their icons don't display properly making switching between them more difficult as you have to stop and look carefully.

@greyskier greyskier reopened this May 2, 2015
@manjukirans
Copy link

Source Insight, Microsoft Office Applications, Teamviewer are the applications I have used and seen the problem. The reason this could be a Cinnamon issue rather than wine issue is because, this issue does not show up in MATE and Gnome. Also, if you use a dock (such as docky), the issue is not seen,

@Naruki
Copy link

Naruki commented Oct 27, 2015

Also test any apps that run in a terminal, such as HTOP or Midnight Commander. Those are the two that cause this problem for me.

@igordovgaluk
Copy link

issue with Far Manager resolved by using winconsole instead of wine to launch the app

@JosephMcc
Copy link
Contributor

Could you test this again once you have Cinnamon 2.8.3 or greater.

@igordovgaluk
Copy link

checked with 2.8.3-20151111040009-trusty, HTOP, Midnight Commander, TeamViewer 10, Far Manager (wine) - not fixed

@JosephMcc
Copy link
Contributor

Also test any apps that run in a terminal, such as HTOP or Midnight Commander. Those are the two that cause this problem for me.

Don't they show up in the window list as a terminal? Do they behave differently in other DE's somehow?

@greyskier
Copy link
Author

It appears to be using the icon /usr/share/icons/Mint-X/apps/xx/wine.png rather than the one that is in the .desktop file

@ManIVIctorious
Copy link

I can confirm this is still an issue in cinnamon 3.0.7

@gstavi
Copy link

gstavi commented Nov 17, 2016

Copying my comment from #581

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.

@kvnxiao
Copy link

kvnxiao commented Nov 27, 2017

Is this ever going to be fixed? Using the suggestion that @gstavi gave above?

@GitHubIsToxic
Copy link

Still not fixed in Mint 19.

@icarter09
Copy link
Member

@GitHubIsToxic is this still an issue with Mint 19.3?

@claudiux
Copy link
Member

@icarter09 Yes, this is still an issue with Mint 19.3. Just a black icon appears in the taskbar, instead of the app icon.

@GitHubIsToxic
Copy link

GitHubIsToxic commented Dec 20, 2019

Running Mint 19 Cinnamon 3.8.9 here; yes all Wine applications have the Wine icon (red square with Windows XP-ish logo).

taskbar_icons

For me it is not black, like @claudiux describes, although I vaguely recall seeing something like it years ago.

IIRC in previous Mint versions the icon in taskbar was the Wine glass icon instead of the current windows icon.

@icarter09
Copy link
Member

@GitHubIsToxic @claudiux: I haven't used Wine in awhile, but I thought the Windows icon in the image provided by @GitHubIsToxic was the correct icon. (Stupid question) Has this been tested lately in any other OS or DE?

@GitHubIsToxic
Copy link

GitHubIsToxic commented Dec 21, 2019

I seem to recall icons were displayed properly on Ubuntu (Gnome 2 or XFCE), after Unity happened (and thus the taskbar disappeared) I switched to Mint. Somehow I know it's wrong in Mint, anyway.

*Edit: I googled and did find this screenshot (dated January 19, 2018) showing Wine 3.0 running on Mint (unknown version) and showing a proper icon for Notepad++ (which is Win32 only), so apparantly it worked (until) recently...but I can't specifically remember if it did for me. All I remember was the wine glass icon all over the place.


(https://www.zdnet.com/article/windows-apps-on-linux-wine-3-0-is-out-now-with-direct3d-10-11-support/)

*Edit 2: FYI, I'm running wine-4.0.3 here (on Mint 19 Cinnamon 3.8.9).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests