Liferea
Alejandro Vera
alejandro.vera at gmail.com
Wed Jul 20 14:52:48 UTC 2016
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?
On Wed, Jul 20, 2016 at 3:05 AM, Ted Gould <ted at ubuntu.com> wrote:
>
> The home interface doesn't allow you to use directories with a "." as the
> first character. This is to avoid having applications able to read your
> private keys and other important information.
>
> You should change the place that Liferea uses to write it's configuration
> and databases to be the snap user writable areas, and I think in the end
> you might not need the home interface at all!
>
> The environment variable that gives the location of writable area for the
> application is $SNAP_USER_DATA. If you want to know any of the variables
> that is typically given to a snap you can install the hello-world snap and
> use "hello-world.env" to see them.
>
> Good luck!
> Ted
>
> On Wed, 2016-07-20 at 00:05 -0300, Alejandro Vera wrote:
>
> Thanks Chris, but I am already using it
>
> plugs: [home, x11, unity7, gsettings]
>
> Maybe the problem is other. But I do not know how to know...
>
> On Tue, Jul 19, 2016 at 9:04 PM, Chris Wayne <chris.wayne at canonical.com>
> wrote:
>
> Hi Alejandro,
>
> Try using the home interface (described here:
> http://snapcraft.io/docs/reference/interfaces) More info on how to use
> interdaces is found here: http://snapcraft.io/create/
>
> Thanks
> Chris
>
> On Tue, Jul 19, 2016 at 7:17 PM, Alejandro Vera <alejandro.vera at gmail.com>
> wrote:
>
> Hi guys, first time in this list
>
> I am trying to snap liferea, to learn and to use it.
>
> I think I am almost ready, but when I run my snap I have an error:
>
> (process:4122): Gtk-WARNING **: Locale not supported by C library.
> Using the fallback 'C' locale.
> Gtk-Message: Failed to load module "canberra-gtk-module"
> Gtk-Message: Failed to load module "canberra-gtk-module"
>
> ** (liferea:4122): WARNING **: Unexpected status on SQL execution: 14
> (unable to open database file)
> **
> ERROR:db.c:729:db_init: assertion failed: (sqlite3_get_autocommit (db))
>
>
> I think that the error is that it is trying to create the database inside
> the snap but it is read-only.
>
> Is there a way I can use the real HOME as HOME so liferea can create the
> database? Or is there a common way to solve this kind of problem?
>
> I am a spanish speaker, sorry for my english
>
> --
> Alejandro Vera
> http://www.recicleta.cl
>
> --
> Snapcraft mailing list
> Snapcraft at lists.ubuntu.com
> Modify settings or unsubscribe at:
> https://lists.ubuntu.com/mailman/listinfo/snapcraft
>
>
>
>
>
>
>
> --
> Snapcraft mailing listSnapcraft at lists.ubuntu.com
> Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/snapcraft
>
>
> --
> Snapcraft mailing list
> Snapcraft at lists.ubuntu.com
> Modify settings or unsubscribe at:
> https://lists.ubuntu.com/mailman/listinfo/snapcraft
>
>
--
Alejandro Vera
http://www.recicleta.cl
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/snapcraft/attachments/20160720/581774dc/attachment.html>
More information about the Snapcraft
mailing list