Index of /afterstep/download/asapm
Name Last modified Size Description
Parent Directory 26-Aug-2009 16:01 -
CHANGES 29-Jan-2010 23:55 8k
NOTE-UPS 29-Jan-2010 23:54 1k
UPS-asapm-2.10-patch.gz 29-Jan-2010 23:55 12k
asapm-2.10.tar.gz 29-Jan-2010 23:55 50k
asapm-2.10.tar.gz.asc 29-Jan-2010 23:55 1k
asapm-2.11.tar.gz 29-Jan-2010 23:55 57k
asapm-2.11.tar.gz.asc 29-Jan-2010 23:55 1k
asapm-2.12.tar.gz 29-Jan-2010 23:55 58k
asapm-2.12.tar.gz.asc 29-Jan-2010 23:55 1k
asapm-2.13.tar.gz 29-Jan-2010 23:55 58k
asapm-2.13.tar.gz.asc 29-Jan-2010 23:55 1k
asapm-2.3.tar.gz 29-Jan-2010 23:55 48k
asapm-2.3.tar.gz.asc 29-Jan-2010 23:55 1k
asapm-2.4.tar.gz 29-Jan-2010 23:55 49k
asapm-2.4.tar.gz.asc 29-Jan-2010 23:55 1k
asapm-2.5.tar.gz 29-Jan-2010 23:55 49k
asapm-2.5.tar.gz.asc 29-Jan-2010 23:55 1k
asapm-2.6.tar.gz 29-Jan-2010 23:55 49k
asapm-2.6.tar.gz.asc 29-Jan-2010 23:55 1k
asapm-2.7.tar.gz 29-Jan-2010 23:55 49k
asapm-2.7.tar.gz.asc 29-Jan-2010 23:55 1k
asapm-2.8.tar.gz 29-Jan-2010 23:55 49k
asapm-2.8.tar.gz.asc 29-Jan-2010 23:55 1k
asapm-2.9.tar.gz 29-Jan-2010 23:55 50k
asapm-2.9.tar.gz.asc 29-Jan-2010 23:55 1k
asapm-3.0.tar.gz 29-Jan-2010 23:55 60k
asapm-3.0.tar.gz.asc 29-Jan-2010 23:55 1k
asapm-3.1.tar.gz 29-Jan-2010 23:55 62k
asapm-3.1.tar.gz.asc 29-Jan-2010 23:55 1k
asapm is Power Management (APM / ACPI) monitor utility for X Windows
Copyright (c) 1998-2005 Albert "Tigr" Dorofeev <email@example.com>
For the updates check http://www.tigr.net/
This is an AfterStep look & feel Power Management (APM and ACPI)
monitor for laptops and notebook PCs running Linux or
FreeBSD/NetBSD/OpenBSD and X Windows.
I have a laptop myself and I ran xapm when I used fvwm window
manager. Then I switched over to AfterStep which looks really
beautiful. (see http://www.afterstep.org/). I wanted some
nice applet to put it in my Wharf. Well, to make the story
short, I did not find any that I liked. The best bet was then
to write my own. So, I just grabbed a X book and tried.
The interface evolved with the time and I am finally beginning
to like the way it looks. I may stop writing new versions for
a while now. Let me know if there are any neat options you'd
like to see though.
Basically, the tool shows you the following:
- The bar-like indicator of the charge left in the battery
which appears on the left side and is battery-shaped.
The bottom part shows the charge left in the battery.
The colors may be customized.
- The top line works as a pair of indicators. You see there
a battery outline which is "green" when the battery status
is high, "yellow" when the battery status is low, and
"red" when the battery status is critical. The colors may
be customized. The definition of the high, low, critical
status may be mine :-) or APM daemon's - you can choose.
The AC plug outline is black while you run the computer
on the battery and it turns "green" when your computer
is connected to the mains. The AC plug turns to red
while the battery is charging.
- The second line is the charge left in the battery in percent.
If the APM daemon does not return a good value for it, the
display is disabled.
- The third line is the estimate of the time left before the
complete discharge of the battery. This estimate is either
provided by the APM daemon or is calculated by this tool
itself. When there is no estimate available the display is
disabled. When using ACPI and charging the battery, this
display may show how long it is left until full charge.
The tool parses the resource files if such are available and you
can specify certain commands to be executed in reaction to certain
APM events. For example, you may use hdparm (8) to change the
timeouts for the hard disk spin-down when you switch to/from the
AC power. Just be careful with that tool, okay? You can also
ask asapm to suspend the computer when the power reaches down to,
say, 10% (use apm (1)) in case you forget to shut down your computer
and go to sleep (talking from my own experience here :-).
The default location for the resource file ~/.asapmrc (what
a surprise!) and can be changed with -rc option.
Actually, there are more customization options then I personally want.
There are tons of them. Check the man page for the details
(nroff -man asapm.man | more) or run asapm -h for a brief description.
The syntax of the asapm resource file is described in there too.
The program may be used directly or in the Afterstep "wharf". It also
supports the WindowMaker docker (-withdrawn option). It may be used
in all other window managers as well. I tried it with fvwm2 and it looks
quite nice sitting in a corner as an icon.
You may want to have a look in the CHANGES file for the history of updates.
Great many thanks to
Jim Knoble <firstname.lastname@example.org>
Brett Taylor <email@example.com>
Brian Handy <firstname.lastname@example.org>
John Schweitzer <email@example.com>
Dagmar d'Surreal <firstname.lastname@example.org>
Johnny C. Lam <email@example.com>
Brian Joseph Czapiga (Joe) <firstname.lastname@example.org>
Avatar Tai-hwa Liang <email@example.com>
Robert Clare <firstname.lastname@example.org>
Stephen Crane <email@example.com>
Bernd Sieker <firstname.lastname@example.org>
for their bright ideas, new features, improved looks, testing,
patches and moral support!
The original inspiration from the apmx tool by Jeff Chua <email@example.com>.
There is some code taken from his source - the "/proc/apm" access.
The code for FreeBSD APM device access comes from apm tool by
Tatsumi Hosokawa <hosokawa@jp.FreeBSD.org>.
The ideas for the digits on the screen come from asclock by
Beat Christen <firstname.lastname@example.org> and wmapm by
Chris D. Faulhaber <email@example.com>.
The application and the source code are under GPL. See LICENSE
file for details.
Naturally, I would like to hear of all changes and improvements
made to this utility.
Enjoy and may the source be with you,