Bug#286404: nautilus: Default background confusion
Juergen Kreileder
Juergen Kreileder <jk@blackdown.de>, 286404@bugs.debian.org
Sun, 30 Jan 2005 00:23:00 +0100
Sebastien Bacher <seb128@debian.org> writes:
> Le lundi 20 d=C3=A9cembre 2004 =C3=A0 03:52 +0100, Juergen Kreileder a =
=C3=A9crit :
>
>> system default of /desktop/gnome/background/picture_filename
>> instead of the default of
>> /schemas/desktop/gnome/background/picture_filename.
>
> That's weird. Why do you say that nautilus uses the
> /schemas/desktop... one ? It only use the gconf api which seems to
> work correctly here.
I'm not sure if it uses /schemas but at list "Use Default Background"
doesn't work properly.
Here's how I can reproduce the problem, the bug is in step 3:
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_fil=
ename "/srv/Desktop Pictures/Aqua Graphite.jpg"
2 % gconftool-2 --direct --config-source xml:readwrite:/etc/gconf/gconf.xml=
.defaults --get /schemas/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
* 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 Graphite.jpg"
Actual result: Some green-grayish background
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
=20=20
Juergen
--=20
Juergen Kreileder, Blackdown Java-Linux Team
http://www.blackdown.org/java-linux/java2-status/