Replies: 1 comment
-
|
It seems that this possibility is coming in #1665 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Is it currently possible to have a user-specified
.portaldefinition?Based on the source code the code loading the portal definitions only looks at the
{DATADIR}/xdg-desktop-portal/portalsorXDG_DESKTOP_PORTAL_DIRbut with no option for looking at~/.local/share/...and the main system configs.load_installed_portals
Specifying user overrides is for configuration seems to be possible though in load_portal_configuration
My intent is to use
org.freedesktop.impl.portal.FileChooserprovided byorg.gnome.Nautilusand to write a.portaldefinition for pointing its existence out. Currently this seems achievable only by writing my own portal that just proxies the DBus calls but even that would need administrator privileges to set up since the portal description would need to be in/usr/lib/xdg-desktop-portal/portals/myportal.portal. Thexdg-desktop-portal-gnomeforwards the calls to Nautilus like this but doesn't work outside of Gnome (while I'm using Sway).Beta Was this translation helpful? Give feedback.
All reactions