SourceFiles.org - Use the Source, Luke
Home | Register | News | Forums | Guide | MyLinks | Bookmark

Related Sites

Latest News
  General News
  Reviews
  Press Releases
  Software
  Hardware
  Security
  Tutorials
  Off Topic


Back to files

Authors

tzosdclock

by Greg Schenzel
based on xosd-clock (NOT osd_clock) code

by Thomas Sibley

Description

This program can display customizable clocks on the root window via OSD in any number of time zones. There are two ways to use it: A) Run the program multiple times with at least the -c, -t, and -i options B) Set up a file called ".tzlist" in your home directory, and run with "-tzl"

argument. Same file and format as tzwatch. For example, here is my file: US/Pacific "Berkeley, CA/US"
US/Mountain "Greeley, CO/US"
US/Central "New Orleans, LA/US"
US/Eastern "Chesapeake Bay, MD/US"
Europe/London "London/UK"
Europe/Amsterdam "Amsterdam/NL"

Installation

  1. Run `./configure`
  2. Run `make`
  3. Run `make install`
  4. Set up your timezones. See Description (above) and Usage (below).

Usage

NOTE: There is no need to background the process ("&"). No matter how

it is run, the actual clocks will fork() into the background.

tzosdclock [-h | -tzl | [-c city] [-t tz] [-i index]] [-fn font] [-va vert]

[-ha horz] [-tc colr] [-oc colr] [-os int] [-u secs] [-ft fmt] Main Arguments:

        -h       Help
                - OR -
        -tzl     Parse .tzlist file
                - OR -
        -c city  City for this instance. def: Local
        -t tz    Timezone. def: NULL (Local)
        -i index Index. Used for vertical spacing. def: 1
Options:
        -fn font Font identifier to be used. def: lucida console
        -va vert Either top, middle, or bottom. def: top
        -ha horz Either left, center, or right. def: left
        -tc colr Color of text. def: Green
        -oc colr Color of outline. def: Grey
        -os int  Size of outline. def: 0
        -u secs  Seconds between updates. def: 6
        -ft fmt  Time format, see strftime(3). def: %A, %e %B %Y. %R %Z


Other Sites

Discussion Groups
  Beginners
  Distributions
  Networking / Security
  Software
  PDAs

About | FAQ | Privacy | Awards | Contact
Comments to the webmaster are welcome.
Copyright 2006 Sourcefiles.org All rights reserved.