Closed mochaaP closed 5 months ago
A temporary solution for end-users:
ln -s /usr/share/xdg-desktop-portal/wlroots-portals.conf ~/.local/share/xdg-desktop-portal/sway-portals.conf
cc @WillPower3309 consider rebuilding this in Copr
Yup, debugging with official xdg-desktop-portal-wlr guide led me here...
What's weird is that on Arch Linux the screen sharing worked for a while, but stopped after the swayfx update.
Unfortunately, the mochaaP's workaround didn't work for me.
Yup, debugging with official xdg-desktop-portal-wlr guide led me here...
What's weird is that on Arch Linux the screen sharing worked for a while, but stopped after the swayfx update.
Unfortunately, the mochaaP's workaround didn't work for me.
Did you end up finding a fix?
Fixed in aur with https://github.com/WillPower3309/swayfx/pull/239
Yup, debugging with official xdg-desktop-portal-wlr guide led me here...
What's weird is that on Arch Linux the screen sharing worked for a while, but stopped after the swayfx update.
Unfortunately, the mochaaP's workaround didn't work for me.
You need to add DesktopNames=sway
to %datadir%/wayland-session/swayfx.desktop
. Upstream rejected this in https://github.com/swaywm/sway/pull/4876
consider rebuild +1
newbie users (like me) probably don't know that the problem is related to sway-portals.conf
, so they may not find this issue (
(I'm here thanks to #archlinux-cn
)
See https://src.fedoraproject.org/rpms/sway/c/30a4f85fedaeebcdcf25dbe4496bd771a777e73e, otherwise
xdg-desktop-portal
won't register many interfaces.