Sebastien Bacher <[EMAIL PROTECTED]> writes: > Le dimanche 30 janvier 2005 Ã 00:23 +0100, Juergen Kreileder a Ãcrit > : > >> 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 writable 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 Graphite.jpg" Actual result: Background gets changed to /usr/share/images/desktop-base/default Interestingly gconf shows the correct entry at this point % 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 -- Juergen Kreileder, Blackdown Java-Linux Team http://www.blackdown.org/java-linux/java2-status/