桌面通知机制
跳转到导航
跳转到搜索
支持情况
compiz
不支持优先级、超时时间。会自动对图标进行缩放。
naughty
参见主条目naughty。
不支持 low
优先级。支持通过 <span>
指定字体属性,但不完全与gnome-osd-client相同。
xfce4-notifyd
不支持优先级。支持按钮。
notify-osd
Canonical 的通知服务,移上去时会变透明,多个通知时会逐个显示。带按钮的通知会被改成弹框提示。
dbus
发送一个带有标题和正文的通知:
dbus-send --dest=org.freedesktop.Notifications --type=method_call /org/freedesktop/Notifications \
org.freedesktop.Notifications.Notify string:"" uint32:0 string:"" string:"awesome is" string:"getting naughty"
参见
- notify-send
- naughty,Awesome的通知模块