Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一个 zenity 条目的表格
zenity --forms --add-entry="Name" --add-entry="Surname"
并且我想向它们添加默认内容,例如“姓名”旁边将是“您的姓名”(用户当然可以更改它)
--entry是接受默认值之外的唯一选项,但您不能定义多个条目:
--entry
zenity --entry --title="Add your name" --text="Enter your name" --entry-text="Your name"