Created attachment 3918
Patch against xfce4-notifyd 0.2.2-1, adding a basic quiet mode
As has been proposed in bug 7437, comment 1 and bug 5806, I felt a quiet mode disabling all (possibly but the most essential) notifications would be useful. I've created a very basic patch implementing a check for an xfconf property before displaying a notification. I realise the code is trivial, but attached it anyway in case anyone feels like using it. Before doing so, the xconf property xfce4-notifyd/dnd (type bool) has to be created manually. Please consider this more of a proof of concept kind of patch.
What about an ignore feature for some of the notifications? Maybe by a pattern or only dedicated visuals allowed. Some of the notifications are only annoying and not helpful.
Would love to see this feature, perhaps able to be toggled using a tray icon, from which missed notifications could also be shown.
I have re-implemented a very basic version of the "Do not disturb" (or quiet) mode in my branch here:
Feel free to give it a spin.
Currently the "missed" notifications are logged to xfconf as reference implementation, but this should likely be redone for a panel plugin (rc file or dbus).
*** Bug 10370 has been marked as a duplicate of this bug. ***
I have pushed a "do not disturb" feature on the global and on an application level to master.
Fixed in 0.3.4