Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

please add the ability to choose which apps can show notifications #99

Open
coffeeking opened this issue Mar 19, 2016 · 5 comments
Open

Comments

@coffeeking
Copy link

coffeeking commented Mar 19, 2016

This is another feature request. It would be neat if mate could turn application's notifications on and off, similar to gnome shell, but much more accessibly than gnome shell. I'd be willing to help implement this once my grasp of c is better.

--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/32053574-please-add-the-ability-to-choose-which-apps-can-show-notifications?utm_campaign=plugin&utm_content=tracker%2F1172660&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F1172660&utm_medium=issues&utm_source=github).
@monsta
Copy link
Contributor

monsta commented Mar 31, 2016

Interesting, I didn't know gnome shell has such a feature. So it's like a blacklist to inhibit notifications from selected apps?

@coffeeking
Copy link
Author

hi
Yup. It's a dialog with a list of apps that show notifications (I'm not
sure how this is generated) along with options to manipulate which ones
show up on the lock screen. An ability to do this in a display manager
agnostic way would be nice, but I don't underlying standards enough to
know whether this is easily doable. I suspect not or you guys would have
done it already.

monsta wrote:

Interesting, I didn't know gnome shell has such a feature. So it's
like a blacklist to inhibit notifications from selected apps?


You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub
#99 (comment)

@monsta
Copy link
Contributor

monsta commented Mar 31, 2016

Yes, currently I have no idea how to implement this, but we might try it someday 😄

@aoreucro
Copy link

I'm not specifically interested in this feature, but I may be able to provide some useful information ...

Scroll down to "org.freedesktop.Notifications.Notify":
https://developer.gnome.org/notification-spec/#commands

The first parameter is the app_name.

In dbus-monitor, this looks like this:

method call time=1482081219.099802 sender=:1.236199 -> destination=org.freedesktop.Notifications serial=18 path=/org/freedesktop/Notifications; interface=org.freedesktop.Notifications; member=Notify
   string "FileZilla"
   uint32 0
   string "filezilla"
   string "Transfers finished"
   string "All files have been successfully transferred"
   array [
   ]
   array [
      dict entry(
         string "category"
         variant             string "transfer.complete"
      )
   ]
   int32 -1

@coffeeking
Copy link
Author

coffeeking commented Dec 18, 2016 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants