User Panel:





Programming
Usage:
  • gnome-bg-changer [options] [background.xml file]

gnome-bg-changer is a utility to automatically change the GNOME desktop backgrounds.

The default delay is 5 minutes. If both MINUTES and SECONDS are specified, they are added together.

gnome-bg-changer uses ~/.gnome2/backgrounds.xml as the default background.xml file. This is the file used by the GNOME Appearance Properties, so you can continue to use that to configure your backgrounds. gnome-bg-changer will detect when the file changed and will re-parse it.

Options:
  • --version: show program's version number and exit
  • -h, --help: show this help message and exit
  • -m MINUTES, --minutes=MINUTES: Minutes between background change
  • -s SECONDS, --seconds=SECONDS: Seconds between background change
  • -r, --random: Change backgrounds randomly
  • -v, --verbose: Print extra information



Posted in: [ Scripts ] [ Python ]
[ posted 11/05/10 @ 1732 -5 GMT ] by Sparky
[ Views( 43283 ) ] - [ Coments( 0 ) ]
Usage:
  • checksums [options] FILES

checksums is a utility to verify the integrity of a file using a CRC32 checksum stored in the file name. A CRC32 checksum is an 8 character hexadecimal string. This is a common practice used by Anime sub releases.

When checking the checksum, the following file name formats are recognized:
  • ...[checksum]...
  • ...(checksum)...
  • ..._checksum_...

When appending the checksum to the file name, the bracketed (first) format is used.

Options:
  • --version: show program's version number and exit
  • -h, --help: show this help message and exit
  • -c, --check: Compute the checksum and try to match it to the file name using one of the formats listed above.
  • -a, --append: Compute the checksum and append it to the the file name, just before the file extension.
  • -v, --verbose: Print extra information


FILES is the list of files to preform the action on. This can be a single file, multiple files, or a glob if your shell supports it.

Examples:
  • checksums -a report.txt image.png *.xml
  • checksums -c *.mkv
  • checksums video-\[1004456E\].3gp



Posted in: [ Scripts ] [ Python ]
[ posted 11/03/10 @ 0142 -5 GMT ] by Sparky
[ edited 11/05/10 @ 1732 -5 GMT ] 2 in total
[ Views( 43944 ) ] - [ Coments( 0 ) ]