The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

zbgset - A perl program for managing the background.

SYNOPSIS

zbgset (-f <file>|-r|-l) [-F <fill type>] [-s <ZConf set>]

USAGE

Either -f, -r, or -l need used.

This does not actually set the background, but calls another program to do it, but what makes it useful is it allows for random images to be used as well as the last image to be called. This makes it useful for setting the image upon login or changing it regullarly through cron.

When it is ran for the first time it creates a ZConf config named "zbgset" used store the settings.

ARGUEMENTS

-f <file>

This specifies a file to use.

-F <fill type>

This specifies the fill type to use.

-l

Use the last image.

-p <path>

If this is specified, the specified path is used for selecting the random image from.

-s <ZConf set>

This is the ZConf set to use for it. If the set has not been initiated before it will do so.

EXIT CODES

Any codes not listed below reflect the error value of ZConf::BGSet.

254

No usable options specified.

AUTHOR

Copyright (c) 2008, Zame C. Bowers <vvelox@vvelox.net>

All rights reserved.

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

    * Redistributions of source code must retain the above copyright notice,
     this list of conditions and the following disclaimer.
    * Redistributions in binary form must reproduce the above copyright
     notice, this list of conditions and the following disclaimer in the
     documentation and/or other materials provided with the distribution.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS` OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

CHANGELOG

3.2.1/2009-10-24

-Exit code cleanup,

-Update set usage.

-Remove notes about 'cair' from help.

3.2.0/2009-01-13

-Import into ZConf::BSset.

-Make use of ZConf::BGSet.

3.1.0/2008-10-21

-Add CHANGELOG to the POD.

-Add add the 'cair' setter, Content Aware Image Resizer. Use 'cairhelper' script from CPAN to use this.

SCRIPT CATEGORIES

Desktop

OSNAMES

any

README

zbgset - A perl program for managing the background.