Skip to content
Jean-Christophe GAY edited this page May 7, 2017 · 12 revisions

send-notification

A toolbox in Java to send notifications.

Configuration

Notifiers can be configured by creating the file $HOME/.send-notification.
This file should contains properties in the form: key = value.

  • notifier.implementation = which implementation to use. (growl, notificationcenter, simplenc notifysend, systemtray, snarl, pushbullet, kdialog, notifu, anybar, toaster, notify, burnttoast, slack).

Default notifiers

send-notification will try to find an available notifier on running os.

OS X:

  • Growl,
  • Notification Center (with terminal-notifier)
  • System Tray

Linux:

  • Kdialog,
  • notify-send
  • System Tray

Windows:

  • Snarl
  • Growl
  • Toaster
  • BurntToast
  • System Tray

Use multiple notifiers

You can choose to send notification to multiple notifiers at once using:

notifier.implementation=growl,pushbullet

In this case, growl will always be used and pushbullet can be activated when passing property notifyAll to the JVM.
It is handy when you launch a long process and know that you may not be in front your computer anymore when the process should ends.

Notifiers Configuration

safasdfasf

Clone this wiki locally