WhitewaterFoundry / Pengwin

A Linux distro optimized for WSL based on Debian.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Windows Terminal "Open in Terminal" explorer.exe right-click context menu not working properly

eggbean opened this issue · comments

In Windows Terminal settings when the Command line setting it set to: %ProgramFiles%\WindowsApps\WhitewaterFoundryLtd.Co.16571368D6CFF_22.3.2.0_x64__kd1vv0z0vy70w\DistroLauncher\pengwin.exe the explorer.exe right-click context menu item to "Open in Terminal" doesn't work, as "does not respect the starting directory".

To get around this I have changed Command line: to wsl -d WLinux and Starting directory to ~.

Apparently this problem also occurs in WSL Ubuntu.

Ah, this is the same root cause as the Ubuntu startingDirectory bug. Pengwin has included a JSON file that overrides the commandline to point to pengwin.exe, but pengwin.exe does not respect the starting directory. Any executable that ignores its working directory will exhibit this behavior.

microsoft/terminal#13952

I don't yet know if there are any problems caused by this workaround. I'll report them here if I find any.

Probably because we needed to put a Starting Directory in the Json fragment as a workaround for an issue that Windows Terminal had.

Another workaround would be installing the Open with Pengwin option in pengwin-setup.

Thanks for reporting, we will figure out how to fix it.

Regards,
Carlos