yad
TLDR
Display an info dialog
SYNOPSIS
yad [--info|--warning|--error|--question] [--entry] [--file] [--form] [--list] [--progress] [--calendar] [--notification] [options]
DESCRIPTION
YAD (Yet Another Dialog) is a powerful GTK+ dialog tool for creating graphical dialogs from shell scripts. It is a fork and enhancement of Zenity with significantly more features and customization options.
YAD supports numerous dialog types: message boxes, file/directory selection, forms, lists, progress bars, calendars, color pickers, font selectors, and system tray notifications. Forms can include various field types including text, numbers, checkboxes, combo boxes, file choosers, and more.
Dialog output is written to stdout, making it easy to capture user input in shell scripts. The exit code indicates which button was pressed. Custom buttons can be defined with specific return codes or actions.
For complex interfaces, YAD supports multi-pane layouts with tabs and notebooks. The --plug and --tabnum options allow embedding multiple dialogs into a single window. HTML content can be displayed using the --html option with WebKit support.
PARAMETERS
--info
Display an information dialog.--warning
Display a warning dialog.--error
Display an error dialog.--question
Display a question dialog with Yes/No buttons.--entry
Display a text entry dialog.--file
Display a file selection dialog.--directory
Display a directory selection dialog.--form
Display a form with multiple input fields.--list
Display a list/table selection dialog.--progress
Display a progress bar dialog.--calendar
Display a calendar date selection dialog.--color
Display a color selection dialog.--font
Display a font selection dialog.--notification
Display a system tray notification icon.--text string
Set the dialog text.--title string
Set the dialog window title.--width n
Set the dialog width.--height n
Set the dialog height.--field label[:type]
Add a field to a form (types: TEXT, NUM, CHK, CB, etc.).--column name
Add a column to list dialog.--auto-close
Close dialog when progress reaches 100%.--button label:action
Add custom button.--separator char
Set output field separator.
CAVEATS
Requires GTK+ 3 libraries. Some features like HTML rendering require WebKit. Dialog appearance varies with GTK theme. Complex forms may require careful escaping of special characters. System tray support depends on desktop environment compatibility.
HISTORY
YAD was created by Victor Ananjevsky as an enhanced fork of Zenity. Development began around 2008 to address limitations in Zenity and add features needed for more sophisticated shell script GUIs. The project has been actively maintained with regular releases adding new dialog types and options.


