【发布时间】:2013-04-18 14:38:34
【问题描述】:
我正在尝试使用 BASH 脚本在 zenity 中创建表单。
我试过官方网站上的那个 https://help.gnome.org/users/zenity/stable/forms.html.en 但它会引发错误。
代码和错误如下:
zenity --forms --title="Add Friend" --text="Enter information about your friend." \
--separator="," --add-entry="First Name" --add-entry="Family Name" \
--add-entry="Email" --add-calendar="Birthday"
错误:
This option is not available. Please see --help for all possible usages
在分析时我发现错误是由于选项--forms。
如果除了使用选项--forms之外还有其他方法可以在 Zenity 中创建表单,请告诉我
【问题讨论】:
-
我在 CentOS 机器上工作