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

Portal only works if cosmic-idle is running before xdg-desktop-portal-gtk #7

Open
ids1024 opened this issue Oct 30, 2024 · 0 comments

Comments

@ids1024
Copy link
Member

ids1024 commented Oct 30, 2024

xdg-desktop-portal-gtk implements the Inhibit portal on top of the FreeDesktop screensaver dbus protocol (which is provided here).

This works, but if cosmic-idle is started after xdg-desktop-portal-gtk, when it tries to call Idle it just errors with Cannot invoke method; proxy is for the well-known name org.freedesktop.ScreenSaver without an owner".

Doesn't seem to be anything cosmic-idle could do about this. Though xdg-desktop-portal-cosmic could provide its own Inhibit portal backend.

(I guess xdg-desktop-portal-gtk should be using g_bus_watch_name and re-create the proxy?)

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

1 participant