A notify-send Question --


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting A notify-send Question --
# 1  
Old 05-21-2014
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 Smilie

Here's the snippet which is giving me trouble:
Code:
notify-send 'Text to display' image_data 300, 300, , , , , /etc/image.png

Output:
Code:
Invalid number of options.

Of course the -i switch works well, but there's no way of specifying image size parameters. I know I'm probably missing the boat by something simple here, but the manpage seems a bit cursory in the matter; so I hit an impasse...

In short, what might a properly-formed commandline/bash block look like to make this work?

Thanks; and have a great day!
Login or Register to Ask a Question

Previous Thread | Next Thread

8 More Discussions You Might Find Interesting

1. 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

2. Solaris

bash shell send script question

Hi Experts, Need your help. I am trying to send a command via ssh to about a hundred network devices. I intend to do this via a bash script something similar to the below: ssh -l user testmachine.com "show version" Obviously this will not work given the password prompt that comes... (2 Replies)
Discussion started by: marcusbrutus
2 Replies

3. 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

4. Shell Programming and Scripting

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. notify-send -i info -t 100000 -- "Hi" "world" & notify-send -i... (3 Replies)
Discussion started by: linuxpenguin
3 Replies

5. UNIX for Advanced & Expert Users

Notify Me when job fail using cron

I would like to be notified when an Informix dbexport job fails on a TRU64 system. My idea is to send an email via telnet, but can only get telnet to do it interactively. I can do the following steps on my UNIX box interactively, but cannot send an email with a script. Can someone help? Is there... (3 Replies)
Discussion started by: ejaggers
3 Replies

6. 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

7. 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

8. 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
Login or Register to Ask a Question
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)