2

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
1
  • That desktop file does not run VSCode directly. Rather, it uses the command /usr/bin/distrobox-enter to launch it. Since I don't see any smoking gun in the desktop file itself, my guess would be that it is distrobox-enter that is responsible for the observed behavior. Commented Sep 26 at 19:06

1 Answer 1

2

Fixed by un-exporting app, and then re-exporting. See: https://github.com/89luca89/distrobox/issues/1847

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.