These applications are just little programs in one single .c file
each. I created them to have a
nice XDM login :
you can see in that 800x600 image, the use of xclock,
sysmails and 3 uses of banner which displays
exether, but also Arrêter (halt), Redémarrer
(reboot) and Suspendre (suspend).
In order to make them work, you need to compile them. This is done
with the next command, replacing file (.c or not) by the
name of the source file you downloaded (sysmails.c or
banner.c) :
gcc -Wall -O2 file.c -I/usr/X11R6/include -L/usr/X11R6/lib -lX11 -o file
SysMails is my 2nd try in X11 programming. It's an application
that displays a title (New Mails by default) and a list
of users with their new mails count (0 in green, >0
in red). It as a lot of options and a configuration file (not
moveable for now, in /etc)
Here are the files :
Banner is my last try in X11 programming. It is based (not the
source code, but the look) on xbanner which was too big and too
much complicated for my old laptop. It can display text with the
font you want, and the colors (foreground and background) you
want. But it can also attach a command to that text and act as
a button (with athena widgets' look) to launch that command.
Here is the source code.
digitalclock is a little digital clock application that displays a clock on the root window. The date can also be displayed. Used in conjunction with the snapf font, it's very nice. You can see a screenshot of what it gives, and the source code is here.
analogclock is a little analog clock application that displays a clock on the root window. The source code is here. See screenshot below.
binaryclock is the binary version of the above program. There is a screenshot of what it gives, and the source code is here.
It is needed for all following rootapps. Download the source code. Here is a screenshot of all the rootapps I made.
rootclock is a little clock application that displays a clock on the root window. It can also display the date, but the major feature is that it has the 3 display modes of the previous clocks : digital, analogic and binary. Used in conjunction with the snapf font, it's the perfect killer app. You can switch display mode in runtime by using SIGUSR1 and SIGUSR2... The source code is here. Together with the screenshot of digitalclock above (but without the date), here are a screenshot with the analog style and another with the binary style.
rootcpu displays a cpu monitor in 2 modes : oscilloscope (the cursor scans the graph-box, and erase the previous graph as it passes over the box), and cardioscope (the graph scrolls horizontaly). The source code is here.
rootmem displays a memory monitor. The source code is here.
rootapm displays a battery monitor. The source code is here.
Thomas Nemeth :![]() |
![]() |
Page modified june 12, 2004
|