You are not logged in.
Pages: 1
Topic closed
Hi everyone,
After some research I can't find the settigns I'm searching for so I come to ask you guys.
When using Firefox or chromium, when I want to pick a file to upload I am greeted with a GUI that is not Dolphin (https://imgur.com/a/ioliWL9).
I don't know how to change which app is used but I want to do it because this one is kinda crappy. Do any of you have an idea on how to do that ?
Last edited by Desdra (2020-06-03 23:21:54)
Offline
This is not possible. It's built into the program and can't be changed. It depends on the program using GTK or Qt. Firefox is GTK so you'll see the GTK file chooser. And in a Qt program you'll see the Qt file chooser. You will never see Dolphin, your file manager can't influence this at all.
There might be a patched version of the browser somewhere that has a different file chooser. I remember there was a Firefox patched by the OpenSUSE distro that had a file chooser that fit into KDE.
Following on that idea about "patched version", I can right now see a "firefox-kde-opensuse" package in the AUR that looks interesting. Go and look at the comment page for that AUR package and see what's written there about the repo that provides the package. You need that repo because you can't realistically compile the package yourself. Compiling Firefox takes about an hour with a quad-core CPU.
Offline
Thanks ! I will check this out and will come back if I find anything fitting !
Offline
Ok as I now know what to search for (thanks to you) I found that if you launch firefox with
GTK_USE_PORTAL=1 firefox
it will use dolphin as a file picker instead of the gtk file picker ! (you'll need the xdg-desktop-portal package).
However I did not find a solution for chromium derived browser yet.
Offline
In fact it was so easy that I fell kind of ashamed, for chromium browsers you just have to install the kdialog package and you're good to go !
Offline
kdialog is a part of kde utilities, how can i fix this if I am using a window manager?
Offline
You install kdialog (... and/or rather xdg-desktop-portal-kde and start that somewhere) or suck it up. The file picker is bound to the toolkit and you can't arbitrarily change this, and the GTK picker is plain not too good but with the portal option and the like you can nudge it to use the Qt/KDE picker but afaik there's no other Qt based portal other than the KDE one.
If you need more help than this please open a new thread, closing this old solved one.
Offline
Pages: 1
Topic closed