Let your chest to speak, as in the old movies
This is pretty geeky, but maybe even like it for that very reason. No film in the 60s, 70s and 80s in which a computer has occurred, it has failed to pay for a voice of the box. These were mostly (except of course when Übervisonär Kubrick) rather robotically. Would not it be great if our computer would annoy us all day in the Robo-style? You can! But it may even be quite useful if one uses the chatter and talk discreetly interesting things as speech can.
Here we go:
One needs first and foremost a software for speech output. "Espeak" is suitable for the purpose quite well. 80-Robo-style and well-configured.
sudo apt-get install espeak
To automate the readers I've decided to "swatch". Swatch is a program that is reading, and logs live in locating specific search patterns, an external program starts - espeak in our case.
sudo apt-get install swatch
Now everything is installed to a first Laber task to create.
The box (a server) to speak, when new mail arrives.
I was using SpamAssassin to filter my mail. That's why I get such a line in / var / log / mail.log. And each time, when new mail arrives:
# / Var / log / mail.log May 03 16:34:04 spamd star [13 365]: spamd: clean message (-2.4/0.5) for mailbox: 1001 in 1.9 seconds, 7128 bytes.
Now it is time to teach swatch on what to see to it:
# / Etc / swatch / ham watchfor / clean / message exec "espeak new_mail &"
Now you simply have the Swatch daemon can be started:
/ Usr / bin / swatch - daemon - config-file = / etc / swatch / ham - tail-file = / var / log / mail.log
Quite simple. But the possibilities are endless. Everything is logged, it can be spoken. Now you have to make all the tools at hand to a box to an absolutely annoying Laber pocket. Have fun!
