aboutsummaryrefslogtreecommitdiff
path: root/docs/env_vars.md
diff options
context:
space:
mode:
authorTudor Brindus <me@tbrindus.ca>2020-10-03 14:16:54 -0400
committerSimon Ser <contact@emersion.fr>2020-10-11 09:00:52 +0200
commit1b0e4c7e6e0bf02b3c41962b669c00280ecc7712 (patch)
treef8b7d866721700d5458483a1f2a1469943c83979 /docs/env_vars.md
parentfeb0e1c74d13c44c4c0b8c8db360039846bc9617 (diff)
xwayland: introduce WLR_XWAYLAND for specifying which Xwayland to use
When debugging Xwayland-related issues, a common first step in debugging has been to ask the reporter to move their real Xwayland to /usr/bin/Xwayland.bin, and create a shell script starting Xwayland with extra arguments under the original /usr/bin/Xwayland location. Introducing a `WLR_XWAYLAND` environment variable makes this less invasive, by allowing the user to swap out Xwayland without resorting to global system changes (or source patches).
Diffstat (limited to 'docs/env_vars.md')
-rw-r--r--docs/env_vars.md2
1 files changed, 2 insertions, 0 deletions
diff --git a/docs/env_vars.md b/docs/env_vars.md
index 48f96f7f..9fca8165 100644
--- a/docs/env_vars.md
+++ b/docs/env_vars.md
@@ -9,6 +9,8 @@ wlroots reads these environment variables
* *WLR_SESSION*: specifies the wlr\_session to be used (available sessions:
logind/systemd, direct)
* *WLR_DIRECT_TTY*: specifies the tty to be used (instead of using /dev/tty)
+* *WLR_XWAYLAND*: specifies the path to an Xwayland binary to be used (instead
+ of following shell search semantics for "Xwayland")
## DRM backend