1

This question already has an answer here:

have a strange problem with the dock. I have installed Android Studio, and used "Create Desktop Entry", which added it to the Applications menu, I then dragged this onto the Dock.

When the application is closed, it's fine, it shows a single entry, but when I open Android Studio, it then have two dock icons, as if the launcher and the open application are treated as separate items.

No other applications do this.

I have deleted the plan config file and recreated, and it's done the same.

How can I fix this annoyance?

Thanks.

marked as duplicate by bigbang, Suici Doga, Lewis Goddard May 24 '16 at 22:05

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

  • 3
    See this answer for help with this. Basically you will need to add a StartupWMClass line to your .desktop file. Based on this answer I presume StartupWMClass=jetbrains-studio will do the trick. – elmato May 12 '16 at 9:53
  • Good to hear! Would you mind posting what you used as an answer for the next person? – elmato May 15 '16 at 13:41

Browse other questions tagged or ask your own question.