Hi,
When I launch VS Code via the .desktop file created by toolbox-export it creates a duplicate icon and does not recognize StartupWMClass in the file pasted below. If I run xprop WM_CLASS and click on the VS Code window I get WM_CLASS(STRING) = "code", "Code".
Any suggestions to troubleshoot this will be appreciated.
[Desktop Entry]
Name=Visual Studio Code
Comment=Code Editing. Redefined.
GenericName=Text Editor
Exec=toolbox run -c fedora-toolbox-35 /usr/share/code/code --unity-launch %F
Icon=com.visualstudio.code
Type=Application
StartupNotify=false
StartupWMClass=Code
Categories=TextEditor;Development;IDE;
MimeType=text/plain;inode/directory;application/x-code-workspace;
Actions=new-empty-window;
Keywords=vscode;
[Desktop Action new-empty-window]
Name=New Empty Window
Exec=/usr/share/code/code --new-window %F
Icon=com.visualstudio.code
Running Fedora Silverblue 36 with GNOME v42.4 on wayland.