From e256936d55d7fc431b3d228fd912b2565961327c Mon Sep 17 00:00:00 2001 From: James McNulty Date: Mon, 18 Sep 2023 16:06:50 -0400 Subject: [PATCH 1/4] DOCS: update WSL with WSLg info --- docs/linux_dependencies.md | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/docs/linux_dependencies.md b/docs/linux_dependencies.md index 47bdbda21d91c..998dcb587b4d5 100644 --- a/docs/linux_dependencies.md +++ b/docs/linux_dependencies.md @@ -23,8 +23,17 @@ Compiling with clang is also possible - replace the `g++` package with `clang`. ### Windows Subsystem for Linux (WSL 2) -Graphics and audio need to be configured for them to work with WSL 2 backend. -Please see the ubuntu [WSL documentation](https://wiki.ubuntu.com/WSL) on how to set up graphics and audio. +Up-to-date WSL Installs for Windows 10 & 11 include WSLg, which provides +necessary servers for passing graphics and audio between Windows and the WSL instance. +With WSLg, a user's WSL instance can use X11 as well as Wayland. +For more information, see WSLg [documentation](https://github.com/microsoft/wslg#wslg-architecture-overview). + + +Prior to the release of [WSL Gui (WSLg)](https://en.wikipedia.org/wiki/Windows_Subsystem_for_Linux#WSLg) +around 4/20/2021, users had to [manually set up servers](https://wiki.ubuntu.com/WSL#Advanced_Topics) on windows for graphic and audio. +Make note of the date for documentation found across the internet. +Following advice from before WSLg's release can lead to additional conflicts. + ## [Fedora](https://getfedora.org/) From be22496f29f8638b48bd1cbf384b8690a4ad3815 Mon Sep 17 00:00:00 2001 From: James McNulty Date: Mon, 18 Sep 2023 16:11:22 -0400 Subject: [PATCH 2/4] DOCS: Change WSL heading level WSL doesn't require a specific distro and could work with any distro on this page in theory --- docs/linux_dependencies.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/linux_dependencies.md b/docs/linux_dependencies.md index 998dcb587b4d5..bd67a049e7b04 100644 --- a/docs/linux_dependencies.md +++ b/docs/linux_dependencies.md @@ -21,7 +21,7 @@ Depending on your graphics card, you may have to install one of the following: Compiling with clang is also possible - replace the `g++` package with `clang`. -### Windows Subsystem for Linux (WSL 2) +## Windows Subsystem for Linux (WSL 2) Up-to-date WSL Installs for Windows 10 & 11 include WSLg, which provides necessary servers for passing graphics and audio between Windows and the WSL instance. From fdc031505a071b16f20860def9c13931cef42dec Mon Sep 17 00:00:00 2001 From: James McNulty Date: Mon, 18 Sep 2023 21:20:17 +0000 Subject: [PATCH 3/4] fix lint error --- docs/linux_dependencies.md | 1 - 1 file changed, 1 deletion(-) diff --git a/docs/linux_dependencies.md b/docs/linux_dependencies.md index bd67a049e7b04..a8b216404513f 100644 --- a/docs/linux_dependencies.md +++ b/docs/linux_dependencies.md @@ -28,7 +28,6 @@ necessary servers for passing graphics and audio between Windows and the WSL ins With WSLg, a user's WSL instance can use X11 as well as Wayland. For more information, see WSLg [documentation](https://github.com/microsoft/wslg#wslg-architecture-overview). - Prior to the release of [WSL Gui (WSLg)](https://en.wikipedia.org/wiki/Windows_Subsystem_for_Linux#WSLg) around 4/20/2021, users had to [manually set up servers](https://wiki.ubuntu.com/WSL#Advanced_Topics) on windows for graphic and audio. Make note of the date for documentation found across the internet. From d8833228df72da1a5d1d21a033e4341eab5ed967 Mon Sep 17 00:00:00 2001 From: James McNulty Date: Mon, 18 Sep 2023 17:42:29 -0400 Subject: [PATCH 4/4] fix lint issues --- docs/linux_dependencies.md | 1 - 1 file changed, 1 deletion(-) diff --git a/docs/linux_dependencies.md b/docs/linux_dependencies.md index a8b216404513f..b123c9525f076 100644 --- a/docs/linux_dependencies.md +++ b/docs/linux_dependencies.md @@ -33,7 +33,6 @@ around 4/20/2021, users had to [manually set up servers](https://wiki.ubuntu.com Make note of the date for documentation found across the internet. Following advice from before WSLg's release can lead to additional conflicts. - ## [Fedora](https://getfedora.org/) ```bash