! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
[Proof of concept patch] Quiet mode
Status:
RESOLVED: FIXED
Severity:
enhancement
Product:
Xfce4-notifyd
Component:
general

Comments

Description Philipp Specht 2011-10-24 23:27:58 CEST
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.
Comment 1 Raphael Groner 2013-05-07 15:01:06 CEST
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.
Comment 2 woob 2016-06-03 02:46:03 CEST
Would love to see this feature, perhaps able to be toggled using a tray icon, from which missed notifications could also be shown.
Comment 3 Simon Steinbeiss editbugs 2016-07-02 01:49:18 CEST
I have re-implemented a very basic version of the "Do not disturb" (or quiet) mode in my branch here:
http://git.xfce.org/users/ochosi/xfce4-notifyd

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).
Comment 4 Simon Steinbeiss editbugs 2016-10-03 23:25:24 CEST
*** Bug 10370 has been marked as a duplicate of this bug. ***
Comment 5 Simon Steinbeiss editbugs 2016-10-03 23:37:25 CEST
I have pushed a "do not disturb" feature on the global and on an application level to master.
Comment 6 Simon Steinbeiss editbugs 2016-11-09 23:27:31 CET
Fixed in 0.3.4

Bug #8069

Reported by:
Philipp Specht
Reported on: 2011-10-24
Last modified on: 2016-11-09
Duplicates (1):

People

Assignee:
Simon Steinbeiss
CC List:
4 users

Version

Attachments

Patch against xfce4-notifyd 0.2.2-1, adding a basic quiet mode (11.36 KB, application/octet-stream)
2011-10-24 23:27 CEST , Philipp Specht
no flags

Additional information