The officially official Devuan Forum!

You are not logged in.

#1 2024-02-27 23:17:26

haary
Member
Registered: 2017-08-11
Posts: 11  

[SOLVED] sway and screensharing

Did anyone manage to make screensharing work in Devuan with sway / Wayland?
I'm running Devuan Daedalus with the runit init system and sway compositor.
When I try to start screensharing in Firefox / BigBlueBotton I can select the output from I wish to share the screen but then nothing happens. xdg-desktop-portal-wlr is running, so is pipewire. I'm starting sway with dbus-run-session and have

dbus-update-activation-environment DISPLAY I3SOCK SWAYSOCK WAYLAND_DISPLAY XDG_CURRENT_DESKTOP=sway

set at the top of my sway config file, according to the troubleshooting check list of xdg-desktop-portal-wlr.

It's working out of the box on a Debian Bookworm machine, so I guess there is some systemd - dbus "magic" which is missing in Devuan.

Last edited by haary (2024-02-27 23:18:32)

Offline

#2 2024-02-28 18:34:26

haary
Member
Registered: 2017-08-11
Posts: 11  

Re: [SOLVED] sway and screensharing

I got it:

  • Install pipewire pipewire-alsa pipewire-pulse pipewire-jack wireplumber xdg-desktop-portal-wlr  

  • At the top of ~/.config/sway/config add

    exec dbus-update-activation-environment DISPLAY I3SOCK SWAYSOCK WAYLAND_DISPLAY XDG_CURRENT_DESKTOP=sway
    exec pipewire &
    exec pipewire-pulse &
    exec wireplumber &
  • Start sway with XDG_CURRENT_DESKTOP=sway dbus-launch sway

After this, screen sharing in BigBlueButton and Jitsi Meet in Firefox is working in sway

Offline

Board footer