Conversation
... required for linuxmint/cinnamon#13598
|
In the past, I've thought about how an implementation for this might go... this is good for most (well-behaved) apps, but there will be some that don't have a predictable id that can be used... these would be caught in the messageTray - if they're not known, you could add a schema for it and populate it with the defaults. Next time the user went into notification settings it would be there, and further notifications from that source could be turned off. Maybe they'd be better off in their own section also. Something to look at maybe... maybe it's not as much of a concern as I think any more. I haven't had a chance to try this but I'll attach a Claude code review for now: |
You mean sources not associated with a known app? This would be quite complicated I think. Perhaps we should wait to see how common a problem this is before deciding if it needs implementing? Thanks for the claude review.
Fixed. Turns out cinnamenu was adding
Fixed. Added a cache for the per app Gio.Settings.
I don't think this is necessary. Users are more likely to check their per app notification settings than look in .xsession-errors.
Good suggestion. Comment added.
Not required. Gio.AppInfo doesn't add ":flatpak" to app_ids.
Fixed. |
requires: linuxmint/cinnamon-desktop#266
Notes:
The new schema and key names were chosen for no other reason than that correspond to the names used by GNOME (org.gnome. ...).
When editing the per app notifications in dconf-editor, it says "Keys not defined by a schema". This is because gsettings does not associate relocatable schemas with a path. This is not a problem and I only mention it in case anyone wonders why this isn't the case for GNOME's equivalent relocatable schemas. This is because GNOME's are hard coded into dconf-editor.