For a while now, Ubuntu offers the option to set as desktop background a slideshow of wallpapers. It is nice to have such an option integrated into the OS but you can not customize it; or at least there is no obvious method.
Here is the easiest way how to set a custom Desktop slideshow from your own folder of photos:
