Category : windows-subsystem-for-linux

In Windows Subsystem for Linux (WSL), in particular, a Ubuntu Linux terminal opened as a tab in Windows Terminal, how to play an audio file from command line? $ ‘/mnt/c/Program Files/VideoLAN/VLC/vlc.exe’ -Z –play-and-exit "/mnt/c/Users/xxx/Downloads/foobar.flac" does not work and gave no message. $ wslview "/mnt/c/Users/xxx/Downloads/foobar.flac" Start : This command cannot be run due to the error: ..

Read more

This follows code snippet is behaving quite weird on two platforms WSL and Ubuntu #include <iostream> #include <boost/filesystem.hpp> int main(int argc, char **argv) { try { auto cp = boost::filesystem::current_path(); if (boost::filesystem::is_directory(cp)) { std::cout << cp << " is a directory n"; } } catch (std::exception &e) { std::cerr << " Problem ? :: " ..

Read more

I have installed WSL on my Windows 10 64bt machine, but I get the below notification on every startup. Install WSL using PowerShell script (in an administrative PowerShell) and restart your computer before using Docker Desktop: Enable-WindowsOptionalFeature -Online -FeatureName $("VirtualMachinePlatform", "Microsoft-Windows-Subsystem-Linux")enter image description here Source: Windows..

Read more

I’m in the windows insider program to utilize the gpu-compute features that were implemented last summer. Things have worked great. However, after updating to the most recent build, nvidia-smi no longer works. I get an error saying “your operating system doesn’t allow it” https://blogs.windows.com/windows-insider/2021/04/07/announcing-windows-10-insider-preview-build-21354/ This is the release doc. I’m unsure whether my error is ..

Read more