<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-text-html" lang="x-western">
<div class="moz-cite-prefix">Le 20/07/2016 05:43, Alejandro Vera a
écrit :<br>
</div>
<blockquote
cite="mid:CAE=iyrXco2f5=fLYnuX0y8EZHPz92bsq0Um8h2wVYgBGkq3pTA@mail.gmail.com"
type="cite">
<div dir="ltr">
<div>
<div>I am learning a lot :D<br>
</div>
</div>
</div>
</blockquote>
<br>
Excellent :)<br>
<blockquote
cite="mid:CAE=iyrXco2f5=fLYnuX0y8EZHPz92bsq0Um8h2wVYgBGkq3pTA@mail.gmail.com"
type="cite">
<div dir="ltr">
<div>
<div><br>
</div>
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. <br>
</div>
</div>
</blockquote>
<br>
This is weird, XDG_DATA_DIR isn't part of the freedesktop spec (<a
class="moz-txt-link-freetext"
href="https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.html"><a class="moz-txt-link-freetext" href="https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.html">https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.html</a></a>).
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?<br>
<br>
You can always try to set a wrapper script after desktop-launch in
your snap $PATH to expert and add/remove variables.<br>
<br>
I know that Sergio is going to bring support for runtime env
variable from snapcraft.yaml directly in the near future.<br>
<br>
<br>
<blockquote
cite="mid:CAE=iyrXco2f5=fLYnuX0y8EZHPz92bsq0Um8h2wVYgBGkq3pTA@mail.gmail.com"
type="cite">
<div dir="ltr">
<div><br>
</div>
How is the best way to set environmetn variables in a snap? I
am using the desktop laucher from gtk3 part.<br>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Tue, Jul 19, 2016 at 11:16 PM,
Alejandro Vera <span dir="ltr"><<a
moz-do-not-send="true"
href="mailto:alejandro.vera@gmail.com" target="_blank"><a class="moz-txt-link-abbreviated" href="mailto:alejandro.vera@gmail.com">alejandro.vera@gmail.com</a></a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">snap interfaces<br>
Slot Plug<br>
:gsettings liferea<br>
:home liferea<br>
:unity7 liferea<br>
:x11 liferea,x11-apps<br>
<br>
</div>
<div class="HOEnZb">
<div class="h5">
<div class="gmail_extra"><br>
<div class="gmail_quote">On Tue, Jul 19, 2016 at
11:14 PM, Alejandro Vera <span dir="ltr"><<a
class="moz-txt-link-abbreviated"
href="mailto:alejandro.vera@gmail.com"><a class="moz-txt-link-abbreviated" href="mailto:alejandro.vera@gmail.com">alejandro.vera@gmail.com</a></a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0
0 .8ex;border-left:1px #ccc
solid;padding-left:1ex">
<div dir="ltr">Do i have to do it by hand? It is
not made at install time?<br>
<br>
</div>
<div>
<div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Tue, Jul 19,
2016 at 11:09 PM, Chris Wayne <span
dir="ltr"><<a
moz-do-not-send="true"
href="mailto:chris.wayne@canonical.com"
target="_blank"><a class="moz-txt-link-abbreviated" href="mailto:chris.wayne@canonical.com">chris.wayne@canonical.com</a></a>></span>
wrote:<br>
<blockquote class="gmail_quote"
style="margin:0 0 0
.8ex;border-left:1px #ccc
solid;padding-left:1ex">
<div dir="ltr">Did you connect the
plugs/slots by running "sudo snap
connect liferea:home
ubuntu-core:home"?</div>
<div>
<div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Tue,
Jul 19, 2016 at 11:05 PM,
Alejandro Vera <span
dir="ltr"><<a
class="moz-txt-link-abbreviated"
href="mailto:alejandro.vera@gmail.com"><a class="moz-txt-link-abbreviated" href="mailto:alejandro.vera@gmail.com">alejandro.vera@gmail.com</a></a>></span>
wrote:<br>
<blockquote
class="gmail_quote"
style="margin:0 0 0
.8ex;border-left:1px #ccc
solid;padding-left:1ex">
<div dir="ltr">
<div>Thanks Chris, but I
am already using it<br>
<br>
plugs: [home, x11,
unity7, gsettings]<br>
<br>
</div>
Maybe the problem is
other. But I do not know
how to know...<br>
</div>
<div>
<div>
<div class="gmail_extra"><br>
<div
class="gmail_quote">On
Tue, Jul 19, 2016 at
9:04 PM, Chris Wayne
<span dir="ltr"><<a
class="moz-txt-link-abbreviated" href="mailto:chris.wayne@canonical.com"><a class="moz-txt-link-abbreviated" href="mailto:chris.wayne@canonical.com">chris.wayne@canonical.com</a></a>></span>
wrote:<br>
<blockquote
class="gmail_quote"
style="margin:0 0
0
.8ex;border-left:1px
#ccc
solid;padding-left:1ex">
<div dir="ltr">Hi
Alejandro,
<div><br>
</div>
<div>Try using
the home
interface
(described
here: <a
class="moz-txt-link-freetext"
href="http://snapcraft.io/docs/reference/interfaces"><a class="moz-txt-link-freetext" href="http://snapcraft.io/docs/reference/interfaces">http://snapcraft.io/docs/reference/interfaces</a></a>)
More info on
how to use
interdaces is
found here: <a
class="moz-txt-link-freetext" href="http://snapcraft.io/create/"><a class="moz-txt-link-freetext" href="http://snapcraft.io/create/">http://snapcraft.io/create/</a></a></div>
<div> </div>
<div>Thanks</div>
<div>Chris</div>
</div>
<div
class="gmail_extra"><br>
<div
class="gmail_quote">
<div>
<div>On Tue,
Jul 19, 2016
at 7:17 PM,
Alejandro Vera
<span
dir="ltr"><<a
class="moz-txt-link-abbreviated" href="mailto:alejandro.vera@gmail.com"><a class="moz-txt-link-abbreviated" href="mailto:alejandro.vera@gmail.com">alejandro.vera@gmail.com</a></a>></span>
wrote:<br>
</div>
</div>
<blockquote
class="gmail_quote"
style="margin:0
0 0
.8ex;border-left:1px
#ccc
solid;padding-left:1ex">
<div>
<div>
<div dir="ltr">
<div>
<div>
<div>Hi guys,
first time in
this list<br>
<br>
</div>
<div>I am
trying to snap
liferea, to
learn and to
use it.<br>
<br>
</div>
<div>I think I
am almost
ready, but
when I run my
snap I have an
error:<br>
<br>
(process:4122):
Gtk-WARNING
**: Locale not
supported by C
library.<br>
Using the
fallback 'C'
locale.<br>
Gtk-Message:
Failed to load
module
"canberra-gtk-module"<br>
Gtk-Message:
Failed to load
module
"canberra-gtk-module"<br>
<br>
**
(liferea:4122):
WARNING **:
Unexpected
status on SQL
execution: 14
(unable to
open database
file)<br>
**<br>
ERROR:db.c:729:db_init:
assertion
failed:
(sqlite3_get_autocommit
(db))<br>
<br>
</div>
<div><br>
</div>
I think that
the error is
that it is
trying to
create the
database
inside the
snap but it is
read-only.<br>
<br>
</div>
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?<br>
<br>
</div>
I am a spanish
speaker, sorry
for my english
<br
clear="all">
<span><font
color="#888888">
<div>
<div>
<div>
<div>
<div><br>
-- <br>
<div
data-smartmail="gmail_signature">Alejandro
Vera<br>
<a
class="moz-txt-link-freetext"
href="http://www.recicleta.cl"><a class="moz-txt-link-freetext" href="http://www.recicleta.cl">http://www.recicleta.cl</a></a><br>
</div>
</div>
</div>
</div>
</div>
</div>
</font></span></div>
<br>
</div>
</div>
<span><font
color="#888888">--<br>
Snapcraft
mailing list<br>
<a
class="moz-txt-link-abbreviated"
href="mailto:Snapcraft@lists.ubuntu.com"><a class="moz-txt-link-abbreviated" href="mailto:Snapcraft@lists.ubuntu.com">Snapcraft@lists.ubuntu.com</a></a><br>
Modify
settings or
unsubscribe
at: <a
class="moz-txt-link-freetext"
href="https://lists.ubuntu.com/mailman/listinfo/snapcraft"><a class="moz-txt-link-freetext" href="https://lists.ubuntu.com/mailman/listinfo/snapcraft">https://lists.ubuntu.com/mailman/listinfo/snapcraft</a></a><br>
<br>
</font></span></blockquote>
</div>
<br>
</div>
</blockquote>
</div>
<br>
<br clear="all">
<br>
-- <br>
<div
data-smartmail="gmail_signature">Alejandro
Vera<br>
<a
class="moz-txt-link-freetext"
href="http://www.recicleta.cl"><a class="moz-txt-link-freetext" href="http://www.recicleta.cl">http://www.recicleta.cl</a></a><br>
</div>
</div>
</div>
</div>
</blockquote>
</div>
<br>
</div>
</div>
</div>
</blockquote>
</div>
<br>
<br clear="all">
<br>
-- <br>
<div data-smartmail="gmail_signature">Alejandro
Vera<br>
<a moz-do-not-send="true"
href="http://www.recicleta.cl"
target="_blank">http://www.recicleta.cl</a><br>
</div>
</div>
</div>
</div>
</blockquote>
</div>
<br>
<br clear="all">
<br>
-- <br>
<div data-smartmail="gmail_signature">Alejandro Vera<br>
<a moz-do-not-send="true"
href="http://www.recicleta.cl" target="_blank">http://www.recicleta.cl</a><br>
</div>
</div>
</div>
</div>
</blockquote>
</div>
<br>
<br clear="all">
<br>
-- <br>
<div class="gmail_signature" data-smartmail="gmail_signature">Alejandro
Vera<br>
<a moz-do-not-send="true" href="http://www.recicleta.cl"
target="_blank">http://www.recicleta.cl</a><br>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
</blockquote>
<br>
</div>
</body>
</html>