Open ardishko opened 1 year ago
@ardishco-the-great Screenshare with sway is working fine here, do you have xdg-desktop-portal-wlr installed?, try starting with this command: dbus-run-session discord-screenaudio
that doesn't work but it stops me from screensharing once I start it however It might be DBus issue. Dunst doesn't work when I do dunst notify-send and says it's a DBus issue.
Also yes I have xdg-desktop-portal-wlr installed via the community repo for arch
@ardishco-the-great Have you set XDG_CURRENT_DESKTOP=sway ?
I ran export XDG_CURRENT_DESKTOP=sway before starting sway and It's still a black screen.
Same problem, looking through console output finds this error:
/bin/sh: line 1: slurp -f %o -o: command not found
2023/04/01 12:20:09 [ERROR] - wlroots: output chooser "slurp -f %o -o" failed
2023/04/01 12:20:09 [ERROR] - wlroots: no output found
slurp
is installed and can be run on its own, so probably a PATH
issue? Or inappropriate quoting? Will start digging up the code now.
EDIT:
Removing the quotes in ~/.config/xdg-desktop-portal-wlr/config
and launching with dbus-run-session discord-screenaudio
seems to have fixed it, although the window/display selector is delayed and shows up after a few seconds of blank screen sharing.
I have no config at .config/xdg-desktop-portal-wlr/config, it's just blank.
Running it with dbus-run-session discord-screenaudio
helps the issue of black screen.
However, I am only able to stream the entire screen and cannot select a singular application only.
I'm also running this on Sway.
When I screenshare, it shows a black screen. not sure about the audio itself but It's just black.