LinuxCommandLibrary

notify-send

sends desktop notifications

TLDR

Send notification

$ notify-send "[Title]" "[Message body]"
copy
Set urgency level
$ notify-send -u [critical] "[Alert]" "[System error]"
copy
Set expiration time
$ notify-send -t [5000] "[Title]" "[Message]"
copy
Add icon
$ notify-send -i [dialog-information] "[Info]" "[Details]"
copy
Set category
$ notify-send -c [email] "[New Email]" "[Subject]"
copy
Set app name
$ notify-send -a "[MyApp]" "[Title]" "[Message]"
copy

SYNOPSIS

notify-send [options] summary [body]

DESCRIPTION

notify-send sends desktop notifications. Uses the desktop notification system.
The tool displays popup messages. Part of libnotify for GNOME and other desktops.

PARAMETERS

SUMMARY

Notification title.
BODY
Notification message.
-u LEVEL
Urgency (low, normal, critical).
-t MS
Timeout in milliseconds.
-i ICON
Icon name or path.
-c CATEGORY
Notification category.
--help
Display help information.

CAVEATS

Requires notification daemon. Desktop environment dependent. Part of libnotify.

HISTORY

notify-send is part of libnotify, implementing the freedesktop.org Desktop Notifications spec.

SEE ALSO

noti(1), dunst(1), zenity(1)

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community