xosd-clock: a minimalistic clock for X11
WARNING: This project is no longer maintained. See
xstatbar for a maintained
xosd-clock is a simple, text-only clock for X11 that uses the
XOSD library to render
the current date/time onto the X11 root window. The format used is any
format accepted by
Not many :-)
You can specify the format used to display the time (any string acceptable in
strftime(3) will do) and how often to update the display.
Additionally it supports basic positioning (x/y offsets and alignment),
color/font specification, and shadowing.
Click here to see a simple screenshot (warning: the file is big... scaling it
down distorts the clock).
Note that the clock is in the upper-right corner of the screen, in cyan.
That clock is generated by the following command in my .xinitrc file
/usr/local/bin/xosd-clock -x -1 -y 0 -c cyan -s 1 -b black &
In this screenshot, you'll notice my
program in the top-left of the screen and my
program in the lower-right corner.
First, make sure you have the XOSD library installed on your system.
Most operating systems have easily installable package for this.
Then download the file below and simply
- tar xvzf xosd-clock.tar.gz
- cd xosd-clock
- make install
Type make uninstall, or simply remove the program and man-page,
which are by default installed as
See the man page here: xosd-clock(1).
Copyright (c) 2004 Ryan Flannery <email@example.com>