On Sun, 31 Aug 2025 11:26:32 +0200 Yves-Alexis Perez <[email protected]> wrote: > > Hi Marty, > > I have to admit it might be counterintuitive/surprising to have an X11 session > wrapper when running under wayland. Unfortunately I'm not sure if it is > possible to select a different wrapper depending on the selected session and > I'm not sure which we should call (Wayland support in Xfce is still > experimental so I didn't really touch it at this point). > > I think the discussion should happen/involve upstream though. > Hi Alexis
One could use the XDG_SESSION_TYPE variable to distinguish between X11 and wayland, i.e. introduce a generic wrapper that follows the Xsession route for X11 and diverts for wayland sessions to a different wrapper. N.b. There were some objections to use this variable as it was not standardized but rather a systemd specific, at least this was the case back in 2018 (https://gitlab.gnome.org/GNOME/gtk/-/issues/1224[1]). Regards, Marty -------- [1] https://gitlab.gnome.org/GNOME/gtk/-/issues/1224
