Bug#286404: nautilus: Default background confusion
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 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 ? Some listeners are broken when gconf restart, which happen when a GNOME package is installed. Cheers, Sebastien Bacher
Bug#286404: nautilus: Default background confusion
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/
Bug#286404: nautilus: Default background confusion
Sebastien Bacher [EMAIL PROTECTED] writes: Le lundi 20 dcembre 2004 03:52 +0100, Juergen Kreileder a crit : 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_filename /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 writable 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 % 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 Juergen -- Juergen Kreileder, Blackdown Java-Linux Team http://www.blackdown.org/java-linux/java2-status/
Bug#286404: nautilus: Default background confusion
Le lundi 20 décembre 2004 à 03:52 +0100, Juergen Kreileder a écrit : system default of /desktop/gnome/background/picture_filename instead of the default of /schemas/desktop/gnome/background/picture_filename. Hi, 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. Cheers, Sebastien Bacher