[MacPorts] #51466: Zenity works for many commands but not for notification

MacPorts noreply at macports.org
Mon May 23 08:13:22 PDT 2016


#51466: Zenity works for many commands but not for notification
-----------------------------------+----------------------
  Reporter:  stephane.plaisance@…  |      Owner:  devans@…
      Type:  defect                |     Status:  closed
  Priority:  Normal                |  Milestone:
 Component:  ports                 |    Version:  2.3.4
Resolution:  wontfix               |   Keywords:
      Port:  zenity                |
-----------------------------------+----------------------
Changes (by devans@…):

 * status:  new => closed
 * resolution:   => wontfix


Comment:

 Currently GNOME notifications are handled via libnotify is designed allow
 a client to communicate with a compatible notification daemon which
 actually displays the notification according to the
 [https://developer.gnome.org/notification-spec/ Desktop Notifications
 Specification].  Note that the OS X notification system is not directly
 compatible with this spec and none of the compatible daemons have been
 ported to MacPorts due to various technical issues.  What would be nice
 would be a daemon that converts client requests to appropriate calls to
 the OS X system but AFAIK that doesn't exist.

 Compatible daemons include
   * notification-daemon
   * xfce4-notifyd

 In addition, gnome-shell and KDE KWin provide their own notification
 daemons.

 So your error message is saying that zenity can't find a daemon to
 communicate with.  Other GNOME applications that provide notifications are
 in the same boat.

 Bottom line is that this is not a problem with zenity itself but the lack
 of an external daemon that can accept client requests according to the
 protocol described in the spec.

 If you'd like to take a stab at porting something to fill the gap take a
 look at the [https://git.gnome.org/browse/notification-daemon git repo for
 notify-daemon].  Otherwise there's no current effort (read interest) to
 address this issue.

-- 
Ticket URL: <https://trac.macports.org/ticket/51466#comment:4>
MacPorts <https://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list