Firefox snap in Jammy cannot save at all: 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

Asked by David Gerard

Firefox 99.0.1 in Jammy (22.04). Mozilla Firefox Snap for Ubuntu canonical-002 1.0

Firefox cannot save pages by any means - ctrl-S, Save Page As, etc.

I started Firefox from a terminal, and attempting to save gets an error like this:

(firefox:373643): Gtk-WARNING **: 17:34:52.248: 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

The bug manifests identically in Safe Mode.

This bug severely hampers Firefox's usability as a browser.

I tried filing this as a bug report, but Launchpad wouldn't let me.

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
Manfred Hampl
Solved:
Last query:
Last reply:
Revision history for this message
Best Manfred Hampl (m-hampl) said :
#1

Does it work after executing the command
sudo apt install xdg-desktop-portal
?

source: https://forum.snapcraft.io/t/firefox-snap-77-cannot-download-anything/18167

Revision history for this message
David Gerard (dgerard) said :
#2

Just came here to report that the fix was indeed:

sudo apt install xdg-desktop-portal-gtk

now to file this as a bug on Xubuntu 22.04 :-)

thank you!

Revision history for this message
David Gerard (dgerard) said :
#3

Thanks Manfred Hampl, that solved my question.

Revision history for this message
Lancillotto (antonio-petricca) said :
#4

It fixed the issue for me.

Revision history for this message
Brian Fiedler (brian-fiedler) said :
#5

sudo apt install xdg-desktop-portal

worked for me