Bug#286404: nautilus: Default background confusion

Juergen Kreileder Juergen Kreileder <jk@blackdown.de>, 286404@bugs.debian.org
Sat, 05 Feb 2005 18:55:14 +0100


Sebastien Bacher <seb128@debian.org> writes:

> Le dimanche 30 janvier 2005 =C3=A0 00:23 +0100, Juergen Kreileder a =C3=
=A9crit
> :
>
>> 1 The administrator has set a default background picture, like
>> described in the System Administration Guide:
>>
>> % gconftool-2 --direct --config-source
>> % xml:readwrite:/etc/gconf/gconf.xml.defaults --type string --set
>> % /schemas/desktop/gnome/background/picture_filename "/srv/Desktop
>> % Pictures/Aqua Graphite.jpg"
>
> You should use "/desktop/gnome/background/picture_filename" here and
> not "/schemas/desktop/gnome/background/picture_filename"

Ah, sorry that was a typo.  It doesn't change much though.  See
below:

>> Interestingly gconf shows the correct entry at this point
>> ...
>> but the desktop doesn't show it.
>
> weird, that works fine here. Does it working correctly if you are
> just logged on the session ?

No.

> Some listeners are broken when gconf restart, which happen when a
> GNOME package is installed.

I've noticed that.  It's a bit annoying in long running sessions.


Here's the modified recipe:

1 The administrator has set a default background picture, like
  described in the System Administration Guide:

  % gconftool-2 --direct --config-source xml:readwrite:/etc/gconf/gconf.xml=
.defaults --type string --set /desktop/gnome/background/picture_filename "/=
srv/Desktop Pictures/Aqua Graphite.jpg"

2 % gconftool-2 --direct --config-source xml:readwrite:/etc/gconf/gconf.xml=
.defaults --get /desktop/gnome/background/picture_filename
  Resolved address "xml:readwrite:/etc/gconf/gconf.xml.defaults" to a writa=
ble configuration source at position 0
  /srv/Desktop Pictures/Aqua Graphite.jpg

  /schemas/... is unmodified, it uses /usr/share/images/desktop-base/default


* The user has a different background picture:

  % gconftool-2 --get /desktop/gnome/background/picture_filename
  /srv/Desktop Pictures/Aqua Blue.jpg


3 The user selects 'Use Default Background' from the desktop context menu.

  Expected result: Background gets changed to /srv/Desktop Pictures/Aqua Gr=
aphite.jpg"
  Actual result: Background gets changed to /usr/share/images/desktop-base/=
default

  Interestingly gconf shows the correct entry at this point
=20=20
  % gconftool-2 --get /desktop/gnome/background/picture_filename
  /srv/Desktop Pictures/Aqua Graphite.jpg

  but the desktop doesn't show it.


4 The user runs gnome-background-properties (e.g. through the 'Change
  Desktop Background' in the desktop context menu").
  gnome-background-properties starts up and the background suddenly
  gets changed to /srv/Desktop Pictures/Aqua Graphite.jpg


5 Go back to step 3 ;-)


        Juergen

--=20
Juergen Kreileder, Blackdown Java-Linux Team
http://www.blackdown.org/java-linux/java2-status/