xosd-clock: a minimalistic clock for X11
Description
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
strftime(3).
Features
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.
Screenshots
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 &
Shameless plug...
In this screenshot, you'll notice my
xosd-systat
program in the top-left of the screen and my
xosd-battery
program in the lower-right corner.
Documentation
- Installation
-
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
Uninstallation
-
Type make uninstall, or simply remove the program and man-page,
which are by default installed as
- /usr/local/bin/xosd-clock
- /usr/local/man/man1/xosd-clock.1
- Usage
-
See the man page here: xosd-clock(1).
Download
Here:
xosd-clock.tar.gz.
Copyright (c) 2004 Ryan Flannery <ryan.flannery@gmail.com>
|