A known issue previously discussed on this forum is the issue where Firefox (and Chrome?) do not use the default file manager, for example to open folder after a download is completed. All suggestions in those 2 topics to update the mime files have no effect after Firefox or system has been restarted.
There is a bug report in the Mozilla bugtracker that contains a solution, for which a package is required: xdg-desktop-portal
this package is already installed in a default Manjaro (Gnome) install. Not sure about Manjaro KDE Plasma (it would need the xdg-desktop-portal-kde
package).
Guide to let Firefox use your default Filemanager
If you have want something else than Nautilus
Difficulty: ★★☆☆☆
- Open a Terminal window, change your default filemanager using the
xdg-mime default
command below. This example will change it to Nemo. (To install nemo, use Add/Remove Software or simply runpamac install --noconfirm nemo
).
xdg-mime default nemo.desktop inode/directory
- Open
about:config
in Firefox v98 or higher. - Search for the following two settings and change both from
2
to1
:
widget.use-xdg-desktop-portal.file-picker
widget.widget.use-xdg-desktop-portal.mime-handler
- Restart Firefox.
- Test by downloading a file via Firefox and hit the button next to the download to open the folder. Notice it should open Nemo instead of Nautilus.
References:
1285711 - Firefox does not use default file manager
StaticPrefList.yaml - mozsearch