|
I am open to the idea this is not specifically a Niri issue, but I am wondering if anyone else has seen this or knows the fix. I can capture video with OBS just fine, but discord hangs on the "pick your window to share" screen and I can't start streaming. This worked when I was using plasma-wayland as my desktop environment. I am using nixOS and latest niri. I have set up XDG desktop portals for gtk and gnome. I have tried Vesktop, Discord, and Discord-Canary. |
Replies: 3 comments 12 replies
|
Run discord from a terminal and see if it outputs any logs when you attempt to screen share and fail |
|
Ok I figured it out, after using Vesktop which gave me much better error messages, I was able to note that it couldn't find the -gnome desktop portal. I adjusted my XDG portal config as below (I use nixOS).
This is in my configuration.nix |
|
Could someone give me the exact steps to resolve this issue . I tried adding I installed discord using Current |
Ok I figured it out, after using Vesktop which gave me much better error messages, I was able to note that it couldn't find the -gnome desktop portal. I adjusted my XDG portal config as below (I use nixOS).
Specifically I changed the common.default portal from GTK to Gnome and restarted the portal service. it's working now.
systemctl --user restart xdg-desktop-portal.serviceThis is in my configuration.nix