為了改善您的使用體驗,本網站正在進行維護,部分功能暫時無法使用。若本站的文件無法解決您的問題,想要向社群發問的話,請到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 發問,我們的社群成員將很快會回覆您的疑問。

搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

Firefox cannot open file manager

  • 3 回覆
  • 1 有這個問題
  • 1 次檢視
  • 最近回覆由 jonzn4SUSE

more options

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?

所有回覆 (3)

more options

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.

more options

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

more options

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