Bug 89005

Summary: please add support for external mail notification program
Product: [Unmaintained] kmail Reporter: Timo Weingärtner <timo>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED INTENTIONAL    
Severity: wishlist CC: bjoern
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Debian testing   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Timo Weingärtner 2004-09-07 15:48:22 UTC
Version:            (using KDE KDE 3.3.0)
Installed from:    Debian testing/unstable Packages
OS:                Linux

i would like to have support for an external script which turns on and off the message led on my notebook. As KMail already counts unread mails, it would be easy to call eg. "~/bin/mled <number_of_unread_messages>" in addition to or instead of the tray icon.
Comment 1 Tom Albers 2004-09-07 15:56:27 UTC
You can set up a notification via an external script when new mail arrives. Does that work for you?
Comment 2 Timo Weingärtner 2004-09-07 19:19:47 UTC
Am Dienstag, 7. September 2004 15:56 schrieb Tom Albers:
> You can set up a notification via an external script when new mail arrives.
> Does that work for you?

no, the led shall be turned off, when there are no more unread messages.

Comment 3 Tom Albers 2004-09-07 20:03:35 UTC
Maybe you could do this with a dcop call. You can look add kdcop and look for something like unreadRecursiveMessage(). You can access that on the command line as well. Maybe with some intelligent filter or button, you could manage. This would be sooner then the implementation in KMail I guess...
Comment 4 Björn Ruberg 2009-12-19 23:43:55 UTC
You can configure an external notifcation script in the notification configuration. If you really want to now when there is no unread mail anymore, you have indeed to connect via dbus (dcop replacement now) - an extra notification for that would be quite strange.