![]() ![]() Now you can open localhost as x-To unregister any browser just change the -r flag to -u. Ubuntu Terminal on Windows 10 with WSL Enable Windows Subsystem for Linux (WSL) Enable Developer Mode in Settings Search for turn windows features on or off and open Windows Features. Wslview -r $(wslpath -au 'C:\Windows\SystemApps\Microsoft.MicrosoftEdge_8wekyb3d8bbwe\MicrosoftEdge.exe') Wslview -r $(wslpath -au 'C:\Program Files (x86)\Google\Chrome\Application\chrome.exe') Overview Windows Subsystem for Linux (WSL) allows you to install a complete Ubuntu terminal environment in minutes on your Windows machine, allowing you to develop cross-platform applications without leaving windows. You need to register your preferred browsers like this. u "translate from a Windows path to a WSL path (default)") Step 2: Enable Linux Subsystem Begin typing Turn Windows features on and off into the Start Menu search field, then select the control panel when it appears. Windows Terminal can be launched from a shortcut or any Windows or Linux terminal by running wt.exe. Wslpath (-a "force result to absolute path format", r, -register "register wslview as the default WSL web browser.) Wslview (-u, -unregister "remove wslview as the default WSL web browser. You can do this by using some tools from wslu ("A collection of utilities for WSL"). To open localhost in browser from bash terminal, you need to configure wsl so that itÄefaults to whatever browser has been set as default in your windows 10 system. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |