Notify-send
notify-send is a tool that displays pop-up desktop notifications.
Installation
Ubuntu
It is already installed in your system. If not, please type the following command at shell prompt:
sudo apt-get install notify-osd
Debian
To install notify-send type the following command at shell prompt as root:
apt-get install libnotify-bin
Other OS
Find and install libnotify
for your OS.
Windows version is here.
Usage
notify-send [OPTIONS...] "TITLE" "MESSAGE"
Options
-i ICON
, --icon=ICON
: specifies an icon filename or stock icon to display, for example, info
, important
or error
. Default: no icon.
-t TIMEOUT
, --expire-time=TIMEOUT
: specifies the timeout in milliseconds at which to expire the notification. Default: 5000
-a
, --app-name=APP_NAME
: specifies the application name for the icon.
-u LEVEL
, --urgency=LEVEL
: specifies the urgency level. The possible values are: low
, normal
or critical
.
-c TYPE
, --category=TYPE[,TYPE...]
: specifies the notification category.
-h TYPE:NAME:VALUE
, --hint=TYPE:NAME:VALUE
: specifies basic extra data to pass. The possible values of TYPE
are: int
, double
, string
or byte
.
-v
: show version and exit.
-?
: show help options and exit.
--
: end of options.
License
© 2004 Christian Hammond chipx86@chipx86.com, Mike Hearn mike@navi.cx
Freeware, GPL v2+