Xming
Table of contents

Name

oclock - round X clock

Synopsis

oclock [ -option ... ]

Description

Oclock simply displays the current time on an analog display.

Options

-fg colour
choose a different colour for the both hands and the jewel of the clock
-bg colour
choose a different colour for the background.
-jewel colour
choose a different colour for the jewel on the clock.
-minute colour
choose a different colour for the minute hand of the clock.
-hour colour
choose a different colour 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.
-display display
specify the display to use.
-bd colour
choose a different colour for the window border.
-bw 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.
-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.
-help
prints a usage message and exits.
-version
prints version info and exits.

Colours

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

*customization: -color

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

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

Author

Keith Packard, MIT X Consortium


Table of contents

Creative Commons License
The [WWW]Xming website, documentation and images are licensed under a
[WWW]Creative Commons Attribution-NonCommercial-ShareAlike 2.0 UK: England & Wales License.
Copyright © 2005-2024 Colin Harrison All Rights Reserved