Skip to content

Commit

Permalink
wiki/Xwayland: Add a labwc section
Browse files Browse the repository at this point in the history
  • Loading branch information
YaLTeR committed Jan 3, 2025
1 parent 0224452 commit ddb9084
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions wiki/Xwayland.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit ddb9084

Please sign in to comment.