WSL is short for "Windows Subsystem for Linux", which is a Linux Subsystem from Windows 10. WSL provides developers with a familiar Bash shell and Linux environment in which you can run most Linux command-line tools, directly on Windows, UNMODIFIED, without needing an entire Linux virtual machine.
WSL now have a better wsl path conversion tool wslpath
provided by Microsoft that is builtin for all distros. wslupath
is still here for compatibility.
This is a limitation of WSL and it is expected. when running the shortcut, it will use your Windows X server(X410, VcXsrv, Xming, etc) to create a separate window for displaying the Linux app. Since it is displaying in another app, the window for displaying app will be separated from the original shortcut.
the package has moved to a new location https://pkg.wslutiliti.es/ that do not relies on my personal website. For old users, you should remove the http://access.patrickwu.space
entry from /etc/apt/sources.list
and readd following the guidelines for Kali Linux and Debian GNU/Linux.
You might encounter this error when executing wslsys
or wslview
that throws error like the following:
+ ... coding(852); [int64]((get-date) - (gcim Win32_OperatingSystem).LastBo ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : MetadataError: (root\cimv2:Win32_OperatingSystem:String) [Get-CimInstance], CimException
+ FullyQualifiedErrorId : HRESULT 0x80041010,Microsoft.Management.Infrastructure.CimCmdlets.GetCimInstanceCommand
In this case, the WMI class Win32_OperatingSystem
is not available on your system. You can try to rebuild the WMI repository by following the steps below:
net stop winmgmt
winmgmt /resetrepository
error code | description |
---|---|
1 | general error/unknown error. |
20 | input is empty or invalid. |
21 | input is empty. |
22 | input is invalid. |
30 | file do not exist. |
31 | folder do not exist. |
32 | feature not implemented. |
33 | required component do not exist. |
34 | unsupported feature (for a distro) |
40 | Unknown system input. |
Trivago.