NEWS CATEGORIES:



NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
Home / News / Linux / Ubuntu Tips and Tricks

Ubuntu Tips and Tricks


Installing Ubuntu 9.04's New Notifications in Ubuntu 8.10

Step-by-step tutorial with screenshots.

By Marius Nestor, Linux Editor

24th of February 2009, 08:26 GMT

Adjust text size:


Ubuntu 8.10 with the new notifications
Enlarge picture
Well, I don't really know how many of you have heard about the new notification system that was already implemented in the upcoming Ubuntu 9.04 (Jaunty Jackalope), but because the current state of Jaunty is Alpha, I thought it would be a good idea to teach you guys how to install these very nice notifications in your Ubuntu 8.10 (Intrepid Ibex) operating system.

The new notification framework was named "Notify-OSD" and it can handle both keyboard actions, such as volume and brightness, and application notifications. What does this mean? Well... for example, when you change the volume or the brightness of your monitor, when new software updates are available, when a network connection has been established... a very nice and stylish notification will be displayed for a few seconds in the top right corner of the screen.

How do they look? Take a look at the screenshot below:

Review image
Ubuntu 8.10 with Jaunty's new notifications!


Fore more details, you can read this article (it also includes a video clip that showcases the new notifications).

OK, so... are you ready to install these eye-candy notifications in your Ubuntu 8.10? Good, I thought so... Then follow the instructions below carefully!

ATTENTION: The following guide will NOT install the notification framework on your system! It will only be downloaded and compiled, but not installed. So you don't need to worry that it will break your current installation! Moreover, be aware that the new notifications will not work for Pidgin, in Ubuntu 8.10, even if you install the "pidgin-libnotify" package! If we find a workaround for this, we will let you know. Besides that, the notifications will appear for software updates, network connections, etc.

Step 1 - Installing the Requirements:

You need to install some required packages before you can grab, compile and install the notification framework. Therefore, open a terminal (Applications -> Accessories -> Terminal) and paste the following command:

sudo apt-get install bzr gnome-common automake autoconf libgtk2.0-dev libgconf2-dev libdbus-glib-1-dev libx11-dev libnotify-dev libnotify1 build-essential libnotify-bin libwnck-dev

Editor's note:
After you pasted the command above and hit the Enter key, you should see something like "Need to get 21.MB/27.2MB of archives. After this operation, 95.8MB of additional disk space will be used. Do you want to continue [Y/n]?". There will be 77 packages that need to be installed!

The numbers may not be the same for your system, because it is possible that some of the packages are already installed. Whatever the case is, type Y and hit Enter to install the requirements.

This will take a few minutes, depending on your Internet connection. The installation will be over when the command prompt will be available again and above it you will see something like "Processing triggers for python-support ...".


Step 2 - Download, Compile and Install Notify-OSD

Now that we grabbed the required packages, it's time to fetch the notification framework. Paste the following command in a terminal (Applications -> Accessories -> Terminal):

bzr branch lp:notify-osd

Wait a few seconds for the download to finish! When it's over you can type (or paste) the following commands, one by one (hit Enter after each one):

mv notify-osd .notify-osd
cd ~/.notify-osd
sh autogen.sh


This will take some time (a few minutes) and you will see a lot of scrolling text. When it says "Now type 'make' to compile notify-osd"... type:

make

Once again, you will see a lot of text scrolling... Wait until it stops and continue with the next step!

Step 3 - Final Touches

There is one more step that keeps you away from those very nice notifications... you need to add the notification framework to autostart programs. Follow the next instructions:

1. Download the notify-osd.sh script (right click on the file and choose Save Link As...). Save it on your desktop!
2. Right click on the notify-osd.sh script, go to Properties, then to the Permissions tab and check the "Allow executing file as program" box.

Review image


Review image


3. Move the script in your home folder, then go to System -> Preferences -> Sessions...

Review image


...click on the "Add" button and type the following:

- In the Name field type: Notify-OSD
- In the Command field type: /home/YOURUSERNAME/notify-osd.sh

Note: Replace "YOURUSERNAME" in the above command with your username (e.g. /home/softpedia/notify-osd.sh)

Review image


Click the "Add" button to add the entry to the startup program list. That's it! Now log out and log back in and you will see the new notifications...

Review image


