Lately I've noticed Firefox doing an unpleasant thing. The file picker dialog de...
Mason Loring Bliss @mason@partychickens.net
Lately I've noticed Firefox doing an unpleasant thing. The file picker dialog defaults to "Recent Files" when I open it. Hate it.
Turns out, it's not Firefox. It's GTK. So, there are a couple things. Evidently one can set some values in ~/.config/gtk-3.0/settings.ini and that's supposed to work. Only, it didn't at first, which led me to finding /usr/libexec/xdg-desktop-portal-gtk, which is presumably what wanted the config. Some related settings:
[Settings]
gtk-recent-files-max-age=0
gtk-recent-files-limit=0
gtk-recent-files-enabled=0
I also found that I could go into about:config and set widget.use-xdg-desktop-portal.file-picker to "0" and that evidently switched Firefox over to using an internally-controlled file picker dialog. But it doesn't work in every context, sadly.
Yay, software.