Requirements VcXsrv, i3wm in wsl.
The three files below must be stored in the same directory (%UserProfile%\Desktop
).
- i3.vbs - This is the entrypoint script. It runs i3.bat in the background.
- i3.bat - Runs VcXsrv using d0.xlaunch profile then starts i3
- d0.xlaunch - VcXsrv in "One window without titlebar" mode at DISPLAY=:0
Install gnome-terminal
for default terminal. unity-settings-daemon
and light-themes
are also needed for the terminal to run and look nice.
# cat ~/.config/i3/config
bindsym Mod1+Shift+e exec "i3-nagbar -t warning -m 'You pressed the exit shortcut. Do you really want to exit i3? This will end your X session.' -b 'Yes' 'taskkill.exe /IM vcxsrv.exe /T'"
Do you need to disable wslg?