Liferea
Didier Roche
didrocks at ubuntu.com
Wed Jul 20 06:51:43 UTC 2016
Le 20/07/2016 05:43, Alejandro Vera a écrit :
> I am learning a lot :D
Excellent :)
>
> HOME is well defined. It is /home/myuser/snap/liferea/x4 and has write
> permission. But now I know that I have to set XDG_DATA_DIR to that
> folder.
This is weird, XDG_DATA_DIR isn't part of the freedesktop spec
(https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.html).
The desktop launcher though already set XDG_DATA_DIRS (note the finale
S) to what is expected due to $HOME redirection. Are you sure this is
really the issue you are seeing?
You can always try to set a wrapper script after desktop-launch in your
snap $PATH to expert and add/remove variables.
I know that Sergio is going to bring support for runtime env variable
from snapcraft.yaml directly in the near future.
>
> How is the best way to set environmetn variables in a snap? I am using
> the desktop laucher from gtk3 part.
>
> On Tue, Jul 19, 2016 at 11:16 PM, Alejandro Vera
> <alejandro.vera at gmail.com <mailto:alejandro.vera at gmail.com>> wrote:
>
> snap interfaces
> Slot Plug
> :gsettings liferea
> :home liferea
> :unity7 liferea
> :x11 liferea,x11-apps
>
>
> On Tue, Jul 19, 2016 at 11:14 PM, Alejandro Vera
> <alejandro.vera at gmail.com> wrote:
>
> Do i have to do it by hand? It is not made at install time?
>
>
> On Tue, Jul 19, 2016 at 11:09 PM, Chris Wayne
> <chris.wayne at canonical.com <mailto:chris.wayne at canonical.com>>
> wrote:
>
> Did you connect the plugs/slots by running "sudo snap
> connect liferea:home ubuntu-core:home"?
>
> On Tue, Jul 19, 2016 at 11:05 PM, Alejandro Vera
> <alejandro.vera at gmail.com> 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
>
>
>
>
>
> --
> Alejandro Vera
> http://www.recicleta.cl
>
>
>
>
>
> --
> Alejandro Vera
> http://www.recicleta.cl
>
>
>
>
> --
> Alejandro Vera
> http://www.recicleta.cl
>
>
>
>
> --
> Alejandro Vera
> http://www.recicleta.cl
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/snapcraft/attachments/20160720/425b51b6/attachment.html>
More information about the Snapcraft
mailing list