Zenity --notify (or better --trayicon Bug #884011) may just always listen on stdin, and provide an --exit-on-click option enable user feedback.
This would remove the asumption that --listen means to continusly listening to commands on stdin. It would provide the calling script with a feedback upon user action (zenity exits), while being able to modify the status. Ideally, zenity could also accept an "exit" or "quit" command on stdin, in addition to Ctrl-C or closing the file descriptor. -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to zenity in Ubuntu. https://bugs.launchpad.net/bugs/387984 Title: Notifications using --listen should allow clicking to remove the icon Status in Zenity: Expired Status in “zenity” package in Ubuntu: Triaged Bug description: Binary package hint: zenity Zenity --notification (or better --trayicon Bug #884011) may just always listen on stdin, and provide an --exit-on-click option to enable user feedback. This would remove the asumption that --listen always means to endlessly listen to commands on stdin. It would provide the calling script with feedback upon user action (zenity exits), while being able to modify the status. Ideally, zenity could also accept an "exit" or "quit" command on stdin, in addition to Ctrl-C or closing the file descriptor. --- The follwing issues that got mixed into this report seem fixed, or are intended behavior: "zenity --notification --listen" can't show multi lines tooltip. But as cmd line parameter is works fine: zenity --notification --text $'line1\nline2' "zenity --notification" does not have command line parameter for "message" This does not work: zenity --notification --title hi Also this does not work: echo 'message:hi' | zenity --notification But this works: echo 'message:hi' | zenity --notification --listen "zenity --notification --listen" does not exit (does nothing) on click on notification icon But without "--listen", when notification icon is clicked, zenity does exit. "zenity --notification" man page does not tell about icon and message, does not explain about tooltip. Man page say only: "--text" set the notification text (message or tooltip?) To manage notifications about this bug go to: https://bugs.launchpad.net/zenity/+bug/387984/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp