0

I am using Ubuntu with Studio 3t even tho I can "pin" an icon to start it in the Ubuntu dock, when it opens, it opens under another icon. Why is that? Isit possible to make it open under its own icon?

enter image description here

Jiew Meng
  • 10,677

2 Answers2

1

As mentioned by @vanadium, it is likely that the WMStartupClass field of the Studio3T desktop file is incorrect.

TL;DR Possible quick fix:

Edit the file ending by Studio-3T.desktop in ~/.local/share/applications to set StartupWMClass:

StartupWMClass=Studio 3T

Complete fix

  1. Start Studio 3T
  2. Press alt+ f2 and then execute command lg.
  3. Then in top right corner, click on the Windows button. Find the wmclass key of Studio 3t in the application list [Studio ][1] [1]: https://i.sstatic.net/gwElVwSI.png
  4. Edit the file ending by Studio-3T.desktop in ~/.local/share/applications and set the field WMStartupClass to Studio 3T wmclass value found at step 3

See more about WMClass in this related answer

0

I had this version of the desktop shortcut, check if helps.

Change the {YOUR-USER} to your user, save the file as studio-3t.desktop

Move the file to /usr/share/applications

#!/usr/bin/env xdg-open
[Desktop Entry]
Type=Application
Name=Studio 3T
Exec="/home/{YOUR-USER}/studio3t/Studio-3T"  %U
Icon=/home/{YOUR-USER}/studio3t/.install4j/i4j_extf_2_1l086o8_703o14.png
StartupWMClass=install4j-t3-dataman-mongodb-app-Studio3TApp