Use the
Specifies the text that is displayed in the notification area.
Set the notification icon using a string containing a path to a valid icon on the system.
Listens for commands at standard input. At least one command must be specified. Commands are comma separated. A command must be followed by a colon and a value.
The
Examples include:
message: Hello, my name is Joe
icon: /usr/share/pixmaps/monitor.xpm
The following example script shows how to create a notification icon:
#!/bin/sh
zenity --notification \
--icon="/usr/share/pixmaps/monitor.xpm" \
--text="There are system updates necessary!"
The following example script shows how to create a notification icon along with
#!/bin/sh
cat <<EOH| zenity --notification --listen
message: this is the message text
EOH