LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

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.

INSTALL

sudo apt install libnotify-bin
copy
sudo dnf install libnotify
copy
sudo pacman -S libnotify
copy
sudo apk add libnotify
copy
brew install libnotify
copy
nix profile install nixpkgs#libnotify
copy

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)

Braincup
Open source brain training for math, memory and focus
Braincup mini-games
41 mini-games · Apache-2.0
No ads · No tracking
Play in browser
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid
276 stars
From the maker of Linux Command Library
Copied to clipboard
Braincup
Open source brain training for math, memory and focus. 41 mini-games, from mental arithmetic to Sudoku, N-Back and Solo Chess.
Apache-2.0 licensed · No ads · No tracking · No account
From the maker of Linux Command Library
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid