Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Firefox cannot open file manager

  • 3 பதிலளிப்புகள்
  • 1 இந்த பிரச்சனை உள்ளது
  • 1 view
  • Last reply by jonzn4SUSE

I am on Arch Linux using i3. I have been using Firefox for a while but recently switched from Nautilus to pcmanfm as my file manager. Now Firefox is unable to save any file or do anything else that requires opening the file manager. Running it through the terminal I get:

"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 xdg-desktop-portal installed and have tried xdg-desktop-portal-{gnome, gtk, and kde}. I have also tried setting widget.use-xdg-desktop-portal to both true and false, neither of which changed anything. Reinstalling Nautilus also doesn't fix it. Does anybody know what could be causing this?

I am on Arch Linux using i3. I have been using Firefox for a while but recently switched from Nautilus to pcmanfm as my file manager. Now Firefox is unable to save any file or do anything else that requires opening the file manager. Running it through the terminal I get: "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 xdg-desktop-portal installed and have tried xdg-desktop-portal-{gnome, gtk, and kde}. I have also tried setting widget.use-xdg-desktop-portal to both true and false, neither of which changed anything. Reinstalling Nautilus also doesn't fix it. Does anybody know what could be causing this?

All Replies (3)

I had a problem years ago after switching file managers. In my case (different distro) there was a file mimeinfo.cache in /usr/share/applications/. I had to rearrange the order of applications by putting the file manager I wanted to use first in the line commencing "inode/directory=".

I see several old questions which remain unanswered.

Unfortunately, I had already checked that file, as well as the mimeapps.cache in other locations. They are all already set to pcmanfm.desktop.

Try downloading another copy of Firefox, run it from the folder and see if you have the same issue. https://www.mozilla.org/en-US/firefox/all/#product-desktop-release