-
Notifications
You must be signed in to change notification settings - Fork 854
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
file URI's incompatible between wsl and windows. #3907
Comments
Try to add |
@Biswa96 Try to add it where? The reason I have |
Hi,
IE, I define Regards; |
@fpopineau Many thanks. Unfortunately no. I had already tried a similar approach with cmd.exe /c start and replacing the regexp but it was inconsistent maybe because it's a remote session. Your hack is almost identical to mine. Thanks. Also, even if it worked it would not address the problem of both absolute and relative paths from the shell for bash. |
Ran course. Ref #3832 for sport. There is probably a solution to "I've tried using sed or awk scripts on the linux side, but is super inconsistent sometimes adding or removing slashes and whitespaces" but you'll probably find a better audience on serverfault or similar. |
For anyone interested. I found a solution for the browser. Don't forget to adapt the regular expresion to your mount point in
|
I'm trying to open local html files as an output from a remote linux emacs session but the output lacks a colon in the drive letter and due to the file uri scheme it doesn't open.
I have
/c/Users/ertwr/AppData/Local/Vivaldi/Applications/vivaldi.exe
boht in xdg-open and $BROWSER.I've tried wslpath but it gives gets rid of the initial slashes from file
file:/c:/Users/ert/...
cmd.exe /c start doesn't work. I've tried using sed or awk scripts on the linux side, but is super inconsistent sometimes adding or removing slashes and whitespaces. Not to mention the firefox version inside wsl doesn't support GPU. So I'm stuck.
The text was updated successfully, but these errors were encountered: