Deepin系统通知

2018-11-30  本文已影响0人  LanceAdd
image.png
具体文档:
在终端中输入yelp
然后在最下面点击zenity手册
image.png
image.png

shell调用系统通知

#!/bin/sh
zenity --notification\
    --window-icon="info" \
    --text="There are system updates necessary!"
image.png

或者简单的通知

#!/bin/sh
notify-send "Hello world"
image.png

更多调用和信息请参考帮助手册

上一篇 下一篇

猜你喜欢

热点阅读