no file save dialog for snap applications

using a fresh ubuntu 22.04 install i can no longer save or download any files in firefox. it did work when i first installed firefox, now it no longer does.

File -> Save page as

does not even open a window where i could select a destination directory.

using the "save as" button in the pdf viewer also does nothing at all.

i just started firefox in safe mode

$ firefox --safe-mode

and saw the error message

(firefox:9161): Gtk-WARNING **: 09:19:12.367: 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

this (probably) goes for all snap applications. for me it was

  • firefox
  • keepassxc

i might have uninstalled fuse3 and xdg-desktop-portal when i installed fuse. see this question.

1

1 Answer

oh, after some more investigation i found out i had to install

$ sudo apt install xdg-desktop-portal xdg-desktop-portal-gtk

and everything worked again.

6

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like