5

I installed the latest Eclipse as per the instructions here, and the icon shows fine in the launcher, but shows as a blank icon with an exclamation mark when using ALT+TAB to switch between applications. Should I copy the eclipse.xpm file to another folder other than usr/share/pixmaps/ so the switcher can see it, or what should I do?

Image: Switching between apps with ALT+TAB:
Image: Switching between apps with ALT+TAB
versus launcher icons:
launcher icons

Mike Pierce
  • 282
  • 3
  • 17
SakoDaemon
  • 887
  • 1
  • 8
  • 20

1 Answers1

3

Open the .desktop file associated with Eclipse. Add the following line to the file and save the file:

StartupWMClass=Eclipse
pomsky
  • 67,112
  • 21
  • 233
  • 243
  • 1
    Also works on Debian Buster. Please consider linking to some documentation that explains why this works and how to find what should be added in the `.desktop` file for other cases. – Olivier Cailloux Aug 19 '19 at 10:06
  • 2
    @olivier Please refer to [this answer](https://askubuntu.com/a/975230/480481). – pomsky Aug 19 '19 at 10:21