ZENITY(1) | User Commands | ZENITY(1) |
zenity - manual page for zenity 4.0.1
zenity is a program that will display GTK+ dialogs, and return (either in the return code, or on standard output) the users input. This allows you to present information, and ask for information from the user, from all manner of shell scripts.
For example, zenity --question will return either 0, 1 or 5, depending on whether the user pressed OK, Cancel or timeout has been reached. zenity --entry will output on standard output what the user typed into the text entry field.
Comprehensive documentation is also available in the GNOME Help Browser.
General options
Calendar options
Text entry options
Error options
Info options
File selection options
List options
Notification options
Progress options
Question options
Warning options
Scale options
Text information options
Color selection options
Password dialog options
Forms dialog options
Miscellaneous options
Display a file selector with the title Select a file to remove. The file selected is returned on standard output.
Display a text entry dialog with the title Select Host and the text Select the host you would like to flood-ping. The entered text is returned on standard output.
Display a dialog, asking Microsoft Windows has been found! Would you like to remove it?. The return code will be 0 (true in shell) if OK is selected, and 1 (false) if Cancel is selected.
Show the search results in a list dialog with the title Search Results and the text Finding all header files....
Show a passive notification
Display a weekly shopping list in a check list dialog with Apples and Oranges pre selected
Display a progress dialog while searching for all the postscript files in your home directory
find $HOME -name '*.ps' | zenity --progress --pulsate
Zenity was originally written by Glynn Foster <glynn.foster@sun.com>. It has since been maintained by a number of contributors since then.
This manual page was originally written by Ross Burton <ross@burtonini.com>. It currently contains portions which are automatically generated, and other portions written by its original author.
dialog(1)
March 2024 | zenity 4.0.1 |