Skip to content

Commit

Permalink
fix: explicitly assign problematic portal interfaces (that fallback t…
Browse files Browse the repository at this point in the history
…o gnome) to regolith portal

Portals may not follow the expected ordering as per [this](flatpak/xdg-desktop-portal#1111) issue.

This causes some of the interfaces that are made available by other backend (like gtk or wlr) to get assigned to the no-op
implementations of the xdp-regolith backend.

This PR explicitly assigns only the problematic interfaces, i.e. the ones that get assigned to xdp-gnome, to the regolith backend.
  • Loading branch information
SoumyaRanjanPatnaik committed Apr 3, 2024
1 parent 013ffd2 commit aff2f39
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 1 deletion.
7 changes: 7 additions & 0 deletions data/regolith-portals.conf
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
[preferred]
default=gtk;regolith;
org.freedesktop.impl.portal.Secret=gnome-keyring

org.freedesktop.impl.portal.Background=regolith
org.freedesktop.impl.portal.Clipboard=regolith
org.freedesktop.impl.portal.InputCapture=regolith
org.freedesktop.impl.portal.RemoteDesktop=regolith
org.freedesktop.impl.portal.Settings=regolith
org.freedesktop.impl.portal.Wallpaper=regolith
9 changes: 8 additions & 1 deletion data/regolith-wayland-portals.conf
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
[preferred]
default=wlr;gtk;regolith;
default=wlr;gtk;
org.freedesktop.impl.portal.Secret=gnome-keyring

org.freedesktop.impl.portal.Background=regolith
org.freedesktop.impl.portal.Clipboard=regolith
org.freedesktop.impl.portal.InputCapture=regolith
org.freedesktop.impl.portal.RemoteDesktop=regolith
org.freedesktop.impl.portal.Settings=regolith
org.freedesktop.impl.portal.Wallpaper=regolith

0 comments on commit aff2f39

Please sign in to comment.