My favorites | Sign in
Project Home Downloads Issues
Project Information
Members
Featured
Downloads

Compa is a Gnome Panel Applet that can display the output of any system command on the panel.
In addition it can display the output of a different command in its tooltip, and launch a different command when clicked.
Compa text style can be modified using Text Attribute Markup Language.

Installation:

1. Download, gunzip and untar
2. $ ./configure --prefix=/usr/
3. $ make
4. $ sudo make install
5. Restart Gnome
6. Add to panel

Example: clock, date, RAM/Disk free and current IP's:

Scripts in example:

echo "<span font=\"kates\" color=\"#11ff11\">`date +%H:%M`</span>"

echo "<span font=\"gelly\" color=\"#6699ff\">`date +%a`</span>"
echo "<span font=\"gelly\" color=\"#6699ff\">`date +%b\ %d`</span>"

echo "<span font=\"mintsstrong\">RF `free -m |  awk '/Mem/ {print $4}'`M</span>"
echo "<span font=\"mintsstrong\">DF `df -h | grep sda3 | cut -d ' ' -f 19`</span>"

echo "<span font=\"mintsmild\" color=\"#461850\">`ifconfig | grep -A 1 eth1 | grep inet | cut -d ' ' -f 12 | cut -d ':' -f 2`</span>"
echo "<span font=\"mintsmild\" color=\"#492950\">`ifconfig | grep -A 1 ppp0 | grep inet | cut -d ' ' -f 12 | cut -d ':' -f 2`</span>"

Note: these examples use Artwiz fonts

News:

0.98 Added padding options, added "Update now" option, fixed background color default.
0.95 Added frame options, added background color option.
0.91 Initial release.

Powered by Google Project Hosting