Deepin系统通知

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

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

你可能感兴趣的:(Deepin系统通知)