Sunday, March 1, 2009

Get the new notifications to work on Intrepid

Jaunty Jackalope or Ubuntu 9.04 which will be out on 23rd April 09 will have a new notification system.

If some eager folks like me are interested in making them work on Intrepid, follow the instructions below:

$ sudo apt-get update


$ sudo apt-get install bzr gnome-common automake libdbus-glib-1-dev libgtk2.0-0 libgtk2.0-dev libgtk2.0-common libgconf2-dev libx11-dev libnotify-dev libnotify1 libnotify-bin libc6 libcairo2 libdbus-1-3 libdbus-glib-1-2 libgconf2-4 libglib2.0-0 libgtk2.0-0 libpango1.0-0 libpixman-1-0 libx11-6


bzr branch lp:notify-osd

cd notify-osd

./autogen.sh

make


Now you can start it:

killall notification-daemon ; ~/notify-osd/src/notify-osd

You can interrupt the new notifications system by hitting ctrl+C. That will automatically bring back the old ones.

How to test it ?

A test script is included, which will show a bunch of fake notifications. To test it, open a new terminal window and type:

~/notify-osd/src/send-test-notification.sh


Now a the test notifications should show. On the right upper corner of the window.

How to make it default ?

A simple way may be:

gedit ~/.new-notifications.sh


Then paste there this:

#!/bin/bash
killall notification-daemon ; /home/[username]/notify-osd/src/notify-osd


Then save, exit from gedit and..

chmod +x ~/.new-notifications.sh


Then go in System->Preferences->Sessions and add a new item with ~/.new-notifications.sh as the launching command.


CREDITS
Used the instructions from here, here and here

No comments:

Post a Comment

Follow this blog !!!