Go to main content

man pages section 1: User Commands

Exit Print View

Updated: Wednesday, July 27, 2022
 
 

oclock (1)

Name

oclock - round X clock

Synopsis

oclock [-option ... ]

Description

OCLOCK(1)                   General Commands Manual                  OCLOCK(1)



NAME
       oclock - round X clock

SYNOPSIS
       oclock [-option ... ]

DESCRIPTION
       Oclock simply displays the current time on an analog display.

OPTIONS
       -fg color
               choose  a  different  color for the both hands and the jewel of
               the clock

       -bg color
               choose a different color for the background.

       -jewel color
               choose a different color for the jewel on the clock.

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

       -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 X(7).

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

       -bd color
               choose a different color 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 use-
               fully 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.

COLORS
       If you would like your clock to be viewable in color, include the  fol-
       lowing 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


ATTRIBUTES
       See attributes(7) for descriptions of the following attributes:


       +---------------+------------------+
       |ATTRIBUTE TYPE | ATTRIBUTE VALUE  |
       +---------------+------------------+
       |Availability   | x11/oclock       |
       +---------------+------------------+
       |Stability      | Volatile         |
       +---------------+------------------+

SEE ALSO
       X(7), X Toolkit documentation

AUTHOR
       Keith Packard, MIT X Consortium



NOTES
       Source  code  for open source software components in Oracle Solaris can
       be found at https://www.oracle.com/downloads/opensource/solaris-source-
       code-downloads.html.

       This     software     was    built    from    source    available    at
       https://github.com/oracle/solaris-userland.   The  original   community
       source   was   downloaded   from    https://www.x.org/releases/individ-
       ual/app/oclock-1.0.4.tar.bz2.

       Further information about this software can be found on the open source
       community website at https://www.x.org.



X Version 11                     oclock 1.0.4                        OCLOCK(1)