After going through several already-answered questions on AskUbuntu and Unix's stackexchange, Firefox's "Open containing folder" option (when a file is downloaded) still opens folder in Thunar File Manager, even though my default file manager is Nautilus. (However, it's Nautilus that's opened when prompted to save a file, for example, meaning, I guess, that Firefox is somehow aware that Nautilus exists.) I'm on XFCE (Ubuntu 22) so I can't uninstall Thunar without causing core problems (already tried that).
Nautilus (under the name Files) is set a default File Manager. In the GUI of my "Applications by default" app, inode/directory and inode/mount-point are set to Files.
I've tried to modify every mimeapps.list
and defaults.list
and mimeinfo.cache
files possible, every single one of them has the following line:
inode/directory=org.gnome.Nautilus.desktop
(Some of them have also [Default Applications]
on the line before)
Except one mimeinfo.cache
that has "Catfish" and "Thunar" after Nautilus. But removing mention of Thunar with sudo doesn't change anything.
I also updated /usr/share/dbus-1/services/org.freedesktop.FileManager1.service
according to suggestions, that didn't change anything.
I've closed/reopened my user session, also restarted my computer, nothing changed.
What have I missed?
Please don't mark as duplicate, since none of the answers provided in below questions solutioned my problem:
- Change file manager used by Firefox on Lubuntu
- "Open containing folder" in Firefox does not use my default file manager
- How to force Firefox to open downloads with new default file manager (Nemo)?
- Make nemo the default file browser
- https://unix.stackexchange.com/questions/336982/how-to-avoid-a-program-taking-over-the-file-manager-when-opening-a-folder-in-tha/336984#336984
- https://unix.stackexchange.com/questions/333254/set-standard-file-browser-for-open-containing-folder
- Stop folders opening with different application than the file manager
Setting
>General
>applications
within firefox. – mook765 Aug 25 '22 at 16:04xdg-open ~
does launch Nautilus! – Chloé Aug 26 '22 at 12:32defaults.list
ormimeinfo.cache
: with this exception in my linked post involving exclusively Thunar, which was fixed by the dbus service method. I am very confident that your case is similar, even if services might be a bit different per desktop. By the way: IS this problem limited to Firefox? (e.g. opening a file location in Audacious playlist opens what file manager?) And what are the contents of yourorg.gnome.Nautilus.service
file? – cipricus Sep 22 '22 at 21:58about:config
in firefox and search forxdg-desktop-portal.file-picker
and change the value from2
to1
. Then, restart firefox. At one point, I believe this made a difference for me but then it was back to the old behavior. I use nightly so it might be a recent update that isn't applied to older versions (and the snap version may handle this differently). – mchid Oct 23 '22 at 16:34xdg-desktop-portal.file-picker
is not the full key name, but that search should bring up the one you need. – mchid Oct 23 '22 at 16:40