Linux Command Library
commands
Commands
basic
Basic
tips
Tips

notify-send

a program to send desktop notifications

- Show a notification with the title "Test" and the content "This is a test":
notify-send ["Test"] ["This is a test"]

- Show a notification with a custom icon:
notify-send -i [icon.png] ["Test"] ["This is a test"]

- Show a notification for 5 seconds:
notify-send -t 5000 ["Test"] ["This is a test"]

notify-send [OPTIONS] <summary> [body]

With notify-send you can send desktop notifications to the user via a notification daemon from the command line. These notifications can be used to inform the user about an event or display some form of information without getting in the user's way.

-u, --urgency=LEVEL Specifies the urgency level (low, normal, critical).

-t, --expire-time=TIME
The duration, in milliseconds, for the notification to appear on screen. (Ubuntu's Notify OSD and GNOME Shell both ignore this parameter.)
-i, --icon=ICON[,ICON...]
Specifies an icon filename or stock icon to display.
-c, --category=TYPE[,TYPE...]
Specifies the notification category.

Help options:

-?, --help
Show this help message
-h, --hint=TYPE:NAME:VALUE
Specifies basic extra data to pass. Valid types are int, double, string and byte.

The Desktop Notification Spec on http://www.galago-project.org/specs/notification/.

This manual page was written by Andre Filipe de Assuncao e Brito <decko@noisemakers.org> and Paul van Tilburg <paulvt@debian.org> and Riccardo Setti <giskard@debian.org> for the Debian project (but may be used by others).

play store download app store download
Imprint
Sonnenallee 29, 12047 Berlin, Germany
e-mail: sschubert89@gmail.com

Privacy policy
Successfully copied