WindTerm icon indicating copy to clipboard operation
WindTerm copied to clipboard

WSL Filer

Open yaronzz opened this issue 3 years ago • 2 comments

image

WSL-Ubuntu Filer path is "C:/user/xxxxx/Desktop/",can it use linux's path "/root/"

yaronzz avatar Jan 14 '22 08:01 yaronzz

Sorry for the late reply.

WSL is still just a virtual machine, not an independent file system, so there is no way to directly access the internal file system from the host machine. But Windows still provides a way to access the internal files through \\wsl$. I will see if this can meet your needs.

If there is any progress, I will update here, please stay tuned, thank you.

kingToolbox avatar Jan 19 '22 06:01 kingToolbox

I've been using this workaround for a while, but I think there're better ways.

I mounted the WSL dir to Win (as drive Z) so I can access it via Filer the same way I access any other folders on Win. screenshot_1

There're some remaining problems:

  1. I can use \\wsl$ to open the dir for WSL via Windows File Explorer, but I can't do so with WindTerm Filer directly. If that's doable, I don't think I need to mount the dir anymore. image

  2. I haven't figured out how to use this path (in Z drive) at the startup of the session. I tried to modify the Working Directory in the session config, but it seems to take no effect for the Filer. screenshot_2

Rubp-007 avatar Jul 20 '22 21:07 Rubp-007