Pengwin: Open With WLinux in Context Menu leads to error

Created on 16 Nov 2018  Â·  7Comments  Â·  Source: WhitewaterFoundry/Pengwin

Describe the bug
A clear and concise description of what the bug is.

When I right click on a folder in Explorer and select "Open With WLinux," I am presented with an "Application Not Found" error.

To Reproduce
Steps to reproduce the behavior:

  1. Go to Explorer
  2. Right click and select Open With WLinux
  3. See error

Expected behavior
A clear and concise description of what you expected to happen.

I expect the folder to open as the current directory in WLinux

Screenshots
If applicable, add screenshots to help explain your problem.

image

Additional context
Add any other context about the problem here.

Basic Troubleshooting Checklist

[X] I have confirmed WSL is enabled: https://docs.microsoft.com/en-us/windows/wsl/troubleshooting#confirm-wsl-is-enabled.
[X] I have searched Google for the error message.
[X] I have searched the official Microsoft WSL issues page: https://github.com/Microsoft/WSL/issues.
[X] I have searched the WLinux issues page: https://github.com/WhitewaterFoundry/WLinux/issues.
[ ] I have reset WLinux: Settings->Apps->Apps & features->WLinux->Advanced Options->Reset.
[ ] I have disabled and re-enabled WSL in Windows Features.
[ ] I have run Windows 10 updates and restarted.

What other troubleshooting have you attempted?

Insert here:

WLinux Version

Find: Settings->Apps->Apps & features->WLinux->Advanced Options->Version.

Insert here:

Windows Build

Run 'systeminfo | findstr /C:"OS"' in Command Prompt and insert here:

OS Name: Microsoft Windows 10 Home
OS Version: 10.0.16299 N/A Build 16299
OS Manufacturer: Microsoft Corporation
OS Configuration: Standalone Workstation
OS Build Type: Multiprocessor Free
BIOS Version: HUAWEI 1.12, 7/16/2018

For help on retrieving: https://docs.microsoft.com/en-us/windows/wsl/troubleshooting#check-your-build-number

Bug Undergoing Testing

All 7 comments

Can you complete the following steps and paste the output here?

  • open Powershell with Administrator;
  • run (Get-ItemProperty Registry::HKEY_CLASSES_ROOT\Directory\Background\shell\WLinux\command).'(default)'

I have the same issue, here is the output:
wlinux.exe run "cd "$(wslupath "%V")" && $(getent passwd $LOGNAME | cut -d: -f7)"

@hidenmind if this happens, open regedit from search or ctrl-R and navigate to HKEY_CLASSES_ROOT\Directory\Background\shell\WLinux\command, and replace the default value to wlinux.exe run "cd \"$(wslupath \"%V\")\" && $(getent passwd $LOGNAME | cut -d: -f7)"

@patrick330602 Thanks for replying. This is exactly the value that is already in the key, and the feature continues not working
registry

We have a fix inbound #247.

wlinux.exe run "cd "$(wslupath "%V")" && $(getent passwd $LOGNAME | cut -d: -f7)"

Thanks,it works

Thank you, @patrick330602.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Photonico picture Photonico  Â·  5Comments

sirredbeard picture sirredbeard  Â·  3Comments

pnelsonsr picture pnelsonsr  Â·  5Comments

WSLUser picture WSLUser  Â·  4Comments

ket000 picture ket000  Â·  5Comments