Dear Tobias, Thank you for looking into this for me.
I have installed plasma5-xdg-desktop-portal-kde-5.24.5 on FreeBSD 13.0-RELEASE-p11. When I set GTK_USE_PORTAL=1 (through .profile), Firefox fails to open file dialog, with the following error message: (firefox:1552): Gtk-WARNING **: 14:21:25.013: Can't open portal file chooser: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.portal.Desktop was not provided by any .service files I have dbus enabled through rc.conf and have a KDE desktop (installed with plasma5-plasma-5.24.5). Am I missing any packages (I have installed my entire desktop with binary packages) or configuration? Thanks again for your help. Kind regards. Dinu On Mon, Apr 11, 2022 at 10:15 PM Tobias C. Berner <[email protected]> wrote: > Moin moin > > sorry for not getting back to you earlier. > > For me it seems to just work fine by doing > > GTK_USE_PORTAL=1 firefox > > If I recall correctly, previously I was also required to start some > dbus-service manually -- but that seems no longer to be a requirement. > > > > mfg Tobias > > > On Wed, 16 Feb 2022 at 09:03, dinu rr <[email protected]> wrote: > > > > Dear KDE FreeBSD team, > > > > Apologies if a direct email like this is not the correct method of > communication. > > > > I have tried to use the deskutils/plasma5-xdg-desktop-portal-kde package > to make Firefox use the native KDE file dialog, by setting environment > variable GTK_USE_PORTAL=1. However, it failed to work, with the error > message that xdg desktop portal service was not running. > > > > I could not find a separate package providing xdg desktop portal > service, nor any documentation suggesting how to get this service running. > > > > Could you please let me know whether it is possible to achieve what I am > looking for? > > > > I have asked this in the FreeBSD Forums, but have not received any > replies so far. > > > > Thank you so much for KDE on FreeBSD; it works wonderfully and you have > been keeping it up to date promptly with new KDE releases. It's much > appreciated. > > > > Best regards. > > Dinu Radhakrishnan > > >
