On 27/09/2024 21:01, J wrote:
So, is there a way to change the file picker in browsers? Recently i have switched from Gnome Files (Nautilus) to Thunar.
I expect that to use thunar as a file picker it should provide file picker desktop-portal D-Bus interface and DE should allow alternative desktop-portal implementations. There are some packages for KDE, GNOME, etc. Just a data point: Chromium from Debian repositories uses KDE file picker out of the box.
The idea behind desktop-portal is to make some files accessible for sandboxed applications (flatpak, snap) that has no direct access to whole filesystem. Likely bind mount to a temporary path under /run/user is used before an application may use system calls to read/write a file.
As to configuration, I may add nothing to the message by Geoff.
|$ xdg-mime query default inode/directory thunar.desktop|
Perhaps for Firefox it affects "Show in Folder" for downloads.