change desktop background from terminal ubuntu code example
Example 1: gnome set wallpaper command line
#To get directory of background iamge
$ gsettings get org.gnome.desktop.background picture-uri
'file:///usr/share/backgrounds/warty-final-ubuntu.png'
Example 2: gnome set wallpaper command line
$ gsettings get org.gnome.desktop.background picture-uri
'file:///usr/share/backgrounds/warty-final-ubuntu.png'