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
notify-send(1)							   User Commands						    notify-send(1)

NAME
notify-send - a CLI program to send desktop notifications SYNOPSIS
notify-send [--help ] [--urgency=level] [--expire-time=time] [--icon=icon,icon...] [--category=type,type...] [--hint=type:name:value] [sum- mary] [body] DESCRIPTION
Using notify-send, you can send desktop notifications to the user via a notification daemon from the command line. The notifications are used to inform the user about an asynchronous event or display some useful information without getting in the user's way. OPTIONS
The following options are supported: -?, --help Display help text. -u, --urgency=level Specifies the urgency level, including low, normal and critical. -t, --expire-time=time Specifies the timeout in milliseconds at which to expire the notification. -i, --icon=icons Specifies an icon filename or stock icon to display. -c, --category=types Specifies the notification category. -h, --hint=hint Specifies basic extra data to pass. The format is type:name:value and valid types are int, double, string and byte -v, --version Display version information. EXIT STATUS
0 All information was written successfully. >0 An error occurred. ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWgnome-panel | +-----------------------------+-----------------------------+ |Interface stability |Volatile | +-----------------------------+-----------------------------+ SEE ALSO
The Desktop Notification Spec on http://www.galago-project.org/specs/notification/. NOTES
Written by Jedy Wang, Sun Microsystems Inc., 2007. SunOS 5.11 28 Feb 2007 notify-send(1)
All times are GMT -4. The time now is 10:36 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy