where should I put my config file?
Alexander Larsson
alexl at redhat.com
Mon Aug 6 10:37:01 UTC 2018
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,
>
> to adapt to flatpak, I need to set a configuration file to indicate path to
> media files. This file should be in /etc on a classical distribution.
>
> It seems that I can't write to /etc (I can do it in the manifest, but the
> file is not there after building).
>
> Is there a way to write persistently to /etc, or should I modify my
> software to check /app to find configuration file?
>
> I'm excluding putting my config in $HOME on in xdg's config directory,
> because I'll probably have to give access to host's $HOME for some features
> (like file sharing).
>
> 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