1. NAME▲

oclock - round X clock

2. SYNOPSIS ▲

oclock [-option ... ]

3. DESCRIPTION ▲

Oclocksimply displays the current time on an analog display.

4. OPTIONS ▲

-fg \fIcolor\fB
        choose a different color for the both hands and the jewel of the clock

-bg \fIcolor\fB
        choose a different color for the background.

-jewel \fIcolor\fB
        choose a different color for the jewel on the clock.

-minute \fIcolor\fB
        choose a different color for the minute hand of the clock.

-hour \fIcolor\fB
        choose a different color for the hour hand of the clock.

-backing \fI{ WhenMapped Always NotUseful }\fB
        selects an appropriate level of backing store.

-geometry \fIgeometry\fB
        define the initial window geometry; see X(7).

-display \fIdisplay\fB
        specify the display to use; see X(7).

-bd \fIcolor\fB
        choose a different color for the window border.

-bw \fIwidth\fB
        choose a different width for the window border. As the Clock widget changes its border around quite a bit, this is most usefully set to zero.

-shape

        causes the clock to use the Shape extension to create an oval window. This is the default unless the shapeWindow resource is set to false.

-noshape

        causes the clock to not reshape itself and ancestors to exactly fit the outline of the clock.

-transparent

        causes the clock to consist only of the jewel, the hands, and the border.

5. COLORS ▲

If you would like your clock to be viewable in color, include the following in the #ifdef COLOR section you read with xrdb:

*customization: -color


This will cause oclock to pick up the colors in the app-defaults color customization file: /usr/lib/X11/app-defaults/Clock-color. Below are the default colors:

Clock*Background: grey
Clock*BorderColor: light blue
Clock*hour: yellow
Clock*jewel: yellow
Clock*minute: yellow

6. SEE ALSO ▲

X(7), X Toolkit documentation

7. AUTHOR ▲

Keith Packard, MIT X Consortium