How to get a CLOCK on the screen
The command for displaying a clock on the screen is 'xclock'. To use it, just
type:
xclock &
The mouse pointer will change to an inverted "L" with a rectangle attached to
it, and a little box will pop up in the middle of the screen telling you the
position of the L, and the current size of the window, something like this:
(120,115)
80x24
Move the mouse pointer to where you want the upper-left corner of the new
window to be. Now, you can either hit the left mouse button or Return to
place the window, if that's the size you want. You can also hit the space
bar, which will freeze the upper left corner, and any motion you make with the
mouse will change the size of the rectangle. After you select the size you
want, hit Return or the left mouse button, and the window will appear.
Note: If your workstation's mouse only has two buttons, pressing both buttons
simultaneously has the same effect as pressing the middle button.
There are a number of different options you can use with xclock. The most
commonly used ones are:
-analog Clock with "hands", instead of digital clock.
-rv Wite on black, instead of black on white.
For example, to get an analog clock with white hands on a black background,
type:
xclock -analog -rv &
For a quick summary of all the xclock options, use the '-help' option:
xclock -help
You can set default values for any of the options in your .Xresources file.
If you want to learn more about 'xclock' and the X resources it uses, you can
read the manual page by using the 'man' command:
man xclock
|