Sponsored Content
Top Forums Shell Programming and Scripting notify-send does not notify real time Post 302395712 by linuxpenguin on Tuesday 16th of February 2010 05:56:19 PM
Old 02-16-2010
notify-send does not notify real time

Hi,
I am having a little trouble getting notify-send to work the way I would like it to.
I am using ubuntu - karmic koala 2.6.31-19-generic #56-Ubuntu SMP
So here's the problem
run the following commands one after the other.

Code:
notify-send -i info -t 100000 -- "Hi" "world" &
notify-send -i info -t 100000 -- "Bye" "world"

See what happened?
The first message pops up. But the second one takes a whole 10 seconds before it shows up. This is because i set -t to 10 sec. What I would like in an ideal world to happen is I see two balloon pop ups. So the messages appear right when they should.

I recall this used to work in earlier versions on ubuntu, I guess that was using dbus, instead of notify-send.

I hope someone comes up with a solution to this real soon.

Last edited by linuxpenguin; 02-16-2010 at 06:56 PM.. Reason: formatting...
 

7 More Discussions You Might Find Interesting

1. Post Here to Contact Site Administrators and Moderators

Notify of a new thread

Hi, I wish to be notified whenever there is a new thread posted on any of the forums or atleast the forums that I have registered to. Can this be done. How? I am sure there must be a way to do this, and I feel this is how the moderators must be doing. I know I may not be eligible enough to be... (5 Replies)
Discussion started by: linuxpenguin
5 Replies

2. UNIX for Dummies Questions & Answers

Notify Command.

Hi, I am using the NOTIFY command and I am getting the emails.. I tried MAILX and e-mail is being sent. I want to use NOTIFY to see if my jobs are completed or not. Am I missing something.. All your ideas are greatly appreciated.. Thanks Venky (2 Replies)
Discussion started by: venkyA
2 Replies

3. UNIX for Dummies Questions & Answers

log send, sendrec, recv and notify system calls

Hi, I've a question about MINIX OS. 1 - I would like to log the messages that user or kernel process send to each other through the system call send, recv, sendrec and notify. Since MINIX is a microkernel OS, I suppose that the best way is to have an TCP socket, listening in INADDR_ANY... (0 Replies)
Discussion started by: pedrosacosta
0 Replies

4. Shell Programming and Scripting

Cronjob to notify by mail

I am planning some tasks that I need send mails regularly to my team members. I think to use cronjob with script to do it. Two init files are prepared, I can change the format if you ask for. name.txt: Bill bill@xxx.com Peter peter@xxx.com James james@xxx.com Tasks_list.txt ... (4 Replies)
Discussion started by: newoz
4 Replies

5. Shell Programming and Scripting

[linux] tail2notify - script interface between tail -f + grep and notify-send

This isn't exactly a question. Just thought I'd share something I just wrote and found useful. For those of you on modern linux boxen: you may be aware that there's a lovely little tool called notify-send that you can use to send notifications to the desktop. Any experienced shell-scripter could... (0 Replies)
Discussion started by: ryran
0 Replies

6. Shell Programming and Scripting

A notify-send Question --

Greetings. I've come across a bit of a problem with notify-send syntax; and wondered if anyone out there had found a solution in the woodpile somewhere :) Here's the snippet which is giving me trouble:notify-send 'Text to display' image_data 300, 300, , , , , /etc/image.pngOutput:Invalid... (0 Replies)
Discussion started by: LinQ
0 Replies

7. Shell Programming and Scripting

Notify as soon as an error is encountered in a script

Hi, The script below works okay and emails me the log in the end once the script completes but what I'm trying to do is to also notify me via an email as soon as the script encounters any error whatsoever. cat test.list hdisk0 00a6351a2c832da1 rootvg ... (7 Replies)
Discussion started by: mbak
7 Replies
ldns-notify(1)						      General Commands Manual						    ldns-notify(1)

NAME
ldns-notify - notify DNS servers that updates are available SYNOPSIS
ldns-notify [options] -z zone servers DESCRIPTION
ldns-notify sends a NOTIFY message to DNS servers. This tells them that an updated zone is available at the master servers. It can perform TSIG signatures and it can add a SOA serial number of the updated zone. If a server already has that serial number it will disregard the message. OPTIONS
-z zone The zone that is updated. -h Show usage and exit -v Show the version and exit -s serial Append a SOA record indicating the serial number of the updated zone. -p port Use port as destination port (default the DNS port 53) for the UDP packets. -y key:data Use the given TSIG key and base64-data to sign the NOTIFY. Uses the hmac-md5 algorithm. -d Print verbose debug information. The query that is sent and the query that is received. -r num Specify the maximum number of retries before notify gives up trying to send the UDP packet. EXIT CODE
The program exits with a 0 exit code if all servers replied an acknowledgement to the notify message, and a failure exit code otherwise. AUTHOR
Written by the ldns team as an example for ldns usage. REPORTING BUGS
Report bugs to <ldns-team@nlnetlabs.nl>. COPYRIGHT
Copyright (C) 2005 NLnet Labs. This is free software. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PUR- POSE. 9 Jan 2007 ldns-notify(1)
All times are GMT -4. The time now is 11:06 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy