| 1 |
.\" Copyright 1989, 1998 The Open Group |
| 2 |
.\" |
| 3 |
.\" Permission to use, copy, modify, distribute, and sell this software and its |
| 4 |
.\" documentation for any purpose is hereby granted without fee, provided that |
| 5 |
.\" the above copyright notice appear in all copies and that both that |
| 6 |
.\" copyright notice and this permission notice appear in supporting |
| 7 |
.\" documentation. |
| 8 |
.\" |
| 9 |
.\" The above copyright notice and this permission notice shall be included |
| 10 |
.\" in all copies or substantial portions of the Software. |
| 11 |
.\" |
| 12 |
.\" THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS |
| 13 |
.\" OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF |
| 14 |
.\" MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. |
| 15 |
.\" IN NO EVENT SHALL THE OPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR |
| 16 |
.\" OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, |
| 17 |
.\" ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR |
| 18 |
.\" OTHER DEALINGS IN THE SOFTWARE. |
| 19 |
.\" |
| 20 |
.\" Except as contained in this notice, the name of The Open Group shall |
| 21 |
.\" not be used in advertising or otherwise to promote the sale, use or |
| 22 |
.\" other dealings in this Software without prior written authorization |
| 23 |
.\" from The Open Group. |
| 24 |
.\" |
| 25 |
.\" |
| 26 |
.TH OCLOCK 1 "oclock 1.0.5" "X Version 11" |
| 27 |
.SH NAME |
| 28 |
oclock \- round X clock |
| 29 |
.SH SYNOPSIS |
| 30 |
.B oclock |
| 31 |
[\-option ... ] |
| 32 |
.SH DESCRIPTION |
| 33 |
.I Oclock |
| 34 |
simply displays the current time on an analog display. |
| 35 |
.SH OPTIONS |
| 36 |
.TP 8 |
| 37 |
.B \-fg \fIcolor\fB |
| 38 |
choose a different color for the both hands and the jewel of the clock |
| 39 |
.TP 8 |
| 40 |
.B \-bg \fIcolor\fB |
| 41 |
choose a different color for the background. |
| 42 |
.TP 8 |
| 43 |
.B \-jewel \fIcolor\fB |
| 44 |
choose a different color for the jewel on the clock. |
| 45 |
.TP 8 |
| 46 |
.B \-minute \fIcolor\fB |
| 47 |
choose a different color for the minute hand of the clock. |
| 48 |
.TP 8 |
| 49 |
.B \-hour \fIcolor\fB |
| 50 |
choose a different color for the hour hand of the clock. |
| 51 |
.TP 8 |
| 52 |
.B \-backing \fI{ WhenMapped Always NotUseful }\fB |
| 53 |
selects an appropriate level of backing store. |
| 54 |
.TP 8 |
| 55 |
.B \-geometry \fIgeometry\fB |
| 56 |
define the initial window geometry; see \fIX(7)\fP. |
| 57 |
.TP 8 |
| 58 |
.B \-display \fIdisplay\fB |
| 59 |
specify the display to use; see \fIX(7)\fP. |
| 60 |
.TP 8 |
| 61 |
.B \-bd \fIcolor\fB |
| 62 |
choose a different color for the window border. |
| 63 |
.TP 8 |
| 64 |
.B \-bw \fIwidth\fB |
| 65 |
choose a different width for the window border. As the Clock widget changes |
| 66 |
its border around quite a bit, this is most usefully set to zero. |
| 67 |
.TP 8 |
| 68 |
.B \-shape |
| 69 |
causes the clock to use the Shape extension to create an oval window. |
| 70 |
This is the default unless the shapeWindow resource is set to false. |
| 71 |
.TP 8 |
| 72 |
.B \-noshape |
| 73 |
causes the clock to not reshape itself and ancestors to exactly |
| 74 |
fit the outline of the clock. |
| 75 |
.TP 8 |
| 76 |
.B \-transparent |
| 77 |
causes the clock to consist only of the jewel, the hands, and the border. |
| 78 |
.SH COLORS |
| 79 |
If you would like your clock to be viewable in color, include the following |
| 80 |
in the #ifdef COLOR section you read with xrdb: |
| 81 |
.sp 1 |
| 82 |
*customization: -color |
| 83 |
.sp 1 |
| 84 |
.br |
| 85 |
This will cause oclock to pick up the colors in the app-defaults color |
| 86 |
customization file: |
| 87 |
/usr/lib/X11/app-defaults/Clock-color. |
| 88 |
Below are the default colors: |
| 89 |
.sp 1 |
| 90 |
Clock*Background: grey |
| 91 |
.br |
| 92 |
Clock*BorderColor: light blue |
| 93 |
.br |
| 94 |
Clock*hour: yellow |
| 95 |
.br |
| 96 |
Clock*jewel: yellow |
| 97 |
.br |
| 98 |
Clock*minute: yellow |
| 99 |
.SH "SEE ALSO" |
| 100 |
X(7), X Toolkit documentation |
| 101 |
.SH AUTHOR |
| 102 |
Keith Packard, MIT X Consortium |