Hi,
when I save something from Firefox, I want to use Dolphin as the File Manager.
How do I do that?
By searching I only found this 4yr old reddit post:
“how_do_i_make_firefox_open_files_on_dolphin” (can’t post links)
Which isn’t clear on the solution and might be outdated (?).
For Firefox, make sure you have xdg-desktop-portal and xdg-desktop-portal-kde packages both installed, and set widget.use-xdg-desktop-portal.file-picker to 1 in about:config.
I use Manjaro KDE edition. xdg-desktop-portal and xdg-desktop-portal-kde packages were installed. Setting widget.use-xdg-desktop-portal.file-picker to 1 in about:config did indeed solved the issue. Thanks!
PS:
I have also Plasma Integration add-on installed, which however doesn’t change this by default or even offers an option for this…
I’ve just noticed something and want to check if anybody else can reproduce. The above works in the file downloads dialog, i.e. Dolphin is displayed. However, if you press “ctrl-shift-y” and display the downloads history, it shows up using Nautilus. If you then select a download to show the location on your system, it shows using Nautilus. This appears to be a bug/oversight. Shouldn’t Dolphin always be used? It appears this has only been fixed in the file downloads dialog.
Please don’t add a GTK debug variable globally. If you’re going to recommend this method, at least do the following:
Open launcher/menu
Right-click Firefox
Edit Application…
Open the Application tab
Add GTK_USE_PORTAL=1 in the Environment Variables section
But better than setting this up, you can also try the Firefox flatpak which forces all dialogs through the portal and thus should always pick the native dialog.
Thanks for taking the time to reply. Yes, I’ve set the file-picker to 1, I did try the GTK_USE_PORTAL in /etc/environment, and it didn’t help. I removed it because I read that it can cause problems - and from what I can tell, it isn’t needed. The file-picker “should” be the solution, but it appears that there is a bug somewhere, because it isn’t working. You can see from the attachment that if I press “ctrl-shift-y” it shows Dolphin, but if I select a file to find the location, that dialog is shown in Nautilus.
Thanks for confirming. So you think this is a KDE bug or a Fx bug? I removed Nautilus and that circumvented the issue, although don’t know how to work around the print dialog issue.
The printing issue for Firefox is already reported, the others are probably coming from absence of implementation of XDG portals in those places, but I can’t confirm, so may be someone from KDE team can investigate the issue.