Take the 2-minute tour ×  I am attempting to filter every
notification through espeak. However, I can't seem to find a way
to get the notification body from a python script, or even what
signal_name to listen to.   Trying to google for this only seems
to yield results involving creating new notifications, so I am
completely lost now.  Anyone can help me with this?  In short,
what I want is to listen for incoming notifications using
python, and obtaining the "body" attribute of the notification.
share|improve this question It seems a notification doesn't
produce a signal i.e., dbus-monitor
"type='signal',interface='org.freedesktop.Notifications'" shows
nothing but dbus-monitor
"interface='org.freedesktop.Notifications'" shows notifications
(type is 'method_call' not 'signal'). –  J.F. Sebastian Sep 7
'12 at 21:34 add comment  1 Answer  By notifications you mean
the "OSD bubbles" that some software sends, like changing
volume, IM chat, etc? You want to create a python program to
capture those?  Well, Ask Ubunt