Forrest logo
tool overview
On this page you find all important commands for the CLI tool zenity. If the command you are looking for is missing please ask our AI.

zenity

Zenity is a command line tool designed for creating graphical user interfaces (GUIs) in shell scripts. It provides a simple way to display various dialog boxes and windows within the command line interface. Zenity can be used to present information, gather user input, and offer options to users in a more visual and interactive manner. It supports various dialog types, including error, warning, question, notification, file selection, and progress dialogs. Zenity allows customization of dialog content, buttons, icons, and other attributes using command line options. The tool is widely used in shell scripting, automating tasks, creating interactive scripts, and improving the user experience of command line applications. Zenity is commonly available in Linux distributions and can be installed if not already present in the system.

List of commands for zenity:

  • zenity:tldr:1f580 zenity: Display a file selection form in which the user can only select directories.
    $ zenity --file-selection --directory
    try on your machine
    explain this command
  • zenity:tldr:253b9 zenity: Display a name/password form and output the data separated by ";".
    $ zenity --forms --add-entry="${Name}" --add-password="${Password}" --separator="${;}"
    try on your machine
    explain this command
  • zenity:tldr:9fbb1 zenity: Display the default question dialog.
    $ zenity --question
    try on your machine
    explain this command
  • zenity:tldr:cbb43 zenity: Display an info dialog displaying the text "Hello!".
    $ zenity --info --text="${Hello!}"
    try on your machine
    explain this command
tool overview