Have fun! Ohh... and if you don't like them, uncheck the Notify-OSD entry in the Sessions window (System -> Preferences -> Sessions), log out and log back it. Your old notifications will be restored.

TAGS:

Ubuntu notifications | Ubuntu 8.10 | Jaunty notifications | notify-osd | install notifications
Read by 22,726 user(s) | Add comment | Link to this article TWEET THIS


Article rating:
Good (3.3/5) 11 vote(s)    

Subscribe to news | Print article | Send to friend

© Copyright 2001-2009 Softpedia
Contact:

 

 

SEARCH THE NEWS ARCHIVE :




Today's News
| Yesterday's News | News Archive


MORE RELATED ARTICLES:


Softpedia Linux Weekly, Issue 34

Ubuntu 9.10 a.k.a. Karmic Koala

Ubuntu Training Program Improved Throughout USA

HP Realizes Ubuntu's Potential on Servers

Ubuntu 9.04 Alpha 4 Screenshot Tour

Canonical Publishes In-Depth Survey Results

Linux Kernel Vulnerabilities in Ubuntu 8.10. Update Today.

Ubuntu 8.04.2 LTS Released

User opinions:


Comment #1 by: Cypress on 24 Feb 2009, 12:07 GMT reply to this comment

The script placed in /home should read

#!/bin/bash
killall notification-daemon
sleep 1
~/.notify-osd/src/notify-osd

other wise it won't work :) Anyways, it segfaults quickly on my system.

Comment #1.1 by: Marius Nestor on 24 Feb 2009, 13:43 GMT

Damn it... I've fixed it. Thank you very much!


Comment #2 by: Michael Goodman on 24 Feb 2009, 13:35 GMT reply to this comment

Hello, I tried following the steps outlined above but when I typed in "mv notify-osd .notify-osd cd ~/.notify-osd sh autogen.sh" it came back with the following error message "mv: target `autogen.sh' is not a directory". I have no idea what this means! Any suggestions?

Comment #2.1 by: Marius Nestor on 24 Feb 2009, 13:42 GMT

Hi, I am very sorry... there was an mistake when I've published the tutorial.... It shoud be:

mv notify-osd .notify-osd
cd ~/.notify-osd
sh autogen.sh

There are 3 commands, not one! Please paste them one by one and hit enter after each one....


Comment #3 by: Kevin G on 25 Feb 2009, 04:35 GMT reply to this comment

awesome tutorial! works great!


Comment #4 by: Kevin on 26 Feb 2009, 00:11 GMT reply to this comment

bzr: ERROR: xmlrpc protocol error connecting to https://xmlrpc.edge.launchpad.net/bazaar/: 503 Service Temporarily Unavailable

Think the link is dead.... Should I just wait or...?

Thanks!

Comment #4.1 by: Marius Nestor on 26 Feb 2009, 07:35 GMT

It works now!


Comment #5 by: rico on 26 Feb 2009, 09:43 GMT reply to this comment

i get no notifications at all... does compiz have to be on? (i use metacity instead)

Comment #5.1 by: Marius Nestor on 26 Feb 2009, 09:51 GMT

That's strange.... No, Compiz and Metacity are not required.

Try to open a terminal window and type or paste the following commands one by one (hit enter after each one):

cd ~/.notify-osd/src
killall notification-daemon
./notify-osd

Leave it like that and disconnect and reconnect your network connection... see if the notifications appear.

Comment #5.2 by: rico on 26 Feb 2009, 10:18 GMT

yes that way the notification is appearing thanx. (looking nice but not working with evolution and volume)


Comment #6 by: scouser73 on 26 Feb 2009, 16:08 GMT reply to this comment

Excellent tutorial, and now I've got the new notifications, thankyou very much, a job well done.


Comment #7 by: Hai on 27 Feb 2009, 06:31 GMT reply to this comment

Can I remove those packages after having compiled Notify-OSD successfully?

Comment #7.1 by: Marius Nestor on 27 Feb 2009, 08:43 GMT

Yes! Just delete the folder. It is hidden, so press CTRL+H in your home folder to see it. It is named .notify-osd


Comment #8 by: m4ss on 27 Feb 2009, 17:45 GMT reply to this comment

Thanks !!! It works and was very nice to see


Comment #9 by: Mahyar on 06 Mar 2009, 22:02 GMT reply to this comment

It works except for my volume and brightness. They still look like they used to.

Any idea?

