Control kdialog - Display KDE Dialogs | Online Free DevTools by Hexmos
Control KDE dialog boxes with kdialog. Display message boxes, input prompts, and file choosers from shell scripts. Free online tool, no registration required.
kdialog
Show KDE dialog boxes from within shell scripts. More information: https://develop.kde.org/docs/administration/kdialog/.
- Open a dialog box displaying a specific message:
kdialog --msgbox "{{message}}" "{{optional_detailed_message}}"
- Open a question dialog with a
yesandnobutton, returning0and1, respectively:
kdialog --yesno "{{message}}"
- Open a warning dialog with a
yes,no, andcancelbutton, returning0,1, or2respectively:
kdialog --warningyesnocancel "{{message}}"
- Open an input dialog box and print the input to
stdoutwhenOKis pressed:
kdialog --inputbox "{{message}}" "{{optional_default_text}}"
- Open a dialog to prompt for a specific password and print it to
stdout:
kdialog --password "{{message}}"
- Open a dialog containing a specific dropdown menu and print the selected item to
stdout:
kdialog --combobox "{{message}}" "{{item1}}" "{{item2}}" "{{...}}"
- Open a file chooser dialog and print the selected file’s path to
stdout:
kdialog --getopenfilename
- Open a progressbar dialog and print a D-Bus reference for communication to
stdout:
kdialog --progressbar "{{message}}"
