Closed ankkax closed 2 years ago
It should work. Please go through https://github.com/emersion/xdg-desktop-portal-wlr/wiki/%22It-doesn't-work%22-Troubleshooting-Checklist.
There might be a need to add this line on the last line of the config of river and the beginning of the line of the config on sway:
added this to config file and sway takes a long time to start and terminal crashes if i run it without removing I3SOCK from it.
exec dbus-update-activation-environment DISPLAY I3SOCK SWAYSOCK WAYLAND_DISPLAY XDG_CURRENT_DESKTOP=sway
anyway i got screensharing working and I don't need keep that in config file.
I added this to ~/.config/xdg-desktop-portal-wlr
[Desktop Entry]
Name=Sway
Comment=An i3-compatible Wayland compositor
Exec=env XDG_CURRENT_DESKTOP=sway dbus-run-session sway
Type=Application
thank you for helping out :)
I am here to also confirm that it works. You just need to click wether you want to stream though, then it will immediately open the screenshare window.
I'm using artix with runit and swaywm, but can't get pipewire screen capture to work. I tried with arch linux and it worked fine with xdg-desktop-portal-wlr but is it fully depended on systemd?