Java Desktop System 发行版 3 管理指南

设置背景首选项

要为桌面背景设置首选项,您可修改 /desktop/gnome/background 位置中首选项键的值。例如,要为背景设置强制图像,请执行以下命令:

# gconftool-2 --direct --config-source xml:readwrite:/etc/gconf/gconf.xml.mandatory --type string --set /desktop/gnome/background/picture_filename filename.png

要为此首选项设置缺省值,请执行以下命令:

# gconftool-2 --direct --config-source xml:readwrite:/etc/gconf/gconf.xml.defaults --type string --set /desktop/gnome/background/picture_filename filename.png

还可以设置其他背景首选项。有关其他背景首选项的信息,参见 desktop_gnome_background.schemas 架构定义文件。