![](https://img.haomeiwen.com/i6290818/f097a3486fec7127.png)
具体文档:
在终端中输入yelp
然后在最下面点击zenity手册
![](https://img.haomeiwen.com/i6290818/c3e3ef08a85d25d1.png)
![](https://img.haomeiwen.com/i6290818/97a810be79307926.png)
shell调用系统通知
#!/bin/sh
zenity --notification\
--window-icon="info" \
--text="There are system updates necessary!"
![](https://img.haomeiwen.com/i6290818/481e0822a360888f.png)
或者简单的通知
#!/bin/sh
notify-send "Hello world"
![](https://img.haomeiwen.com/i6290818/54377fd51e44708a.png)
更多调用和信息请参考帮助手册
具体文档:
在终端中输入yelp
然后在最下面点击zenity手册
#!/bin/sh
zenity --notification\
--window-icon="info" \
--text="There are system updates necessary!"
或者简单的通知
#!/bin/sh
notify-send "Hello world"
更多调用和信息请参考帮助手册
本文标题:Deepin系统通知
本文链接:https://www.haomeiwen.com/subject/zajccqtx.html
网友评论