Using ~/.config rather than ~/.var/APP_ID/config
Michael Gratton
mike at vee.net
Tue Mar 26 06:32:30 UTC 2019
Hi all,
I've just received a feature request for Geary to automatically migrate
config and data from the standard XDG desktop locations (i.e. typically
~/.config and ~/.local/share) when first-running the app under
Flatpak[0]. I'm sympathetic to this request, since it's weird that
existing config and data doesn't carry across just because one installs
an app via Flatpak rather than using traditional sources.
To implement this, I'd obviously have to open a RW hole in the sandbox
for both ~/.config/geary and ~/.local/share/geary, but once I've done
that there's not much point copying the data across - it may as well
just use it where it is.
So I'm wondering a) if there's any reason why this would be a bad idea,
and b) why Flatpak doesn't just do this by default?
Cheers!
//Mike
[0] - <https://gitlab.gnome.org/GNOME/geary/issues/326>
--
⊨ Michael Gratton, Percept Wrangler.
⚙ <http://mjog.vee.net/>
More information about the Flatpak
mailing list