Whenever I click the VS Code icon to start a VS Code session, VS Code launches in a "Visual Studio Code - URL Handler" window. Why is that? How can this be fixed?
Details: AEON Linux, VS Code installed in Tumbleweed distrobox.
Here below is the content of the .desktop file; as it can be seen, there is no mention of any "URL Handler" mode or anything in that vein.
[Desktop Entry]
Name=Visual Studio Code (on essentials)
Comment=Code Editing. Redefined.
GenericName=Text Editor (on essentials)
Exec=/usr/bin/distrobox-enter -n essentials -- /usr/share/code/code %F
Icon=vscode
Type=Application
StartupNotify=false
StartupWMClass=Code
Categories=TextEditor;Development;IDE;
MimeType=application/x-code-workspace;
Actions=new-empty-window;
Keywords=vscode;
[Desktop Action new-empty-window]
Name=New Empty Window (on essentials)
Name[cs]=Nové prázdné okno (on essentials)
Name[de]=Neues leeres Fenster (on essentials)
Name[es]=Nueva ventana vacía (on essentials)
Name[fr]=Nouvelle fenêtre vide (on essentials)
Name[it]=Nuova finestra vuota (on essentials)
Name[ja]=新しい空のウィンドウ (on essentials)
Name[ko]=새 빈 창 (on essentials)
Name[ru]=Новое пустое окно (on essentials)
Name[zh_CN]=新建空窗口 (on essentials)
Name[zh_TW]=開新空視窗 (on essentials)
Exec=/usr/bin/distrobox-enter -n essentials -- /usr/share/code/code --new-window %F
Icon=vscode
/usr/bin/distrobox-enterto launch it. Since I don't see any smoking gun in the desktop file itself, my guess would be that it isdistrobox-enterthat is responsible for the observed behavior.