I've written a bash script to turn a directory, directory tree, or
list of files into an XML file suitable for use with the "Desktop
Background" gallery construct in GNOME.

  I could not find one @GNOME.org or freedesktop.org, so I wrote one for
myself based on the "Cosmos" gallery definition and some experimenting.

  I haven't yet found what program or library is handling the decoding
of this XML file (nor what draws the desktop background actually) so I
can't be sure that I fully handle all the DTD options.  Any pointers on
where to find the specification(s) are appreciated.

  I've been running it under GNOME 3.4.2 for a couple of weeks now and
it seems solid enough.  Some of the other options that I suspect should
be available in the DTD/XML (such as "scale" vs. "stretch" etcetera) can
be set via dconf-editor or GNOME Control Center.

  It has been quite a while since I've done much programming, and this
is the first thing I'm throwing into the Fedora Project and GNOME
waters. (Be gentle in your criticisms please.)

  The script is to be found at:

        http://redwolfe.fedorapeople.org/BkgMake/BkgMake.sh

There is a fairly detailed -h option, and it is commented throughout.

TODO: add an option to automatically "shuffle" the image file list
before writing the output.  write a man page and texinfo file.  make a
real Fedora package for the thing.

  Have at it people.

-- 
Gregory "Wolfe" Woodbury
FAS: redwolfe
redwo...@gmail.com
-- 
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel

Reply via email to