notify-send and clearing notifcations
I have a script that sends me notifications from weechat using notify-send in Fedora 17 64-bit with cinnamon (it's not linux mint, just borrowed some of their themes). The script runs notify-send with an expiration time of 5 seconds / 5000 milliseconds.
Code:
[bull:~]$ notify-send --help Code:
[bull:~]$ cat bin/beepwrapper EDIT: After more googling, I found 'notify-send --hint=int:transient:1 Test' is supposed to cause the message not to appear in the list of notifications. However, as soon as the notification pop up disappears, it does get stored. Maybe this only works in Gnome 3? Not sure http://expectusafterlun.ch/screenshot.png |
What happens when you don't use the -t option at all?
Markus |
Same thing as not using it. It makes no difference.
|
Well, I don't know what weechat is. I'm using notify-send with some scripts and have no problems. Could you please explain what weechat is?
Markus |
Quote:
http://www.weechat.org/ |
The problem doesn't have anything to do with weechat. If i ran
notify-send -t 5000 'WeeChat!' 1> /dev/null 2>&1 from the command line 1000 times, it would show 1000 notifications at the bottom. |
Hi fakie_flip,
I've tried Code:
for i in {1..1000}; do notify-send -t 2000 "hello$i" 1> /dev/null 2>&1; done How did you configure notify-send? Markus |
Quote:
http://i.imm.io/QHOH.png Quote:
|
All times are GMT -5. The time now is 04:54 PM. |