Skip to content

Xwayland support? #60

Closed Answered by YaLTeR
wesbluemarine asked this question in Q&A
Oct 29, 2023 · 2 comments · 3 replies
Discussion options

You must be logged in to vote

There isn't, and unfortunately due to X11 being completely cursed, built-in Xwayland support is not planned at the moment.

You can, however, use X11 apps on niri using Valve's gamescope (game-oriented), or by running Xwayland in rootful mode:

  1. Run Xwayland (just the binary on its own without flags). This will spawn a large black monitor-sized window, you can fullscreen it for convenience. In the next Xwayland version, it will be properly resizable, too.
  2. Run some X11 window manager in there, e.g. env DISPLAY=:0 i3. This way you can manage X11 windows inside the Xwayland instance.
  3. Run an X11 application there, e.g. env DISPLAY=:0 flatpak run com.valvesoftware.Steam.

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
0 replies
Answer selected by wesbluemarine
Comment options

You must be logged in to vote
3 replies
@YaLTeR
Comment options

@SalmanFarooqShiekh
Comment options

@YaLTeR
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants