Compilation Instructions

The code can be found here: https://codeberg.org/x11cp/x11cp.git

git clone https://codeberg.org/x11cp/x11cp.git && cd x11cp/src/xarclock

Direct compilation

To compile this application, the following command should be used:

xmkmf -a && make

Toplevel Makefile

There is also a wrapper command in the top-level `Makefile` of the repository where this is can be run as:

make xarclock

The following libraries/dependencies are also required. The names of these will vary from each Linux distribution/BSD, hence the names of these libraries are generically specified:


xarclock tells the time, similar to xclock.

From the README file:

If clocks had been invented in Argentina (southern hemisphere),  they would
run anti-clockwise. Down there a sundial runs the other way around!

The program is an extension of the standard X clock widget.  New features are:
Configurable direction of rotation and font support in analog mode.

Below are screenshots showing a clock with roman numerals going clockwise, and a different clock showing the time going anti-clockwise.

You can also change the colours of the hands and render the clock in reverse colour (think b&w displays).