How to turn off Libnotify notifications only when sound is in muted state?

Posted by Michael Butler on Ask Ubuntu See other posts from Ask Ubuntu or by Michael Butler
Published on 2013-03-18T15:08:01Z Indexed on 2014/05/30 3:53 UTC
Read the original article Hit count: 296

Filed under:
|

I have a multimedia keyboard that allows me to easily mute the sound (Ubuntu 12.04). It would be nice to "link" this to also turn off libnotify messages that pop-up in the top right corner (i.e. Pidgin messages).

So when Ubuntu is muted, no libnotify messages would pop up. When not muted, messages show as normal.

Is this possible with a script of some kind or would it require changing source code?

© Ask Ubuntu or respective owner

Related posts about sound

Related posts about libnotify