[CentOS] Re: UPS support on CentOS 4.4

Fri Dec 29 04:30:14 UTC 2006
Jim Perrin <jperrin at gmail.com>

> What I really want of course is for a visual window to popup whenever
> there are A/C problems, and whenever the A/C has lost power and the UPS
> battery is getting low.

apcupsd should already do something similar at the console. You should
get a warning in your terminal windows stating that you're on battery
and blah blah. You can simply modify  /etc/apcupsd/apccontrol so that
instead of the 'wall' it sends out, it uses gdialog or zenity, which
would give you the popup window you want.

During times of universal deceit, telling the truth becomes a revolutionary act.
George Orwell