Dialog Tools



Textmode Tools



Dialog

ncurses textmode version.

Homepage: https://www.invisible-island.net/dialog/dialog.html

#!/bin/bash
dialog –checklist  ‘checklist’ 15 10 10 ‘apple’ 5 ‘on’ ‘banana’ 2 ‘off’ ‘coco’ 3 ‘on’ ‘delta’ 4 ‘off’



Newt

Newt is a programming library for color text mode, widget based user interfaces.

Homepage: https://pagure.io/newt

GitHub: https://github.com/mlichvar/newt

GUI Tools



Zenity

Gnome or GTK version.

Homepage:

Gitlab: https://gitlab.gnome.org/GNOME/zenity

#!/bin/bash -e
exec 2>/dev/null	# vernichtet nervige Fehlermeldungen
if ! NAME=$(zenity --entry --text "Bitte geben Sie Ihren Namen ein:" --title "Wer sind Sie?"); then
  exit;
fi



Yad

Fork of Zenity with more parameters and features.

Homepage:

yad \
--title="Field Optionen" \
--form \
--item-separator=, \
--separator=" " \
--field="Nur lesbares Feld:RO" Text \
--field="Auswahl einer Zahl:NUM" \
--field="Ich bin eine Checkbox:CHK" \
--field="Editierbares Feld:CBE" Text \
--field="Dateiauswahl:FL" \
--field="Hier kannst du eine Datei erstellen:SFL" \
--field="Verzeichnisauswahl:DIR" \
--field="Hier kannst du ein Verzeichnis erstellen:CDIR" \
--field="Schriftartauswahl:FN" \
--field="Hier kannst du mehrere Dateien wählen:MFL" \
--field="Wähle ein Datum:DT" \
--field="Wähle eine Farbe:CLR" \
--field="Ich bin ein klickbarer Button:BTN" \
--field="Ich bin eine Überschrift:LBL" \
--field="Texteingabe:TEXT" \
--button="Ich bin Button 1" \
--button="Ich bin Button 2" \
--button="Ich bin Button 3" \
--button="Ich bin Button 4"



KDialog

KDE or Plasma version of the dialog utility:

Homepage: https://develop.kde.org/docs/administration/kdialog/
GitHub: https://github.com/KDE/kdialog

kdialog --title "YesNoCancel warning dialog" --warningyesnocancel \
"About to exit.\nDo you want to save the file first?"



Website and Examples