forge
Explore
Log in

Don't you dare go Hollow

wiki/Xwayland: Add a labwc section

Browse files at this commit

ddb9084260217b20de92448c38de1f0c66de25c7Ivan MolodetskikhParent: 0224452
wiki/Xwayland.mdmodified+12 -0
@@ -35,6 +35,18 @@ environment {
35 >35 >
36 > You can also force a specific DISPLAY number like so: `xwayland-satellite :12` will start on `DISPLAY=:12`.36 > You can also force a specific DISPLAY number like so: `xwayland-satellite :12` will start on `DISPLAY=:12`.
37 37
38+## Using the labwc Wayland compositor
39+
40+[Labwc](https://github.com/labwc/labwc) is a traditional stacking Wayland compositor with Xwayland.
41+You can run it as a window, then run X11 apps inside.
42+
43+1. Install labwc from your distribution packages.
44+1. Run it inside niri with the `labwc` command.
45+It will open as a new window.
46+1. Run an X11 application on the X11 DISPLAY that it provides, e.g. `env DISPLAY=:0 glxgears`
47+
48+![Labwc running X11 apps.](https://github.com/user-attachments/assets/aecbcecb-f0cb-4909-867f-09d34b5a2d7e)
49+
38 ## Directly running Xwayland in rootful mode50 ## Directly running Xwayland in rootful mode
39 51
40 This method involves invoking XWayland directly and running it as its own window, it also requires an extra X11 window manager running inside it.52 This method involves invoking XWayland directly and running it as its own window, it also requires an extra X11 window manager running inside it.