Gentoo Archives: gentoo-dev

From: Markos Chandras <hwoarang@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] A bash script to generate GNOME "Desktop Background" gallery XML files available
Date: Tue, 23 Oct 2012 10:09:04
Message-Id: CAG2jQ8iu1m_hUvHxd_Q8UwfPECA6G+V=QsQYjUiwATamsNCgfQ@mail.gmail.com
In Reply to: [gentoo-dev] A bash script to generate GNOME "Desktop Background" gallery XML files available by Greg Woodbury
1 On Tue, Oct 23, 2012 at 9:52 AM, Greg Woodbury <redwolfe@×××××.com> wrote:
2 > I've written a bash script to turn a directory, directory tree, or
3 > list of files into an XML file suitable for use with the "Desktop
4 > Background" gallery construct in GNOME.
5 >
6 > I could not find one @GNOME.org or freedesktop.org, so I wrote one for
7 > myself based on the "Cosmos" gallery definition and some experimenting.
8 >
9 > I haven't yet found what program or library is handling the decoding
10 > of this XML file (nor what draws the desktop background actually) so I
11 > can't be sure that I fully handle all the DTD options. Any pointers on
12 > where to find the specification(s) are appreciated.
13 >
14 > I've been running it under GNOME 3.4.2 for a couple of weeks now and
15 > it seems solid enough. Some of the other options that I suspect should
16 > be available in the DTD/XML (such as "scale" vs. "stretch" etcetera) can
17 > be set via dconf-editor or GNOME Control Center.
18 >
19 > It has been quite a while since I've done much programming, and this
20 > is the first thing I'm throwing into the Gentoo Project and GNOME
21 > waters. (Be gentle in your criticisms please.)
22 >
23 > The script is to be found at:
24 >
25 > http://wolves.homeip.net:9000/~ggw/BkgMake.sh
26 >
27 > There is a fairly detailed -h option, and it is commented throughout.
28 >
29 > TODO: add an option to automatically "shuffle" the image file list
30 > before writing the output. write a man page and texinfo file. make a
31 > real Gentoo package for the thing.
32 >
33 > Have at it people.
34 >
35 > --
36 > Gregory "Wolfe" Woodbury
37 > redwolfe@×××××.com
38 >
39
40 Hi,
41
42 I believe this is something not directly related to Gentoo (or Gentoo
43 developers) so this list might no be appropriate
44 to reach the audience you want. You can probably send a similar email
45 to gentoo-user@l.g.o or
46 publish your script to github/gitorious/$foo or
47 http://gnome-look.org/. Then we can even write an ebuild for it if
48 people find it useful.
49
50 --
51 Regards,
52 Markos Chandras / Gentoo Linux Developer / Key ID: B4AFF2C2