Skip to content

Replace org.freedesktop.ScreenSaver with org.freedesktop.portal.Inhibit#118

Open
c-xk wants to merge 1 commit intofluttercommunity:mainfrom
c-xk:main
Open

Replace org.freedesktop.ScreenSaver with org.freedesktop.portal.Inhibit#118
c-xk wants to merge 1 commit intofluttercommunity:mainfrom
c-xk:main

Conversation

@c-xk
Copy link

@c-xk c-xk commented Feb 12, 2026

Description

org.freedesktop.portal.Inhibit is part of the XDG Desktop Portal API, which provides the modern, cross-desktop mechanism for handling session state changes. The Portal documentation explicitly targets sandboxed and Wayland applications, reflecting the current desktop architecture. In contrast, org.freedesktop.ScreenSaver was originally designed for basic idle inhibition and exists primarily for backwards compatibility, lacking support for newer session controls.
This PR enhances sandbox support on Linux desktops and improves integration with modern desktop environments.

doc:https://flatpak.github.io/xdg-desktop-portal/docs/doc-org.freedesktop.portal.Inhibit

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

Successfully merging this pull request may close these issues.

1 participant