View Full Version : [Help]How to catch notification

October 27th, 2011, 05:10 PM
Hello everybody !

I'm currently developping a python driver for the AlienFX device of Aleinware computers (I know there is AlienFX lite, but his creator stoped developping it and I felt like creating a python one, instead of using the C++ / Java one, which is going to make it easier for people to mofify it ect.

Anyway, I'm looking for a way to catch the notifcation that notification-daemon is sending so that I can bind function regarding some keywords, or anything.

For example if I receive a mail, I have a notification : "New mail"
I want to be able to make my LED blink red for 5 sec at that notification.

To do so I need to catch the notification that the daemon is sending.

Any idea how ?