To aid predictability of WAYLAND_DISPLAY, for when it needs to be specified outside of existing Wayland session, especially when multiple sessions might exist.
Taking inspiration from weston:
-Sname, --socket=name
Weston will listen in the Wayland socket called name. Weston
will export WAYLAND_DISPLAY with this value in the environment
for all child processes to allow them to connect to the right
server automatically.
So specifying e.g., --socket=wayland-vt1 would yield WAYLAND_DISPLAY=wayland-vt1.
To aid predictability of
WAYLAND_DISPLAY
, for when it needs to be specified outside of existing Wayland session, especially when multiple sessions might exist.Taking inspiration from
weston
:So specifying e.g.,
--socket=wayland-vt1
would yieldWAYLAND_DISPLAY=wayland-vt1
.