Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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? but i want the image from internet...

i know if i use local image would like this :

gsettings set org.gnome.desktop.background picture-uri file:///home/icorner/wallpaper/curr.jpg

but if i use something like this wont work

gsettings set org.gnome.desktop.background picture-uri 

where picture-uri is URL of some image on internet.

Thanks & regards, Yan Fachmi

share|improve this question

1 Answer 1

Well, you could make it a two step process:

wget url_of_image -O wallpaper.jpg
gsettings set ....
share|improve this answer
    
------------------ –  Yan Fachmi Sep 7 '12 at 9:27
    
i used bash command...and put on startup anyway thanks for everything.... !/bin/bash echo "Open Change Wallpaper" cd .. rm /home/icorner/wallpaper/curr.jpg cd /home/icorner/wallpaper wget XXXX@ftp.XXX.com/wallpaper_warnet/curr.jpg gsettings set org.gnome.desktop.background picture-uri file:///home/icorner/wallpaper/curr.jpg echo "Done change wallpaper" –  Yan Fachmi Sep 7 '12 at 9:30

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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