default-settings icon indicating copy to clipboard operation
default-settings copied to clipboard

Turn off "Other" notifications by default in Juno

Open cassidyjames opened this issue 8 years ago • 4 comments

We want to encourage apps to use the notifications API properly with the freedesktop ID and everything. In Loki, we grouped all non-compliant apps together under "Other" in the Notifications plug. In Juno, I think we should turn those notifications off by default.

This means that out of the box:

  1. Apps using the API properly work as expected.
  2. Apps not using the API properly can update to use the API properly to get notifications back on by default.
  3. Apps not using the API that don't update can still be opted into by the user by switching on "Other"

cassidyjames avatar Dec 13 '17 17:12 cassidyjames

Something kind of annoying that I noticed about this is that some apps (like Slack and Mumble) send notification sounds themselves instead of using the notifications server. This means that bubbles can be disabled, but notification sounds cannot.

danirabbit avatar Dec 28 '17 18:12 danirabbit

It looks like Corentin's patch was merged into Electron so that those apps should identify themselves correctly in the future: https://github.com/electron/electron/blob/master/brightray/browser/linux/libnotify_notification.cc#L127

danirabbit avatar Apr 26 '18 22:04 danirabbit

This was not fixed by patching the OS settings, as there is not a schema defined for that key; the Notifications plug creates it on the fly. I think we'll have to define the schema for gala-other in the build system for Gala itself instead.

cassidyjames avatar Sep 26 '18 17:09 cassidyjames

Should this be closed? Does this mean Juno release is close? :D

BNolet avatar Sep 27 '18 22:09 BNolet