Christoph Blank wrote:

> Sorry I forgot that, I'm using wyrd as a frontend.
> And the daemon issues gxmessage notifications, so they stay on the
> screen.

OK, so you want the system to somehow magically know whether or not
you're at your computer?

If you use xscreensaver to lock your screen when you are away, make a
shell script something like this:

#=============================================
#!/bin/sh

# Do nothing if screensaver is on
xscreensaver-command -cycle > /dev/null 2>&1 || exit 0

# Otherwise, issue the message
exec gxmessage "$@"
#=============================================

and then invoke that script (instead of gxmessage directly) to pop up
your reminders.  If you don't use xscreensaver, you need to figure out
how to tell if the screen is locked on your system.

Regards,

David.
_______________________________________________
Remind-fans mailing list
[email protected]
http://lists.whatexit.org/mailman/listinfo/remind-fans

Reply via email to