View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0005828||CentOS-6||GConf2||public||2012-07-12 20:32||2012-07-12 21:29|
|Target Version||Fixed in Version|
|Summary||0005828: gconftool2 does not replace background image system wide|
|Description||I need to set the background system wide for our servers. |
To achieve this, I saved a valid image file /usr/share/backgrounds/default2.png and made the permissions for the file 644
As root, I ran both the following commands (in case 1 worked but not the other)
gconftool-2 --direct --config-source xml:readwrite:/etc/gconf/gconf.xml.defaults --type string --set /desktop/gnome/background/picture_filename /usr/share/backgrounds/default2.png
gconftool-2 --direct --config-source xml:readwrite:/etc/gconf/gconf.xml.mandatory --type string --set /desktop/gnome/background/picture_filename /usr/share/backgrounds/default2.png
Both commands completed without error and I checked the relevant .xml files and found default2.png referenced as expected.
The login screen is set to the new image but the image file is not set as background for users. (I can set it manually by user via the GUI no problem)
It is very important for us that the desktop backgrounds of our machines are consistent and correct.
Any feedback would be greatly appreciated as I am going crazy with this.
|Tags||No tags attached.|
I would like to apologise for wasting time here. I now understand the problem. The picture_options value was "none" . I changed this to "wallpaper" using the following command
gconftool-2 --direct --config-source xml:readwrite:/etc/gconf/gconf.xml.mandatory --type string --set /desktop/gnome/background/picture_options wallpaper
and the problem went away. Even though an incorrect report I do hope this helps someone else not be as stupid as I've been!