[Linux] Creating Visually Appealing Notifications

Status
Not open for further replies.

desiboy

Active Member
1,544
2008
7
0
Part 1 of Easy GUI Creation On Linux

Hey guys..
In this thread, I will show , how to Creating Visually Appealing Notifications on Liunux using notify--send.
I assume that the user reading this thread has basics of shell scripting..
I am working on Ubuntu, this doesn't mean that it will only work on Ubuntu, it should work on any UNIX like OS.



  • Creating Visually Appealing Notifications

We will be using notify-send

Requirements
ibnotify-bin

Installation on Ubuntu
Code:
apt-get install libnotify-bin
Usage

PHP:
notify-send "Wjunction.com Rocks ?";


Sample Out Put

i3684_screenshot.png



i3685_hancock.png




Uses

Creating notifications , for example when any of your friend come Online on MSN / Yahoo, this can be used to notify the same..
or even notify the user when a download is completed ..


PHP:
#!/bin/bash
wget http://www.google.com/images/srpr/nav_logo13.png
notify-send "Download Completed ";
you can extend this tool to create many awesome things.
you can pipe the output of any script to this and use it to create visually appealing Notifications..

for more info and all available options..
PHP:
man notify-send
I will try to cover many more Tools , which will be very helpful to create Basic Linux Apps easily in the near future.
 
2 comments
Status
Not open for further replies.
Back
Top