I have Ubuntu 16.04LTS with the default Unity desktop. Down the left hand side is the launcher bar/taskbar, with icons for all the apps I use. Above the ordinary housekeeping apps I have Eclipse and Android Studio installed and associated launcher bar icons.
Alone amongst all the apps, when I start A.Sudio via the taskbar, the icon is duplicated and appears again at the bottom above the wastepaper basket. When that app is in the background clicking on the original launcher icon does nothing, only the newly created bottom icon is active. For all other apps (Eclipse, Thunderbird, Firefox etc) clicking on the sole original icon switches focus to that task when it's in the background.
Can anyone please explain this behaviour of Android Studio and its icon?
51 Answer
Try modifying the desktop file (jetbrains-studio.desktop for me)
This file if created by android studio contains the line:
StartupWMClass=jetbrains-studio
while the one created by umake contains:
StartupWMClass=jetbrains-android-studio
change it to
StartupWMClass=jetbrains-studio
and save it, You might need super user permissions (sudo) for the same.
Reference: