wiki/Xwayland: Add a labwc section
Browse files at this commitddb9084260217b20de92448c38de1f0c66de25c7Parent: 02244521 changed file +12 -0
- wiki/Xwayland.md +12 -0
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 | + | ||
| 49 | + | ||
| 38 | ## Directly running Xwayland in rootful mode | 50 | ## 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. |