Comment #9.1 by: Marius Nestor on 09 Mar 2009, 09:07 GMT

Those two will not work in 8.10... sorry!


Comment #10 by: steven on 20 Mar 2009, 19:45 GMT reply to this comment

hi i have a laptop acer aspire 7520 with dual core processor
graphic card Geforce 7000m
2GB Ram
HDD 160
my problem is that the software did not recognise my graphic card and my screen resolution become big 640 x 800
help me plz tell me what to do so as the software may recognise my graphic card thx you so much

Comment #10.1 by: Marius Nestor on 20 Mar 2009, 22:58 GMT

Hi steven, did you installed the Nvidia drivers?

Go to System -> Administration -> Hardware Drivers and click the Activate button. Let the software to download and install the drivers. When it finishes, reboot!


Comment #11 by: Eko Dharmanto on 02 Apr 2009, 06:31 GMT reply to this comment

I have error after run : bzr branch lp:notify-osd

"You have not informed bzr of your launchpad login. If you are attempting a
write operation and it fails, run "bzr launchpad-login YOUR_ID" and try again."

Comment #11.1 by: Marius Nestor on 02 Apr 2009, 07:42 GMT

That's not an error :) It's just a notification in case you want to upload files to the notify-osd branch, if you are a developer. But in your case, all you need is to download the files.... and you can see the progress bar right after that warning. So, don't worry!


Comment #12 by: manuel on 04 Apr 2009, 14:36 GMT reply to this comment

I have the next problem in step 2 afher sh autogen.sh command:

checking for WNCK... configure: error: Package requirements (libwnck-1.0) were not met:

No package 'libwnck-1.0' found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables WNCK_CFLAGS
and WNCK_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
~/.notify-osd$

and it don't says "Now type 'make' to compile notify-osd"... type:
I can't do make

Comment #12.1 by: shini-kire on 10 Apr 2009, 01:13 GMT

I have the next problem in step 2 afher sh autogen.sh command:

checking for WNCK... configure: error: Package requirements (libwnck-1.0) were not met:

No package 'libwnck-1.0' found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables WNCK_CFLAGS
and WNCK_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
~/.notify-osd$

and it don't says "Now type 'make' to compile notify-osd"... type:
I can't do make
?????

solution???


Comment #13 by: phelcq on 09 Apr 2009, 19:51 GMT reply to this comment

I have the same problem as manuel.

I get the info that

No package 'libwnck-1.0' found

and I can't move on with the rest

Comment #13.1 by: Marius Nestor on 10 Apr 2009, 06:46 GMT

Well, I guess libwnck is required now... that's why the error... Therefore, you should install libwnck-dev package. Paste the following command in a terminal:

sudo apt-get install libwnck-dev

or, if you prefer the GUI method.... open Synaptic, search for libwnck-dev and install it.

I've also added libwnck-dev to the dependencies, in the tutorial.


Comment #14 by: Taylor on 11 May 2009, 21:30 GMT reply to this comment

Hi,

I've downloaded all the packages and have moved onto the next part. But I've received a few errors and can't move on.

bzr: ERROR: Invalid http response for http://bazaar.launchpad.net/~notify-osd-developers/notify-osd/main/.bzr/repository/packs/9b50671107e7017f45d4e7c61075ea61.pack: Missing the Content-Range header in a 206 range response

and

sh: Can't open Autogen.sh

Any help you can provide would be great! I would just switch to Jaunty but my video card is blacklisted, so I switched back to 8.10 and I'm trying to make it look pretty.


Comment #15 by: ethnopunk on 19 May 2009, 22:50 GMT reply to this comment

Will this work in Ubuntu Hardy 8.04?


Comment #16 by: Spook74 on 01 Sep 2009, 21:17 GMT reply to this comment

Any way to go the other direction??? The new one in 9.4 just displays for a bit, disappears if I mouse over it, and then goes away after x seconds, whether I've read it or not! I'd prefer something I have to click to dismiss!

Spook

Share your opinion:

Your Name:
Your Email Address:
(will not be used for commercial purposes)
Solve this to prove you're not a bot: =
Your review/opinion:

 




Windows tabGames tabDrivers tabMac tabLinux tabScripts tabMobile tabHandheld tabGadgets tabNews tab

SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   ENTER NEWS SITE   |   ENGLISH BOARD   |   ROMANIAN FORUM