Jim Perrin wrote: >> 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. Thanks for the tip about changing apccontrol appropriately.