Comment 15 for bug 292585

Revision history for this message
Wojtek Krawczak (coyot-na) wrote :

Hi guys,

after I couldn't make this work, here's my dirty workaround for the problem:

* Somewhere in your home directory (for me it's ~/Programs/) create a new file, for example:

touch play_email_sound

* Edit the file with your favourite editor and put this in (replace the path of course):

#! /bin/bash
aplay /full/path/to/soundfile.wav

* Make the script executable:

chmod a+x play_email_sound

* Go to Evolution, create a new incoming mail rule, for example "Sound"

- The criteria should be something like "fits all" (don't know what the English version will say), unless you want it to play sounds only for specific accounts or senders

- The action for the rule should be "Run program" and pick your newly created script from the list (there's also a "Play sound" action, but since the Evolution one doesn't play, this one didn't work for me either)

- Save the rule and put it on the very top of the rule list

* Send a message to yourself and grab a beer until it comes in

Cheers,

Wojtek