[Remind-Fans] Beginner help

Reid Thompson Reid.Thompson at ateb.com
Wed Feb 29 11:11:10 EST 2012


On Wed, 2012-02-29 at 16:31 +0100, hubert depesz lubaczewski wrote:
> On Wed, Feb 29, 2012 at 03:25:06PM +0000, Reid Thompson wrote:
> > On Wed, 2012-02-29 at 15:05 +0100, hubert depesz lubaczewski wrote:
> > note the section on popups here
> > http://www.roaringpenguin.com/wiki/index.php/Remind_use_case_1http://www.roaringpenguin.com/wiki/index.php/Remind_use_case_1
> 
> 
> I'm not sure what section you're writing about. On linked page word
> "popup" exists in two places, neither of which is section header:


2. when I run:
   remind .reminders
   to see what's on todays reminders, a process is forked off to
   background.
   I found out that if I did remind -f -q ... - there was no process
   left, but the question is: what is the point of this backend process.
   what can it do, in what cases it is useful?

I have this in my openbox autostart.sh for popup reminders
remind -z1  -k'zenity  --title "Reminder" --info --text="%s" 500x300  &' /home/rthompso/.reminders &


3. I plan to setup running remind -z in background, with some command to
   let me know about when timed events happen plus have a cronjob, that
   runs daily "remind -f -q .reminders" sending me the list for today.
   is it sane? am i missing something? how do you run automatic
   reminders?


and I have this cron'd daily for a popup of the days events
05   08  *   *   *  export DISPLAY=:0;/home/rthompso/bin/popupdailyreminders >/dev/null 2>&1
where
$ cat /home/rthompso/bin/popupdailyreminders
#!/bin/bash
zenity --info --title "today's reminders" --text="`remind -q -g ~/.reminders | sed 's/&/&/g' | awk '{if ( NF > 1 ) { if (NR == 1) { printf("%s\r%s\r%s\r\r", "", $0, "") } else { printf("%s\r%s\r%s\r\r", "******************", $0, "******************") }}}'`"


More information about the Remind-fans mailing list