forge
Explore
Log in

Don't you dare go Hollow

wiki/Xwayland: Mention adding DISPLAY to config environment

Browse files at this commit

a42717bcac84574a011a12e4457fe00cafc330b8Ivan MolodetskikhParent: 6b013a0
wiki/Xwayland.mdmodified+8 -0
@@ -15,6 +15,14 @@ env DISPLAY=:0 flatpak run com.valvesoftware.Steam
15 15
16 They will appear as normal windows.16 They will appear as normal windows.
17 17
18+You can also set `DISPLAY` by default for all apps by adding it to the `environment` section of the niri config:
19+
20+```kdl
21+environment {
22+ DISPLAY ":0"
23+}
24+```
25+
18 ## Directly running Xwayland in rootful mode26 ## Directly running Xwayland in rootful mode
19 27
20 This method involves invoking XWayland directly and running it as its own window, it also requires an extra X11 window manager running inside it.28 This method involves invoking XWayland directly and running it as its own window, it also requires an extra X11 window manager running inside it.