Linux 堆叠多个libnotify弹出窗口
有人知道我如何通过notify send发送多个弹出窗口,使其同时出现在屏幕上吗 与: 每一个都在等待队列中的前一个弹出窗口在显示之前过期,我试图让这三个窗口尽快级联到屏幕上 男子说:Linux 堆叠多个libnotify弹出窗口,linux,bash,popup,libnotify,Linux,Bash,Popup,Libnotify,有人知道我如何通过notify send发送多个弹出窗口,使其同时出现在屏幕上吗 与: 每一个都在等待队列中的前一个弹出窗口在显示之前过期,我试图让这三个窗口尽快级联到屏幕上 男子说: OPTIONS -u, --urgency=LEVEL Specifies the urgency level (low, normal, critical). -t, --expire-time=TIME Specifies the timeout in
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.
将紧迫性设置为“关键”没有任何区别
TIA我相信,您正在运行的通知守护进程有责任确定行为应该是什么。例如,在
xfce4 notifyd
中,三个通知同时显示,相互重叠(因为它不支持堆叠)
自从运行Ubuntu9.04以来,您的通知守护进程很可能是。试着浏览一下它的文档。我知道这是一个老问题,但我在谷歌搜索相关内容时遇到了它,所以我会发布一个答案 正如tlvince所说,这是您的通知守护进程的错误,您可能正在运行Canonical的notify osd。将其替换为Gnome的通知守护进程,您将获得所需的行为 这些页面可能有助于:
我同时收到三个通知。真的吗!?刚刚在我的ubuntu系统上试过,而且还是一个接一个。是的,在ubuntu 9.04系统上。就是这样,非常感谢Vitor,它们看起来有点薄荷味,但效果更好。顺便说一下,如果运行gnome shell,它在屏幕底部有自己的通知面板,因此我发现禁用notify osd和gnome的旧通知系统非常有用:
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.