The purpose of this digital clock is to tell time while minimizing resources and real estate on the screen. If the seconds toggle is turned off, the window icon is updated each minute. Otherwise, the window icon is updated each second. The window itself is updated each second.
The window icon fits conveniently in the corner of the desktop without being intrusive. The window icon responds to keyboard commands, when the mouse touches it. Likewise, the window itself responds to keyboard commands, when the mouse touches it. See below for more information on the keyboard commands.
To start xdgtclk in X Windows, run the command:
xdgtclk &
Press s to toggle the seconds display.
Press t to toggle the time mode.
The time modes are:
Press r to reset the time in relative time mode.
Press Escape or q to quit.
xdgtclk uses the TZ variable to determine if daylight saving time is in effect. See the man page for tzset.
Example of setting TZ:
TZ=PST8PDT
In this example TZ is set for Pacific Time.
xdgtclk shows the following display:
xdgtclk shows the following display when the window is minimized:
xdgtclk sleeps every second to conserve resources on your system.
To change the font size, edit xdgtclk.mak. Change the value of the FONT compile variable.
You may also need to redefine the geometry of the screen in the source program xdgtclk.c.
The default font is the Debian font 6x12.