[Lubuntu] Capture "wall" messages for display on desktop?

Jonathan Marsden jmarsden at fastmail.fm
Sat Oct 27 05:36:16 UTC 2012


John,

On 10/26/2012 04:52 PM, John Hupp wrote:

> The only problem is that it only posts warning messages to the
> wall command, which outputs only to console sessions.  ...

In my experience, apcupsd is a *lot* more configurable than that -- did
you read its documentation or its scripts before posting?

You can create scripts for each class of event (onbattery, offbattery,
etc.) handled by /etc/apcupsd/apccontrol that do *whatever* you want
them to do -- turn the message into audio and speak it using a speech
synth, if you really want :)

You don't even need to edit /etc/apcupsd/apccontrol to do this, it will
notice that your custom scripts exist, and use them instead of its
internal default actions.

Jonathan




More information about the Lubuntu-users mailing list