Re: Re : Desktop Display of Website Alerts



Hi!

This is a great idea!
For example: I use irccloud.com to chat on IRC and it sends desktop notifications. Previously when on OSX, my notifications sidebar would show me all the new messages and alerts from this website (running inside Safari).

I think this would be a neat feature to have when combined with the Messages tray in GNOME 3.

Perhaps, this should have come up as GSoC project idea?

-Sindhu


On Sun, May 12, 2013 at 8:08 PM, Summers Pittman <secondsun gmail com> wrote:
Has the Gnome team thought about working with Mozilla to allow Gnome to display notifications from their SimplePush API?

http://jbalogh.me/2012/01/30/push-notifications/
https://wiki.mozilla.org/Services/Notifications/Push/API

This would allow websites to send (requested) alerts to Gnome desktops, even if the alert recipient doesn't use Firefox, or isn't currently running Firefox.

Or is there some other better way?

Mark
I'm not part of the Gnome team, but I think it might be a better idea to create some a daemon which listens for simple push and then uses dbus to communicate the notification.

Back of the napkin math looks thusly:

App is installed:
App sends a message to dbus telling the daemon to Register with a PushServer
Daemon receives an Endpoint from the Push server and sends a message via dbus
App receives an Endpoint from dbus  and sends this to the App Server

Message is Received:
Daemon receives the message and extracts the UAID
Daemon sends the message on dbus
DBus routes the message to the app based on the UAID of the message

App is uninstalled:
App sends a notification to dbus.
Dbus routes the message to the daemon
Daemon unregisters the app

App is garbage collected:
It would be reasonable for the SimplePush daemon to periodically review which apps have consumed push messages and unregister applications which haven't been used in a while.

Of course I am not a dbus guy either so my thought experiment could be completely bonkers.

_______________________________________________
gnome-list mailing list
gnome-list gnome org
https://mail.gnome.org/mailman/listinfo/gnome-list




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]