Firefox has a facility to use native file pickers via xdg-portals, which most of the internet will tell you is set in a key in about:config
called widget.use-xdg-desktop-portal
. Quite some time ago, that was split into more granular keys so those instructions aren’t useful anymore.
I finally got irritated enough to look into it this morning, turns out now switching your file picker is now via the key widget.use-xdg-desktop-portal.file-picker
with values “0” (never), “1” (always), “2” (auto, apparently meaning “when run from a Flatpack”). There are similar keys for open-uri, mime-handler, etc. Most of the documentation on the internet is still the old version, though (of course) the Arch Wiki page on the topic is correct and up to date, and I should have looked there instead of googling.
You have to have a suitable xdg-desktop-portal package installed to plumb the picker, which varies a bit from distribution-to-distribution and environment-to-environment, on Arch+KDE it’s xdg-desktop-portal-kde.
I find the whole portals arrangement architecturally ugly, but important thing is that I can get rid of that obnoxious buttons-on-the-top GTK filepicker dialog, which is both ugly and upside down from the rest of the universe.
Web Presence
Page Navigation
Meta
-
Recent Posts
Random Quote
As an immigrat … I come from another culture. And I’m aware of the fact that people elsewhere in the world think differnetly from us. I can, sort of, see us, us Americans, with their eyes. And not all that I see is attractive. I see an insular people who are insensitive to foreign sensibilites, who are lazy, obese, complacent, and increasingly perplexed as to why we are losing our place in the world to people who are more dynamic than us and more disciplined.
— (Kenyan-American Biograpeher) Edmund Morris on CBS’ Face The NationCategories
License
Unless otherwise noted, this work is licensed under a Creative Commons Attribution-ShareAlike 3.0 United States License.