Created
December 1, 2020 17:34
-
-
Save dcasati/fe4e8b366ea0e006566968f6a0e860c2 to your computer and use it in GitHub Desktop.
Running i3wm on WSL2 with two monitors (dual head)
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
C:\Program Files\VcXsrv>vcxsrv.exe -screen 0 @2 -wgl -nodecoration +xinerama -screen 1 @3 -wgl -nodecoration +xinerama -ac | |
then add this to your ~/.config/i3/config file: | |
fake-outputs 1920x1200+0+0,1920x1200+1920+0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I was about to give up when I found this. I didn't quite manage to make it work without the -multimonitors parameter, this is my config, although it opens 4 windows I don't know if that's intended
vcxsrv.exe -screen 0 @1 -nodecoration -wgl +xinerama -screen 1 @2 -nodecoration +xinerama -wgl -screen 2 @4 -nodecoration +xinerama -wgl -screen 3 @3 -nodecoration +xinerama -wgl -ac -multimonitors
and this is my i3 config
fake-outputs 1080x1920+0+0,2560x1440+1080+0,1920x1080+3640+0,1920x1080+3640+1080