Wolfy Asked: 2011-06-23 04:11:49 +0800 CST2011-06-23 04:11:49 +0800 CST 2011-06-23 04:11:49 +0800 CST How do I change the desktop background from command line? 772 How can I change my desktop background from command line? command-line 1 Answers Voted Best Answer Oli 2011-06-23T04:16:41+08:002011-06-23T04:16:41+08:00 Edit: In later versions of Ubuntu (this question was written in 2011, after all), things moved to gsettings. See: How to change desktop background from command line in Unity? It's a gconf setting: /desktop/gnome/background/picture_filename. You can set its value by running the following: gconftool-2 -t string -s /desktop/gnome/background/picture_filename <path> Obviously, replace <path> with a full path to the background image you want to display. If you want to see what else is available from a nice GUI, run: gconf-editor /desktop/gnome/background/
Edit: In later versions of Ubuntu (this question was written in 2011, after all), things moved to gsettings. See: How to change desktop background from command line in Unity?
It's a
gconf
setting:/desktop/gnome/background/picture_filename
. You can set its value by running the following:Obviously, replace
<path>
with a full path to the background image you want to display.If you want to see what else is available from a nice GUI, run: