Notify-send
notify-send is a command-line utility to display pop-up desktop notifications.
Installation
Ubuntu
Usually, notify-send is already installed. If not, run the command
sudo apt-get install notify-osd
Debian
To install notify-send, run the command as root:
apt-get install libnotify-bin
Other OS
Find and install libnotify for your OS.
Usage
notify-send [OPTIONS...] "TITLE" "MESSAGE"
Options
-i ICON, --icon=ICON: icon type.
File path or system icon name, for example, info, important or error.
Default: no icon.
-t TIMEOUT, --expire-time=TIMEOUT: time in milliseconds, after which the notification disappears.
Default: 5000
-a, --app-name=APP_NAME: application name.
-u LEVEL, --urgency=LEVEL: level of urgency.
Possible values: low, normal or critical.
-c TYPE, --category=TYPE[,TYPE...]: notification category.
-h TYPE:NAME:VALUE, --hint=TYPE:NAME:VALUE: additional data.
Possible option values TYPE: int, double, string or byte.
-v: show current version of the program.
-?: show help.
--: end of options.
License
© 2004 Christian Hammond chipx86@chipx86.com,
Mike Hearn mike@navi.cx.
This is free software, distributed under the terms of the GPL v2+.