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

Horváth Károly <[email protected]> Fri, 26 Aug 2011 01:11:22 +0200
Newsgroups gmane.comp.gnome.lib.gconf
Message-ID <CAOsJbTwFQoPoutCDv-tViRmD=9GZ0BRHkNWPe6AJPxb3bWPL_A@mail.gmail.com>
--===============1401745901==
Content-Type: multipart/alternative; boundary=0016363b816242f2e904ab5c8de0

--0016363b816242f2e904ab5c8de0
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_filename=
)*
*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
--=20
_____Horv=E1th K=E1roly______

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

<div><font class=3D"Apple-style-span" face=3D"georgia, serif">Hello !</font=
></div><div><font class=3D"Apple-style-span" face=3D"georgia, serif"><br></=
font></div><div><font class=3D"Apple-style-span" face=3D"georgia, serif">I&=
#39;v got the following error when i want to ask what is my wallpaper.</fon=
t></div>

<div><font class=3D"Apple-style-span" face=3D"georgia, serif">The first is =
run from a script and the answer is not a real file.</font></div><div><font=
 class=3D"Apple-style-span" face=3D"georgia, serif"><br></font></div><div><=
font class=3D"Apple-style-span" face=3D"georgia, serif">The second version =
is running from the terminal and the answer is good.</font></div>

<div><font class=3D"Apple-style-span" face=3D"georgia, serif"><br></font></=
div><div><font class=3D"Apple-style-span" face=3D"georgia, serif">I wondere=
d why do these difference but i don&#39;t know the answer.</font></div><div=
><font class=3D"Apple-style-span" face=3D"georgia, serif">please help me I&=
#39;v got a Ubuntu 11.04 Natty Narwhal with Gnome</font></div>

<div><font class=3D"Apple-style-span" face=3D"georgia, serif"><br></font></=
div><div><span class=3D"Apple-style-span" style=3D"font-family: georgia, se=
rif; ">1.</span></div><div><b><font class=3D"Apple-style-span" face=3D"geor=
gia, serif">#!/bin/sh</font></b></div>

<div><b><font class=3D"Apple-style-span" face=3D"georgia, serif">clear</fon=
t></b></div><div><b><font class=3D"Apple-style-span" face=3D"georgia, serif=
">wallpaper=3D$(gconftool-2 --get /desktop/gnome/background/picture_filenam=
e)</font></b></div>

<div><b><font class=3D"Apple-style-span" face=3D"georgia, serif">echo $wall=
paper</font></b></div><div><font class=3D"Apple-style-span" face=3D"georgia=
, serif"><br></font></div><div><font class=3D"Apple-style-span" face=3D"geo=
rgia, serif">answer: <i><b>/tmp/1</b></i></font></div>

<div><i><b><font class=3D"Apple-style-span" face=3D"georgia, serif"><br></f=
ont></b></i></div><div><font class=3D"Apple-style-span" face=3D"georgia, se=
rif">2.</font></div><div><font class=3D"Apple-style-span" face=3D"georgia, =
serif">from terminal:=A0</font></div>

<div><b><font class=3D"Apple-style-span" face=3D"georgia, serif">gconftool-=
2 --get /desktop/gnome/background/picture_filename</font></b></div><div><sp=
an class=3D"Apple-style-span" style=3D"font-family: georgia, serif; "><b><s=
pan class=3D"Apple-style-span" style=3D"font-weight: normal; "><br>

</span></b></span></div><div><span class=3D"Apple-style-span" style=3D"font=
-family: georgia, serif; "><b><span class=3D"Apple-style-span" style=3D"fon=
t-weight: normal; ">good answer:=A0</span></b>/home/orange/Let=F6lt=E9sek/c=
ommodore.jpg</span></div>

<div><font class=3D"Apple-style-span" face=3D"georgia, serif"><br></font></=
div><div><font class=3D"Apple-style-span" face=3D"georgia, serif">Thank you=
 for you&#39;re answer</font></div>-- <br>_____Horv=E1th K=E1roly______<br>

--0016363b816242f2e904ab5c8de0--

--===============1401745901==
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
--===============1401745901==--