Bug 10204 - Overload Notify method to allow calling from dbus-send
Summary: Overload Notify method to allow calling from dbus-send
Status: NEW
Alias: None
Product: Galago
Classification: Unclassified
Component: notification-daemon (show other bugs)
Version: unspecified
Hardware: All All
: medium enhancement
Assignee: Christian Hammond
QA Contact:
Depends on:
Reported: 2007-03-06 16:28 UTC by Stuart Langridge
Modified: 2013-03-26 07:59 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Description Stuart Langridge 2007-03-06 16:28:58 UTC
It would be very useful if the Notify D-Bus method for the notification-daemon was overloaded to allow it to be called with fewer parameters. At the moment you must pass all parameters, including an actions ARRAY and a hints DICT. The dbus-send command-line utility can't handle array and dict parameters, which means that it's not possible to call Notify using dbus-send. The notify-send program only requires a summary and can optionally take a body: providing an overloaded Notify that can take just summary, body, expire-time, icon (indeed, all STRING and INT32 parameters) would let dbus-send call it.

I could use notify-send itself to do the call (I'd like to display notifications from PHP, and there are no PHP D-Bus bindings), but it's not packaged with libnotify or notification-daemon (at least not on Ubuntu) which makes it less likely that it will be available, and I was hoping to avoid making it a dependency.
Comment 1 chemtech 2013-03-26 07:59:58 UTC
Stuart Langridge,
Do you still experience this issue with newer soft ?
Please check the status of your issue.
Or close this bug.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.