Re: gconftool-2 --get /desktop/gnome/background/picture_filename error

Horváth Károly <[email protected]> Sun, 5 Feb 2012 03:39:34 +0000
Newsgroups gmane.comp.gnome.lib.gconf
Message-ID <CAOsJbTzBjvso9uQgDYrnOc7JqTCoJnPpHn+zA34oMOR6VMsssg@mail.gmail.com>
--===============0360435748==
Content-Type: multipart/alternative; boundary=20cf305640cf9158f204b82f4c64

--20cf305640cf9158f204b82f4c64
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

Hello !
>
>
> I'v got the following error when i want to ask what is my wallpaper.
> The first is run from a script and the answer is not a real file.
>
> The second version is running from the terminal and the answer is good.
>
> I wondered why do these difference but i don't know the answer.
> please help me I'v got a Ubuntu 11.04 Natty Narwhal with Gnome
>
> 1.
> *#!/bin/sh*
> *clear*
> *wallpaper=3D$(gconftool-2 --get /desktop/gnome/background/picture_filena=
me)
> *
> *echo $wallpaper*
>
> answer: */tmp/1*
> *
> *
> 2.
> from terminal:
> *gconftool-2 --get /desktop/gnome/background/picture_filename*
> *
> *
> *good answer: */home/orange/Let=F6lt=E9sek/commodore.jpg
>
> Thank you for you're answer
> --
> _____Horv=E1th K=E1roly______
>

--20cf305640cf9158f204b82f4c64
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<div class=3D"gmail_quote"><font face=3D"georgia, serif">Hello !</font><blo=
ckquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #c=
cc solid;padding-left:1ex"><div><font face=3D"georgia, serif"><br></font></=
div><div>

<font face=3D"georgia, serif">I&#39;v got the following error when i want t=
o ask what is my wallpaper.</font></div>
<div><font face=3D"georgia, serif">The first is run from a script and the a=
nswer is not a real file.</font></div><div><font face=3D"georgia, serif"><b=
r></font></div><div><font face=3D"georgia, serif">The second version is run=
ning from the terminal and the answer is good.</font></div>


<div><font face=3D"georgia, serif"><br></font></div><div><font face=3D"geor=
gia, serif">I wondered why do these difference but i don&#39;t know the ans=
wer.</font></div><div><font face=3D"georgia, serif">please help me I&#39;v =
got a Ubuntu 11.04 Natty Narwhal with Gnome</font></div>


<div><font face=3D"georgia, serif"><br></font></div><div><span style=3D"fon=
t-family:georgia,serif">1.</span></div><div><b><font face=3D"georgia, serif=
">#!/bin/sh</font></b></div>
<div><b><font face=3D"georgia, serif">clear</font></b></div><div><b><font f=
ace=3D"georgia, serif">wallpaper=3D$(gconftool-2 --get /desktop/gnome/backg=
round/picture_filename)</font></b></div>
<div><b><font face=3D"georgia, serif">echo $wallpaper</font></b></div><div>=
<font face=3D"georgia, serif"><br></font></div><div><font face=3D"georgia, =
serif">answer: <i><b>/tmp/1</b></i></font></div>
<div><i><b><font face=3D"georgia, serif"><br></font></b></i></div><div><fon=
t face=3D"georgia, serif">2.</font></div><div><font face=3D"georgia, serif"=
>from terminal:=A0</font></div>
<div><b><font face=3D"georgia, serif">gconftool-2 --get /desktop/gnome/back=
ground/picture_filename</font></b></div><div><span style=3D"font-family:geo=
rgia,serif"><b><span style=3D"font-weight:normal"><br>
</span></b></span></div><div><span style=3D"font-family:georgia,serif"><b><=
span style=3D"font-weight:normal">good answer:=A0</span></b>/home/orange/Le=
t=F6lt=E9sek/commodore.jpg</span></div>
<div><font face=3D"georgia, serif"><br></font></div><div><font face=3D"geor=
gia, serif">Thank you for you&#39;re answer</font></div>-- <br><font color=
=3D"#888888">_____Horv=E1th K=E1roly______<br>
</font></blockquote></div>

--20cf305640cf9158f204b82f4c64--

--===============0360435748==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
gconf-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/gconf-list
--===============0360435748==--