Re: is it possible to capture screen with on sway with obs on artix?
Reply #4 –
thanks for reply, I already tried that, does not work.
Edit: I got it working now
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 /usr/share/wayland-sessions/sway.desktop
[Desktop Entry]
Name=Sway
Comment=An i3-compatible Wayland compositor
Exec=env XDG_CURRENT_DESKTOP=sway dbus-run-session sway
Type=Application