this post was submitted on 27 Jun 2023
5 points (100.0% liked)

Arch Linux

7647 readers
37 users here now

The beloved lightweight distro

founded 4 years ago
MODERATORS
 

When I'm saving downloaded files through firefox, attaching files to a mail, opening files with programs, etc. then I have to use the program's own file browser (in this case Firefox's).

My question is, is there a way I can globally add more directories?

In this case with Firefox specifically, to the left column along with Recent/Home/Desktop.

 

p.s. I'm using Arch Linux with i3wm and normally I use the terminal rather than any GUI file manager/browser

you are viewing a single comment's thread
view the rest of the comments
[–] nous@programming.dev 2 points 1 year ago

You might be able to do something with https://wiki.archlinux.org/title/XDG_Desktop_Portal - it was designed for applications running in flatpack and wayland to be able to get things from the system. As such I believe it lets you use a system file picker to be able to access files outside of flatpack. For applications that support it you might be able to get it to work outside of flatpack to get a consistent file picker.

Though I have not tried it and it may or may not function without wayland. Not sure if there is a way to do something similar in X11 otherwise. At least not without configuring every applications that supports multiple file pickers to force them to use one (like I think firefox can use the kde on if it is running on kde? or is that just theming on the gtk one...).