Skip to content
WJunction - Webmaster Forum

[Linux] Creating Visually Appealing Notifications

Status
Not open for further replies.
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.

About the author

D
Active Member · Joined
coding in php and python
1,544
Messages
7
Reactions
38
Points

Advertise on WJunction

Reach 1000's of webmasters, hosts & affiliates. Banner & sponsored-thread slots available.

Contact us
Back
Top Bottom