One alternative is to use feh.
$ apt-get install feh #Install feh

Create this file, name it whatever.
#!/bin/bash

delay=10           #Timeout between image switch (seconds)
directory=~/Images #Directory with files

while true; do
    #Add '--recursive' in order to include sub folders too.
    feh --bg-fill --randomize $directory
    sleep $delay
done

$ chmod +x FILEPATH    #make it executable
$ cp FILEPATH /usr/bin #refer to the file only by it's name not the full path

Reply via email to