LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Sway Screenshare Finally Working.. (https://www.linuxquestions.org/questions/slackware-14/sway-screenshare-finally-working-4175705481/)

tramtrist 12-27-2021 06:31 PM

Sway Screenshare Finally Working..
 
By following guides on this forum for pipewire:
https://www.linuxquestions.org/quest...-a-4175693980/
And a guide on xdg-desktop-portal-wlr in Sway
https://www.reddit.com/r/swaywm/comm...re_the_screen/
I was able to figure out that the xdg-desktop-portal-kde package was conflicting with xdg-desktop-portal-wlr and this is what was not allowing me to use screensharing in Browsers (Firefox and Edge(In Microsoft Teams for Linux...))
By following above guides I was able to get screensharing working (nice test program here: https://mozilla.github.io/webrtc-landing/gum_test.html)
I'm throwing this out there in case anyone else struggles to get this done in Sway and if anyone has an idea how to prevent the conflict between KDE and WLR (I don't use KDE at all)

Cheers!

LuckyCyborg 12-28-2021 11:37 AM

Did you needed to recompile Firefox to enable PipeWire support?

Anyway, of course that xdg-desktop-portal backends enter on conflict. Unfortunately, there could be only one.

tramtrist 12-28-2021 01:18 PM

I did not need to recompile Firefox for PipeWire support. Just need
Quote:

MOZ_ENABLE_WAYLAND=1 firefox
https://www.youtube.com/watch?v=sqcLjcSloXs


All times are GMT -5. The time now is 05:34 PM.