I need to change the background of my desktop in Ubuntu 12. 04 with a command in terminal, in order to make a script with bash. Does anyone know how to do it?


1 Answer 1


Run the following command in Terminal

gsettings set org.gnome.desktop.background picture-uri file:///path/to/your/image.png

This will change the Desktop Background to image.png.

Not the answer you're looking for? Browse other questions tagged or ask your own question.