GTK File Picker Issues in Librewolf/Firefox
I know there are a few other posts here about this issue but I have read the readme for librewolf/firefox and dbus regarding pledge/unveil and done the recommended steps for getting ~/Downloads to be visible as well as adding the recommended lines to my .xsession regarding dbus. Neither has made it so that I can download or upload files
/Downloads and /tmp are accessible if I go to them via file:///home/user/Downloads or /tmp but most websites require the gtk file picker to access files and nothing is visible but 'recent'.
Is there something I'm missing? I could add another directory to /etc/librewolf/unveil.main set to rwc the way Downloads is but the issue doesn't seem to be access, it's specifically the GTK picker seeing the directories.
Thanks in advance!
EDIT: Spoke too soon. For those with a similar problem see the following
- Perform the actions in both the /usr/local/share/doc/librewolf and dbus readmes
- download xdg-desktop-portal and xdg-desktop-portal-gtk
- In about:config set the following ui.allow_platform_file_picker = false and widget.use-xdg-desktop-portal.file-picker = 2
That should allow you to actually see everything!