This program creates a server which listens on the DBus. It tracks notification messages and response to it according to the specs. In addition all received notifications will be displayed in JSON (RFC 4627) format (on stdout
).
Actions, Hints, Markup and Icons are not supported.
This program uses the libdbus library. It is compatible to the libnotify library.
Example output on command line:
{"app_name":"notify-send","body":"Example body","summary":"Some text...","expire_timeout":1000}
The previous output can be reproduced with the following command (dependency: libnotify):
$ notify-send --expire-time=1000 "Example body" "Some text..."
app_name
: The optional name of the application sending the notification. Can be blank.body
: The optional detailed body text. Can be empty.summary
: The summary text briefly describing the notification.expire_timeout
: The timeout time in milliseconds since the display of the notification at which the notification should automatically close. If-1
, the notification's expiration time is dependent on the notification server's settings, and may vary for the type of notification. If0
, never expire.
lastest GPL-license (see LICENSE-file)
Copyright (C) 2015 NIPE-SYSTEMS, http://nipe-systems.de