From: wmorgan-sup@masanjin.net (William Morgan)
Subject: [sup-talk] Notification tools
Date: Wed, 13 May 2009 11:54:53 -0700 [thread overview]
Message-ID: <1242239740-sup-8633@entry> (raw)
In-Reply-To: <1242213878-sup-4217@ptoseis>
Reformatted excerpts from Henri Ducrocq's message of 2009-05-13:
> (First of alli: Thanks William for that very gorgeous piece of
> software!)
Glad you find it useful!
> I would like to use mail-notification (or an equivalent) to display
> the status of my inbox in my system tray, I mean the number of unread
> emails. But of course that program isn't aware of what messages have
> been read inside sup.
Sounds great. I'd love to have that too.
> What can I do to fix this? I thought about having the after-poll hook
> dump all new messages into a dummy mbox file, which would be monitored
> by mail-notification.. But there must be a simpler way?
Having now read the mail-notification manpage... the problem is
mail-notification. It should provide a way for other apps to signal a
notification (the whole Unix philosophy of decomposability, etc.) but it
does not.
Periodically dumping all new messages into a dummy mbox file is a
terrible idea, but I think that's your only Sup-specific option.
Patching mail-notification is a better idea, though that may not be what
you want to hear.
If you're using a recent Gnome, you have some other options. If you're
running notification-daemon (e.g. Ubuntu 9.04), you can install the
libnotify-bin package and having the after-poll hook call notify-bin on
new email. (Not quite the same.) You can also look at the
indicator-applet: libindicate also has Python bindings, so you could
install python-indicate and write a python short program to use that.
--
William <wmorgan-sup at masanjin.net>
next prev parent reply other threads:[~2009-05-13 18:54 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-05-13 11:37 Henri Ducrocq
2009-05-13 18:54 ` William Morgan [this message]
[not found] ` <391beaa80905131723k4b59090bi5bd541d97d1a75f2@mail.gmail.com>
[not found] ` <1242261120-sup-2999@cabinet>
2009-05-14 1:52 ` William Morgan
[not found] ` <1242273707-sup-1213@cabinet>
2009-05-14 8:37 ` Marcus Williams
[not found] ` <1242331711-sup-4976@cabinet>
2009-05-15 12:41 ` David Guibert
2009-05-17 19:23 ` Henri Ducrocq
2009-05-18 18:44 ` William Morgan
2009-05-18 20:03 ` Henri Ducrocq
2009-05-18 18:31 ` William Morgan
2009-05-14 13:04 ` Nicolas Pouillard
2009-05-15 21:22 Henri Ducrocq
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1242239740-sup-8633@entry \
--to=wmorgan-sup@masanjin.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox