Skip to content

Add Snap support for portals #385

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

Merged
merged 4 commits into from
Sep 14, 2022

Conversation

ashuntu
Copy link
Contributor

@ashuntu ashuntu commented Sep 13, 2022

This change allows GameMode to call the portal dbus as opposed to daemon dbus when inside a Snap environment, the same as with Flatpak. This way, GameMode can be properly included in Snaps and used with a portal interface.

See also: flatpak/xdg-desktop-portal#882

@sergio-costas
Copy link

LGTM.

@afayaz-feral afayaz-feral merged commit 4cffdef into FeralInteractive:master Sep 14, 2022
ashuntu added a commit to ashuntu/xdg-desktop-portal that referenced this pull request Oct 12, 2023
Validates that pids are owned by Snaps, allowing them to be mapped and passed through
to a portal interface; Snaps were previously denied pid mapping.

Initially created to allow GameMode to use the portal dbus from within a snap:
FeralInteractive/gamemode#385
ashuntu added a commit to canonical/steam-snap that referenced this pull request Oct 30, 2024
Updates GameMode to use the original repository instead of my fork since
[my fix](FeralInteractive/gamemode#385) has been
published in GameMode since [release
1.8](https://github.com/FeralInteractive/gamemode/releases/tag/1.8).
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.

4 participants