Pengwin icon indicating copy to clipboard operation
Pengwin copied to clipboard

VSCode hijacking opening of folders

Open bertlebee opened this issue 5 years ago • 0 comments

Describe the bug vscode hijacks default app for the mime type inode/directory every time it is updated.

To Reproduce

  1. open a folder using an app that cares about mime types
  2. install, update or reinstall vscode
  3. repeat step 1; folders will now open in vscode insiders

Expected behavior the default app doesn't change when VScode is installed

############## Note #################

This does not appear to be a VSCode issue. See discussion on this issue and specifically this comment: https://github.com/microsoft/vscode/issues/41037#issuecomment-373484318

####################################

Basic Troubleshooting Checklist

[x ] I have searched Google for the error message. [ not related specifically to WSL] I have checked official WSL troubleshooting documentation: https://docs.microsoft.com/en-us/windows/wsl/troubleshooting#confirm-wsl-is-enabled. [not related specifically to WSL ] I have searched the official Microsoft WSL issues page: https://github.com/Microsoft/WSL/issues. [x ] I have searched the Pengwin issues page: https://github.com/WhitewaterFoundry/Pengwin/issues. [x ] I have run Windows 10 updates and restarted. [x ] I have restarted WSL service: wsl.exe --terminate WLinux wsl.exe --shutdown.

What other troubleshooting have you attempted? various attempts to change the default including editing various files including /etc/mailcap & ~/.config/mimeapps.list, using xdg-mime

Insert here:

Pengwin Version

Run grep "PENGWIN_VERSION" /etc/os-release in Pengwin.

Insert here: PENGWIN_VERSION="20.11.0"

WSL general info

Run wslsys in Pengwin.

Insert here: WSL Version: 2 Locale: en_AU Release Install Date: Tue Jul 28 21:05:25 AEST 2020 Branch: vb_release Build: 19042 Full Build: 19041.1.amd64fre.vb_release.191206-1406 Display Scaling: 1.25 Windows Theme: light Windows Uptime: 3d 22h 41m WSL Uptime: 0d 0h 37m WSL Release: Pengwin WSL Kernel: Linux 4.19.128-microsoft-standard Packages Count: 937

bertlebee avatar Nov 19 '20 10:11 bertlebee