Use the
The text entry dialogue supports the following options:
Specifies the text that is displayed in the text entry dialogue.
Specifies the text that is displayed in the entry field of the text entry dialogue.
Hides the text in the entry field of the text entry dialogue.
The following example script shows how to create a text entry dialog:
#!/bin/sh
if zenity --entry \
--title="Add new profile" \
--text="Enter name of new profile:" \
--entry-text "NewProfile"
then echo $?
else echo "No name entered"
fi