6

通知送信を介して送信された複数のポップアップを一度に画面に表示する方法を知っている人はいますか?

と:

$ notify-send 'Message One' 'Body One' & notify-send 'Message Two' 'Body Two' & notify-send 'Message Three' 'Body Three'

それぞれがキュー内の前のポップアップが期限切れになるのを待ってから表示されます.3つすべてをできるだけ早く画面にカスケードさせようとしています.

男 言います:

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.

緊急度をクリティカルに設定しても違いはありません。

ティア

4

2 に答える 2

8

古い質問だとは思いますが、Googleで関連するものを検索しているときに出くわしたので、とにかく回答を投稿します.

tlvince が言ったように、それは通知デーモンのせいであり、おそらく Canonical の notify-osd を実行しています。これを Gnome の通知デーモンに置き換えると、必要な動作が得られます。

これらのページが役立つ場合があります。

http://www.webupd8.org/2011/05/how-to-use-standard-gnome-notification.html

http://ubuntuforums.org/showthread.php?t=1663840

于 2011-07-12T14:14:12.290 に答える
2

動作がどうあるべきかについては、実行している通知デーモンの責任だと思います。たとえば、 ではxfce4-notifyd、3 つの通知すべてが一度に表示され、互いに重なり合っています (スタックをサポートしていないため)。

Ubuntu 9.04 を実行しているため、通知デーモンはおそらくnotifyOSDです。ドキュメントに目を通してみてください。

于 2010-08-06T12:47:58.947 に答える