How to play a sound with gmail-notify when email arrives ?
With X, with the gmail-notify http://gmail-notify.sourceforge.net/download.php or any alternative
thank you |
What sort of notifier is it? Is it a Firefox add on or a separate tool in the system tray? For example, I use the add on Gmail Manager - there is a place in the preferences for me to have it play a sound when I get a mail.
|
Quote:
http://gmail-notify.sourceforge.net/download.php Or anything else would be interesting. How do you do that ? |
Nice app - I haven't used it so can't be of much help with the innards of it. I use Gmail Manager - the Firefox add on. It allows me to monitor multiple accounts and other things.
|
I have found we have to go into :
Code:
/usr/lib/gmail-notify$ execp () or system () I tried but i cannot make it ... RFM Code:
play /usr/share/gnubiff/coin.wav |
I have it working...
This is what I did. You need to install mplayer (or some other command-line audio player). I'm sure there are better ways to do this, but my way will get you any customized sound you want very quickly.
Install mplayer and put this line inside the show_popup(self) function in notifier.py Code:
os.system("mplayer /home/dave/Music/sounds/Yeeeah\!.mp3") |
Quote:
I have made mutt + mbsmtp + fetchmail working... it is possible to make it with fetchmail -rk or something like that... and a sleep function you would like the files? I had no time to code this script. There is so much to do for LINUX, so much lack of useful bash scripts |
All times are GMT -5. The time now is 03:21 PM. |