bubblejail icon indicating copy to clipboard operation
bubblejail copied to clipboard

Support for ScreenCast portal within xdg_desktop_portal service

Open effectsbot opened this issue 1 month ago • 3 comments

Description

The ScreenCast portal allows sandboxed application to prompt the user to do screen sharing.

Adding support for this portal would give users the ability to allow jailed applications that rely the xdg_desktop_portal service to do screen sharing. This can be useful for apps like Discord and OBS.

effectsbot avatar Nov 05 '25 17:11 effectsbot

Hello @effectsbot

Support for this portal can definitely be added: https://flatpak.github.io/xdg-desktop-portal/docs/doc-org.freedesktop.portal.ScreenCast.html

Do you know if simply giving access to it is enough? Does it need pipewire as well?

igo95862 avatar Nov 05 '25 17:11 igo95862

It needs pipewire socket AFAIK.

rusty-snake avatar Nov 05 '25 17:11 rusty-snake

Giving access to this portal should be enough. I did some digging as well and it appears that the Discord Flatpak allows access to Pipewire for SteamDeck specific support, so it shouldn't be necesary for the desktop.

https://github.com/flathub/com.discordapp.Discord/commit/3f36044bd33f0995ff45dc4e1a87f0f140155ec2

effectsbot avatar Nov 05 '25 17:11 effectsbot