Created
September 21, 2020 20:53
-
-
Save yawnston/cdbce9f8f9e8617a947a49eecddc5718 to your computer and use it in GitHub Desktop.
Launch WSL2 X server + WM
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
' This script is meant to be launched from the Windows side, to start up a decorationless | |
' VcXsrv container for the environment. | |
Set vcxsrvShell = CreateObject("WScript.Shell") | |
vcxsrvShell.Run """C:\Program Files\VcXsrv\vcxsrv.exe"" -nodecoration -wgl -ac -clipboard -lesspointer" | |
Set vcxsrvShell = Nothing | |
Set wslShell = CreateObject("WScript.Shell") | |
wslShell.Run "wsl ~/.scripts/wlaunch", 0 | |
Set wslShell = Nothing |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment