But what happens if I'm transitioning from Liferea installed a deb to the snap -- everything I expect is in $HOME. I get we can convince the app to look elsewhere to write files, but as a user, what happens to my config files when I transition? Liferea isn't going to read them afaict. How about when I uninstall the snap? Re-install my OS? (keeping only $HOME)

Nicholas

On 07/20/2016 10:57 AM, Oliver Grawert wrote:
hi,
Am Mittwoch, den 20.07.2016, 11:52 -0300 schrieb Alejandro Vera:
Liferea uses this environment variables (from man)

       $XDG_CONFIG_DIR/liferea/feedlist.opml             Contains the
current list of subscriptions
        $XDG_CONFIG_DIR/liferea/liferea.css              Stylesheet
that can be used to override default HTML style
        $XDG_DATA_DIR/liferea/liferea.db

The first two I think are standar and the last one is from liferea...

I think then that the right solution is to set the three of them to
the SNAP_USER_DATA and remove the home interface :D

what do you think?
it is definitely what i would do (in a separate wrapper script), just
do not forget that you need to mkdir the subdir if it doesn't exist ...

ciao
        oli




--
Snapcraft mailing list
[email protected]
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/snapcraft

Reply via email to