Que*_*ark 6 linux bash popup libnotify
有没有人知道如何通过notify-send发送多个弹出窗口一次显示在屏幕上.
附:
$ notify-send 'Message One' 'Body One' & notify-send 'Message Two' 'Body Two' & notify-send 'Message Three' 'Body Three'
Run Code Online (Sandbox Code Playgroud)
每个人等待队列中的前一个弹出窗口在显示之前到期,我试图让所有三个人尽快在屏幕上向下级联.
男人说:
OPTIONS
-u, --urgency=LEVEL Specifies the urgency level (low, normal, critical).
-t, --expire-time=TIME
Specifies the timeout in milliseconds at which to expire the notification.
-i, --icon=ICON[,ICON...]
Specifies an icon filename or stock icon to display.
-c, --category=TYPE[,TYPE...]
Specifies the notification category.
Help options:
-?, --help
Show this help message
-h, --hint=TYPE:NAME:VALUE
Specifies basic extra data to pass. Valid types are int, double, string and byte.
Run Code Online (Sandbox Code Playgroud)
将紧迫感设置为关键是没有区别的.
TIA
我知道这是一个老问题,但我在谷歌搜索相关内容时碰到了它,所以无论如何我都会发布一个答案.
就像tlvince所说,这是你的通知守护程序的错,你可能正在运行Canonical的notify-osd.将其替换为Gnome的notification-daemon,您将获得所需的行为.
这些页面可能有所帮助
http://www.webupd8.org/2011/05/how-to-use-standard-gnome-notification.html
http://ubuntuforums.org/showthread.php?t=1663840
| 归档时间: |
|
| 查看次数: |
4915 次 |
| 最近记录: |