Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
nodupe opened this issue Feb 11, 2024 · 3 comments
Open

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

nodupe opened this issue Feb 11, 2024 · 3 comments

Comments

@nodupe
Copy link

nodupe commented Feb 11, 2024

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
Copy link
Member

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

@nodupe
Copy link
Author

nodupe commented Feb 14, 2024

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
Copy link

izmyname commented Mar 21, 2024

Without org.freedesktop.portal.Background it's impossible to properly daemonize flatpaks, that rely on autostart, such as easyeffects. With exec-once it works on background, but only until the app, itself, is opened and closed.

edit: I don't know about other GNOME/GTK apps, but flatpak easyeffects has an option 'close program' enabled, by default, and it's impossible to disable due to lack of access to freedesktop.Background interface.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants