Ubuntu – Changing Ubuntu Wallpaper Using Terminal or From command Line

consoledesktop-customizationgnomeubuntu 11.10

I am using Ubuntu 11.10 with Gnome Shell and unity and I was wondering how to change the desktop wallpaper form terminal or command line .

I found the following but i can't seem to get it to work ,

gconftool-2 --set /apps/compiz/plugins/wallpaper/screen0/options/images --type list --list-type string "[file:/path/to/first.png:100,file:/path/to/second.png:100]"

Best Answer

I would do this if I were you: gsettings set org.gnome.desktop.background picture-uri file:///path/to/img.jpg (tip from here)

Related Question