[Ubuntu 9.04] Plan a visual message

Last update on July 13, 2009 08:17 AM by jak58
Published by jak58

[Ubuntu 9.04] Plan a visual message




Intro


Ubuntu 9.04 has a new application that manages the notification system: notify-osd , allowing you to display visual messages at the time you want.

Getting started


First you must install the libnotify-bin package. To do this, type in a terminal:
sudo apt-get install libnotify-bin


To see if this works, type in the terminal:
notify-send Test "This is a test"


Normally, the message "This is a test" should be displayed

Preparing the script


Now that the software is operational,its time to create a script with the message that will be displayed at a given moment.
In your home folder, create a blank file named "recall.sh" (the ". sh" is essential, instead of "recall", you can put whatever you want)

In this file, write:

#!/bin/bash
notify-send "Message title" "Message"


and save.

Planning the execution of script


Now you need to run a command that will plan the display of message on-screen


Simply type in a terminal:
at -f recall.sh 19:30



This, run the script at 19:30.

If you want to run a particular day, enter:
at -f recall.sh  19:30 Jul 10


It will be displayed July 10 at 19:30

Adding an icon to the message


You will need an image or "icon" (PNG), and then edit the file recall.sh:
notify-send -i /path/of_image/image.png "Message title" "Message"
Best answers for « Plan a visual message » in :
Download Any Messenger Recorder Show Description Designed by SoftCab, Inc, this application is well known worldwide for its services that it provides. It has won awards in certain places. Any Messenger Recorder is a tool based on recording sound from any applications, they are;...
Error Message: Cannot create DirectShow Player ShowError Message: Cannot create DirectShow Player Issue Solution Issue After the update of Windows Media Player, it may happened that the following error message appears on your screen: Can not create DirectShow Player...
MSN Messenger ShowWhat is MSN Messenger? How to get connected to MSN Messenger Go online without downloading MSN Messenger How to add contacts to your list Prompting password request when opening Messenger Unable to connect to MSN Messenger Error...
Show what you are listening to on MSN/WLM ShowShow what you are listening to on MSN/WLM Windows Media Player The Winamp Player The VLC Media Player The Foobar 2000 player When we are connected to instant messaging Windows Live Messenger, it is possible to display and use...
Download Yahoo Messenger Hider ShowWhen you are in the office or in a place of study, normally you are not there to use the customers of freight forwarding, but to work. Then how to discuss calmly without stress?! Yahoo Messenger Hider is a tool allowing to hide any activities around...
Download Kantaris Media Player ShowThe audio/video players do not stop competing in imagination to attract the users. Then, a liitle bit imagination is enough to distance oneself from the others. Kantaris belongs to these audio/video players of new generations. It supports almost all...
Enterprise Resource Planning (ERP) - Integrated Management Softw ShowIntroduction to ERP ERP (in English Enterprise Resource Planning), also called Integrated Management Software (PGI), are applications whose purpose consists in coordinating all activities of a company (so-called vertical activities such as...