$ zenity --notification --listen <<EOF message: aaa\nbbb icon: error EOF The above command shows a notification with text and the error icon. However, zenity does not exit and needs to be killed explicitly. When zenity is called with --listen, it should exit once stdin has been closed.