$ zenity --notification --listen <<EOF icon: error message: aaa\nbbb EOF The above command shows a notification with the error icon, while the subsequent one: $ zenity --notification --listen <<EOF icon: error message: aaa\nbbb EOF shows the message without the icon. It seems that the icon command is accounted for only on the next message: command. This should be either corrected or mentioned in the man page.