aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIvan Molodetskikh <yalterz@gmail.com>2025-01-03 10:49:12 +0300
committerIvan Molodetskikh <yalterz@gmail.com>2025-01-03 10:50:02 +0300
commitddb9084260217b20de92448c38de1f0c66de25c7 (patch)
tree35b6cddef57202ec342dab69d6ae4c6a03ded14c
parent0224452cef2af8c754b32a119998df8a4730eb42 (diff)
downloadniri-ddb9084260217b20de92448c38de1f0c66de25c7.tar.gz
niri-ddb9084260217b20de92448c38de1f0c66de25c7.tar.bz2
niri-ddb9084260217b20de92448c38de1f0c66de25c7.zip
wiki/Xwayland: Add a labwc section
-rw-r--r--wiki/Xwayland.md12
1 files changed, 12 insertions, 0 deletions
diff --git a/wiki/Xwayland.md b/wiki/Xwayland.md
index 658b6a99..a1b7255e 100644
--- a/wiki/Xwayland.md
+++ b/wiki/Xwayland.md
@@ -35,6 +35,18 @@ environment {
>
> You can also force a specific DISPLAY number like so: `xwayland-satellite :12` will start on `DISPLAY=:12`.
+## Using the labwc Wayland compositor
+
+[Labwc](https://github.com/labwc/labwc) is a traditional stacking Wayland compositor with Xwayland.
+You can run it as a window, then run X11 apps inside.
+
+1. Install labwc from your distribution packages.
+1. Run it inside niri with the `labwc` command.
+It will open as a new window.
+1. Run an X11 application on the X11 DISPLAY that it provides, e.g. `env DISPLAY=:0 glxgears`
+
+![Labwc running X11 apps.](https://github.com/user-attachments/assets/aecbcecb-f0cb-4909-867f-09d34b5a2d7e)
+
## Directly running Xwayland in rootful mode
This method involves invoking XWayland directly and running it as its own window, it also requires an extra X11 window manager running inside it.