Stack multiple libnotify popups
Does anybody know how i can get multiple popups sent via notify-send to appear on screen at once.
With:
$ notify-send 'Message One' 'Body One' & notify-send 'Message Two' 'Body Two' & notify-send 'Message Three' 'Body Three'
Each one waits for the previous popup in the queue to expire before being shown, i'm trying to get all three to cascade down the screen asap.
Man says:
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.
Setting the urgency to critical makes no 开发者_开发知识库difference.
TIA
I know it's an old question, but I ran into it while searching for related stuff in Google, so I will post an answer anyways.
Like tlvince said, it's your notification daemon's fault and you're probably running Canonical's notify-osd. Replace it with Gnome's notification-daemon and you will get the behavior your want.
These pages might help:
http://www.webupd8.org/2011/05/how-to-use-standard-gnome-notification.html
http://ubuntuforums.org/showthread.php?t=1663840
I believe it's the responsibility of the notification-daemon you are running as to what the behaviour should be. For example, in xfce4-notifyd
, all three notifications are displayed at once, overlapping each other (since it doesn't support stacking).
Since your running Ubuntu 9.04, your notification-daemon is most likely notifyOSD. Try taking a look through its documentation.
精彩评论