Hi guys! I finally get VSCode running flawless on my Silverblue, using a .desktop file as a launcher. The only issue that I had is the launcher icon doesn’t match with the launched instance of VSCode, duplicating items on GNOME dock (currently using dash to panel, but it’s happening on GNOME default dash too):

With “~/.local/share/application/code.desktop”, with VSCode icon on “~/.vscodeicon.png” and toolbox name as “dev”:
[Desktop Entry]
Name=Visual Studio Code
Comment=Code Editing. Redefined.
GenericName=Text Editor
Exec=toolbox run -c dev code
Icon=~/.vscodeicon.png
Type=Application
StartupNotify=false
StartupWMClass=Code
Categories=Utility;TextEditor;Development;IDE;
MimeType=text/plain;inode/directory;
Keywords=vscode;
AFAIK, StartupWMClass determines how docks deal with matching icons and launchers on docks. But the problem is, StartWMClass is setted to “Code”, which is correct according to lg (“lg” on Alt+F2 then clicking on Windows tab).
WMClass match but the icon still duplicated
… Someone has clues on how to workaround that?