hyprwm / xdg-desktop-portal-hyprland

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

interface “org.freedesktop.portal.Background" #177

Open nodupe opened 9 months ago

nodupe commented 9 months ago

I'd like to point out a required implementation that, when missing, will not allow some Gnome programs to work properly on hyprland: they have org.freedesktop.portal.Background dependency. Before moving to hyprland, I was using Pika Backup, in Gnome. It works properly in Gnome (it's an official Gnome project), but running on hyprland it will not schedule backups or find the gnome-keyring.

After poking with dbus-monitor and searching on Git Hub, from what I could gather, it all comes down to how this software relies on org.freedesktop.portal.Background. Kindly take a look at the linked issue reported on xdg-desktop-portal.

One would need to have Background implemented so software that depends on it will work properly.

I am not sure how many other programs face the same issue, and if this is worth working on - just giving a heads-up. For my use case, while I am investigating similar backup solutions, I can just log in to Gnome and run the backups once a day.

vaxerski commented 9 months ago

MRs welcome, but why not just exec-once them? Do they use it internally?

nodupe commented 9 months ago

MRs welcome, but why not just exec-once them? Do they use it internally?

For this specific use case that's the solution at hand and works well.

Not sure for other programs.

I'd love to help myself but I can't code. :(

izmyname commented 2 weeks ago

I am not sure how many other programs face the same issue, and if this is worth working on

Everything flatpak, that has autostart/daemonize option (e.g Easy effects)

With the recent changes, regarding systemd integration, lacking Background interface is the only obstacle before providing GNOME/KDE like completed desktop experience, in terms of how things work.