You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
If you are running under Wayland, you have to use the following StartupWMClass=code-url-handler, instead of Code or code. This script doesn't copy the code-url-handler.desktop file to ".local/share/applications/", so you have to copy it manually and add the toolbox run to Exec=. Also, I suggest adding "--ozone-platform-hint=auto --enable-features=WaylandWindowDecorations" launch options to enable proper Wayland support for VSCode. Reboot.
With these steps, I do not have a duplicate icon anymore. Hope this helps.
Hi,
When I launch VS Code via the
.desktop
file created bytoolbox-export
it creates a duplicate icon and does not recognizeStartupWMClass
in the file pasted below. If I runxprop WM_CLASS
and click on the VS Code window I getWM_CLASS(STRING) = "code", "Code"
.Any suggestions to troubleshoot this will be appreciated.
Running Fedora Silverblue 36 with GNOME v42.4 on wayland.
The text was updated successfully, but these errors were encountered: