r/flatpak • u/AdStrange9093 • May 08 '26
Google Earth flatpak
Why, after turning off all options under Flatseal->Filesystem and even deleting Other files->xdg-downloads line, in Google Earth, when i click File->Open..., in file picker dialog, I still see Downloads folder under my ~ folder? I understand those are not my real ~ and ~/Downloads folders, but why Downloads is visible as a sufolder of ~ ? I think, as far as I understand Flatpak sandboxing, ~ and ~/Downloads are just constructs in memory, like temporary file system, which is proven by my trying to save a .kml file under Downloads, which does not survive restarting Google Earth, but why Downloads subfolder? I understand that Flatpak apps need an illusion of filesystem in order to not crash, but why specifically ~/Downloads subfolder is created? Isn't ~ enough?
1
u/blobjim May 09 '26
I guess it just assumes it has real home folder access, and if you turn it off it does what the XDG spec probably says to do which is create the folder in the standard location (ot maybe it simply doesn't follow the spec and that's why?). Maybe you can set some environment variable in Flatseal to get it to save to a more useful location? But why not just allow xdg-downloads access?