where should I put my config file?

Alexander Larsson alexl at redhat.com
Tue Aug 7 09:51:48 UTC 2018


Creating a runtime is basically like creating your own distribution.
It is not a good idea to maintain a distribution just so you can read
a config file.

Please please please, unless you have the real manpower/interest in
doing it correctly, never ever create your own runtime.

If all you need to do is read a config file that can never change,
just put it in /app/etc/.
On Mon, Aug 6, 2018 at 7:44 PM Goffi <goffi at goffi.org> wrote:
>
> Le lundi 6 août 2018, 12:37:01 CEST Alexander Larsson a écrit :
> > You can use $XDG_CONFIG_HOME to store the application permissions. In
> > the sandbox this will be redirected to a per-app directory inside
> > $HOME/.var/app/$ID which you always have write access to.
> > On Mon, Jul 9, 2018 at 8:35 AM Goffi <goffi at goffi.org> wrote:
>
> Hello,
>
> I've created a runtime because the frontends flatpaks need to access backend modules, so I could put in /etc in the runtime at the end.
> Thanks anyway for your answer, it's good to know and will most certainly be useful to me (for frontend specific settings).
>
> Thanks
> Goffi
>
>
> _______________________________________________
> Flatpak mailing list
> Flatpak at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/flatpak



-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 Alexander Larsson                                Red Hat, Inc
       alexl at redhat.com         alexander.larsson at gmail.com


More information about the Flatpak mailing list