Are you easily getting bored from using the same wallpaper to your Ubuntu machine? Here’s an easy way of enjoying a variety of easily interchangeable wallpapers with photos available as public domain, via Unsplash.com.
All you have to do is create an shell script file (i.e. unsplash.sh) using the following code and execute it every time you want a “fresh” wallpaper.
#/bin/bash wget -O /tmp/wallpaper.jpg https://unsplash.it/2560/1440/?random gsettings set org.gnome.desktop.background picture-uri file:///tmp/wallpaper.jpg
Enjoy!
(source code originally found at youness.net)
One reply on “How to automatically set a random Unsplash photo as your Ubuntu wallpaper using bash script”
Hi,
Thanks for mentioning my post.
FYI now you can select the category of walpappers you want to display, check the update I made last year : http://youness.net/linux/set-random-wallpapers-unsplash-com-ubuntu