On Mon, 10 Oct 2022 15:43:35 +0200 Kyle Robbertze <paddatrap...@debian.org> wrote:
> Please consider adding DesktopNames=sway to the sway.desktop wayland > session file. This is required for XDG_CURRENT_DESKTOP to be defined > correctly and exported into the current session (allowing screen sharing > to work). This is non-standard as per the discussion in https://github.com/swaywm/sway/pull/4876 The correct way to set this is to add this line to your ~/.config/sway/config: exec dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP=sway Regards, Scott.