WPG: The "Wallpaper Generator"
Or more accurately, the Gnome Desktop Cycling Wallpaper XML File Generator Kind of a mouthful, eh? That's why it's "wpg" and not "gdcwxfg"
npm install -g wpg
Command Line Usage
in a folder that has at least two images.
This will generate an XML file that has the same name as the current folder. You can then open System -> Preferences -> Appearance -> Background and select the XML file.
That was easy.
To use programmatically, you need to install locally.
npm install wpg
wpg = require("wpg") outXML = wpg.generateXMLFile()
generateXMLFile() has an optional argument which is the number of seconds
that each image is displayed. The default is
1800, or 30 minutes.
Written in coffeescript for the lulz