多应用+插件架构,代码干净,二开方便,首家独创一键云编译技术,文档视频完善,免费商用码云13.8K 广告
` `使用 `--notification` 选项创建一个通知对话框。 * [ ] 指定在通知区域显示的文本。 ``` --text=文本 ``` **--listen=icon: 'text', message: 'text', tooltip: 'text', visible: 'text',** ` `Listens for commands at standard input. At least one command must be specified. Commands are comma separated. A command must be followed by a colon and a value. ` `下面的脚本示范了如何创建一个通知区域图标: ~~~ #!/bin/sh zenity --notification\ --window-icon="info" \ --text="There are system updates necessary!" ~~~ ![](https://img.kancloud.cn/8c/b2/8cb2c13f869a947ba89562b8c1d6dcd3_318x83.png)