Please comment below to contribute. Thanks!
X11 concept | Wayland concept | Notes |
---|---|---|
"Window" | "Top-level Shell Surface" | An entire window, including window decorations |
X11 (the specfication) | Wayland (the protocols) | Neither X11 nor Wayland are binaries that can be installed |
Xorg, one universally shared default implementation | Multiple competing Wayland compositors | Unfortunately there is no universally used single Wayland compositor; apparently every desktop environment does its own, and as a result what works in one may not work in another |
export DISPLAY=... |
export WAYLAND_DISPLAY=... |
How to know which WAYLAND_DISPLAY one needs to export? The sockets (and their names) should be located in /run/user/* . If WAYLAND_SOCKET is detected, the client will prefer to use the socket provided using that environment variable. |