[Go to CFHT Home Page] Man Pages
Back to Software Index  BORDER=0Manpage Top Level
    oclock(1) manual page Table of Contents

Name

oclock - display time of day

Synopsis

oclock [ -options... ]

Description

Oclock simply displays the current time on an analog display

Options

-fg foreground color
choose a different color for the both hands and the jewel of the clock
-bg background color
choose a different color for the background.
-jewel jewel color
choose a different color for the jewel on the clock.
-minute minute color
choose a different color for the minute hand of the clock.
-hour hour color
choose a different color for the hour hand of the clock.
-backing WhenMapped | Always | NotUseful
selects an appropriate level of backing store.
-geometry geometry
define the initial window geometry; see X11(7) .
-display display
specify the display to use; see X11(7) .
-bd border color
choose a different color for the window border.
-bw border width
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.
-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.

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/openwin/lib/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

See Also

X11(7) , X Toolkit documentation

Copyright

Copyright 1989, Massachusetts Institute of Technology.
See X11(7) for a full statement of rights and permissions.

Author

Keith Packard, MIT X Consortium


Table of Contents