Spent the day yesterday looking for a decent mail notifier in Linux.
Came up with zilch.
Except maybe Poppler, but the python in vividpup is lacking a couple of
things to run it properly. Also, Poppler development is at a standstill.
Except maybe asmail, an old but well thought-out Afterstep dockapp, but
you need a valid "slit" or "harbour" to use it, and jwm certainly doesn't
have one. (pekwm does, though; and fluxbox, and Afterstep, and
WindowMaker, and surprisingly even icewm.)
In any case, here's a workaround:
Code: Select all
#!/bin/ash
# verif-courriel-2-hres.sh
# En attendant un logiciel de notification convenable !
# musher0, 16-17 juillet 2015, 13 h 23
# D'après un script de Médor inspiré d'un script de Barry Kauler.
#### set -xe
sleep 10m # To let starting apps settle down (incl. slocate).
while [ 1 ]; do
HRE="`date '+%H'`" # Check what time it is.
[ "$HRE" -gt "08" ] && [ "$HRE" -lt "17" ] && ionice -c 3 nice -n 19 defaultbrowser https://www.crawler.com/login.aspx https://www.inbox.com/login.aspx
# Check mail between 9 a.m. and 5 p.m. (working hours).
sync ; echo 3 > /proc/sys/vm/drop_caches;wait
sleep 2.33h
# Every 2 h 20 m, approx. at 9 h 10, 11 h 30, 13 h 50 and 16 h 10
# (Four times a day should be enough.)
done # set +xe
open webmail pages four times during the working day. Talk about putting
it in your face!... But we don't want to miss a contract, do we!
You can play with the hours in the conditions part of the script (line 10) to
extend or reduce them, and with the number to the right of the sleep
command (line 13) to check your mail more or less often during the day.
It's a stop-gap. If anybody can direct me to a decent email notifier
running on Linux, something of nPOPuk quality, I'm open!
BFN.
musher0