hyprwm / xdg-desktop-portal-hyprland

xdg-desktop-portal backend for Hyprland
BSD 3-Clause "New" or "Revised" License
273 stars 47 forks source link

[WIP] Full rewrite, v1.0 release. #78

Closed vaxerski closed 1 year ago

vaxerski commented 1 year ago

TODO:

Comments welcome.

Build instructions in the README of the branch.

Teddy-Kun commented 1 year ago

Not 1 application I use (Firefox, OBS, or a modified Discord) even detect pipewire screensharing being available. The logs of the portal seem weirdly fine though. Also the portal does not start automatically when Hyprland starts so that could be one of the reasons.

Log: https://pastebin.com/vqJrSDhs

vaxerski commented 1 year ago

image

Try this, adjust paths as needed.

DashieTM commented 1 year ago

I tested screenshare with discord-screenaudio and firefox, seems to work just like before, will do more testing with a longer period of time once I have someone to watch it on the other end.

Small note, you should prob write the need for a systemd or whatever init system file in the readme.

(edit: just saw the line changes, holy, that's a pretty nice reduction. Great work!)

vaxerski commented 1 year ago

it ideally should work exactly as before, with the only difference maybe being less bugs :P

Teddy-Kun commented 1 year ago

Tried it now, I forgor to start /usr/lib/xdg-desktop-portal. Works better than before as the very first instance of sharing the screen specifically in OBS could take a few moments to trigger the Pop-Up. Now it works 100% fine without delay.

vaxerski commented 1 year ago

this is about the state of something I'd be happy with merging.

If you encounter any bugs, please let me know so that they can be fixed prior to merging.

@fufexan for meson and nix

vaxerski commented 1 year ago

wooo