diff options
| author | Ivan Molodetskikh <yalterz@gmail.com> | 2024-08-08 15:26:06 +0300 |
|---|---|---|
| committer | Ivan Molodetskikh <yalterz@gmail.com> | 2024-08-08 15:26:06 +0300 |
| commit | 2983eb31135b9eda269fd7fc1157a66607448b70 (patch) | |
| tree | 429a1f5b18e20b57c5aadd5fef4ac48e0a87417e /wiki | |
| parent | a968b1abc0f131d40c0b16ab05059035a07e77c7 (diff) | |
| download | niri-2983eb31135b9eda269fd7fc1157a66607448b70.tar.gz niri-2983eb31135b9eda269fd7fc1157a66607448b70.tar.bz2 niri-2983eb31135b9eda269fd7fc1157a66607448b70.zip | |
wiki: Bump xwl-satellite higher up
Diffstat (limited to 'wiki')
| -rw-r--r-- | wiki/Xwayland.md | 27 |
1 files changed, 14 insertions, 13 deletions
diff --git a/wiki/Xwayland.md b/wiki/Xwayland.md index 14e401ae..d1ccc503 100644 --- a/wiki/Xwayland.md +++ b/wiki/Xwayland.md @@ -1,6 +1,20 @@ X11 is very cursed, so built-in Xwayland support is not planned at the moment. However, there are multiple solutions to running X11 apps in niri. +## Using xwayland-satellite + +[xwayland-satellite] is a new project that essentially implements rootless Xwayland in a separate application, without the host compositor's involvement. +While it is still somewhat experimental, it handles a lot of applications correctly, like Steam, games and Discord. + +Build it according to instructions from its README, then run the `xwayland-satellite` binary. +Now you can start X11 applications on the X11 DISPLAY that it provides: + +``` +env DISPLAY=:0 flatpak run com.valvesoftware.Steam +``` + +They will appear as normal windows. + ## 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. @@ -100,18 +114,5 @@ gamescope -W 2560 -H 1440 -w 2560 -h 1440 -f -- flatpak run com.valvesoftware.S > If Steam terminates abnormally while running in gamescope, it seems that subsequent gamescope invocations will sometimes fail to start it properly. > If this happens, run Steam inside a rootful Xwayland as described above, then exit it normally, and then you will be able to use gamescope again. -## Using xwayland-satellite - -[xwayland-satellite] is an experimental new project that essentially implements rootless Xwayland in a separate application, without the host compositor's involvement. - -Build it according to instructions from its README, then run the `xwayland-satellite` binary. -Now you can start X11 applications on the X11 DISPLAY that it provides: - -``` -env DISPLAY=:0 flatpak run com.valvesoftware.Steam -``` - -They will appear as normal windows. - [xwayland-run]: https://gitlab.freedesktop.org/ofourdan/xwayland-run [xwayland-satellite]: https://github.com/Supreeeme/xwayland-satellite |
