Search Perform an advanced search query SOFTPEDIA
 
SOFTPEDIA
Updated one minute ago
HomeSubmit a program for being reviewedAdvertise on our websiteGet help on surfing our websitesSend us your feedbackGet information about our XML/RSS backend and how to use itBrowse the news archiveVisit our discussion forumVizitati forumul in limba romana



KLIP
  1. HOME
  2. SCIENCE
  3. TECHNOLOGY
  4. WEBMASTER
  5. SECURITY
  6. MICROSOFT
  7. LINUX
  8. APPLE
  9. GAMES
  10. TELECOMS
  11. REVIEWS
  12. LIFE & STYLE
  13. EDITORIALS
  14. INTERVIEWS
  15. RSS
Welcome!
Hello, Guest

Login if you have a Softpedia.com account.

Otherwise, register for one.

UBUNTU TIPS AND TRICKS

Install AWN on Hardy Heron

- Eye candy dock for Ubuntu users!

By: Marius Nestor, Linux Editor

As promised, today's tutorial is here to help actual and future Ubuntu 8.04 (Hardy Heron) users to install the latest AWN (Avant Window Navigator).
We will offer two methods: from a repository and from sources.

But first, a little history lesson about AWN. OK? Good... You should know that Avant Window Navigator, also known as AWN, is a dock-like bar which sits at the bottom of the screen. It has support for launchers, task lists, and third party applets. To get a better idea about what we are talking about here, take a look at the image in the left!

We have tried to make this guide as simple as possible, for every user to follow it and obtain a working AWN installation in the end.

Method 1 - The Easy Way

This is the easy method and recommend for all users!

Step 1 - Add the repositories

Go to System -> Administration -> Software Sources and enter your password when asked.

Review image

A new window appears, click the second tab "Third-Party Software", then click the 'Add' button and paste the following lines (one by one):

CODE

deb http://ppa.launchpad.net/awn-testing/ubuntu hardy main
deb-src http://ppa.launchpad.net/awn-testing/ubuntu hardy main


Review image

Now click the 'Close' button of the main window. It will ask if you want to reload the information about available software. Click 'Reload' and wait for the Software Sources window to close.

Review image

Step 2 - Install AWN

Open a terminal (Applications -> Accessories -> Terminal) and paste the following command:

CODE

sudo apt-get install awn-manager-trunk awn-extras-applets-trunk


Hit the "Y" key when asked, and complete the installation. Close the terminal window and start the AWN dock from Applications -> Accessories -> Avant Window Navigator.

Review image

WARNING: Be aware that AWN will appear over your bottom GNOME panel, therefore you should delete the panel before launching AWN! See the third tip from the "Bonus tweaks" section below.

Method 2 - The Hard Way

For an easy reading, I will break this method in three big steps: Installing Dependencies, AWN Compilation, AWN Applets Compilation! Let's begin, shall we?

Step 1 - Installing necessary dependencies

Open a terminal (Applications -> Accessories -> Terminal) and paste the following code:

CODE

sudo apt-get install gnome-common automake build-essential gtk-doc-tools libglib2.0-dev python2.5-dev bzr python-gtk2-dev python-cairo-dev libglade2-dev libdbus-glib-1-dev libgnome-desktop-dev libgnome-dev libgsf-gnome-1-dev libwnck-dev libsexy-dev libnotify-dev librsvg2-dev libgnome-menu-dev libgtop2-dev libvte-dev python-alsaaudio python-feedparser python-gnome2-extras-dev


Enter your password and hit the "Y" key when asked. Close the terminal when everything was successfully installed.

Step 2 - Compiling the AWN sources

Download Avant Window Navigator from Softpedia, extract the archive by right clicking on it -> Extract Here. Open a terminal (Applications -> Accessories -> Terminal) and go to the AWN folder with the "cd" command:

CODE

cd /path/to/awn/folder (e.g. /home/marius/Desktop/avant-window-navigator-0.2.6)


And paste the following command:

CODE

./autogen.sh --prefix=/usr && make


When the compilation is over, you must install Avant Window Navigator with the following command:

CODE

sudo make install


Close the terminal!

Step 3 - Compiling the AWN applets

At this point, AWN is installed and functional. But, we will need some applets to make it more useful and powerful. Therefore, open a terminal (Applications -> Accessories -> Terminal) and fetch the latest AWN applets with the following command:

CODE

bzr branch lp:awn-extras awn-extras


Wait a few minutes until the whole applets will download.

Editor's Note: To get a better idea about the applets you are about to install, take a look here.

Now, "cd" to the awn-extras directory, which should be located in your home folder (e.g. cd /home/marius/awn-extras), and paste the following command:

CODE

./autogen.sh --prefix=/usr && make


When the compilation is over, you must install the applets with the following command:

CODE

sudo make install


That's it! You can close the terminal now and start the AWN dock from Applications -> Accessories -> Avant Window Navigator.

Bonus tweaks

Tip 1

For the Avant Window Navigator to automatically appear every time you log-in, open the Sessions program (System -> Preferences -> Sessions), on the "Startup Programs" tab click the 'Add' button and fill the fields like in the image below.

Review image

Tip 2

In order to get the software shortcuts you need on the AWN dock, you can drag them from the GNOME panel or from your desktop, on it!

Also, from the AWN Manager (System -> Preferences -> AWN Manager) you can add software shortcuts and the nice applets you've just installed!

Moreover, you can find some nice AWN themes here.

Tip 3

Next task is to get rid of those old GNOME panels!

ATTENTION: Before you delete the panels, remove all the applets and software shortcuts (look first at Tip 2 above) from them! It is extremely important to remove all the applets and let the panels "naked" for the AWN dock to perform properly!

First, delete the alternative (bottom) GNOME panel, if you have one. Now comes the tricky part, because the remaining panel can't be deleted. So, go to System -> Preferences -> Sessions and click the second tab, "Current Session". Click once on the gnome-panel entry in that list and then hit the 'Remove' button to delete the last remaining panel. Then, click on the "Session Options" tab and check the 'Automatically remember running applications when logging out' option and hit the 'Remember currently running applications' button. Close the Sessions window and reboot the computer.

WARNING: The 'Automatically remember running applications when logging out' option from the Sessions tool will start all the programs you left open when you've logged out. Therefore, make sure to close the application you do NOT want to start every time you log-in!

Tip 4

Pidgin fans can install a nice plugin which will show their current status (away, busy, available, etc), it will display the number of unread messages and will alert about new messages.

First of all, make sure you have a Pidgin shortcut on your AWN dock (see Tip 2). Download the plugin from here and extract the archive. Go in your home folder and hit the 'Ctrl+H' key combination to see the hidden folders and files. Enter the .purple directory and create a plugins folder if it doesn't exist. Copy the pidgin_awn.so file from the Pidgin AWN plugin's folder to the .purple/plugins directory. Now, open Pidgin, go to Tools -> Plugins and check the 'AWN Plugin' entry. That's it! You will see that the Pidgin shortcut is changed (depending on your status) and when someone will send you messages it will look like this:

Review image

Tip 5

Banshee fans can install a nice plugin which will display the cover art of the currently playing song, show the progress of the current song and offer play controls on the right-click context menu.

First of all, make sure you have a Banshee shortcut on your AWN dock (see Tip 2). Download the plugin from here and extract the archive on your home folder. Open a terminal (Applications -> Accessories -> Terminal) and paste the following commands:

CODE

sudo cp $HOME/banshee-awn-plugin/Banshee.Plugins.Awn.dll /usr/lib/banshee/Banshee.Plugins/
sudo chmod 644 /usr/lib/banshee/Banshee.Plugins/Banshee.Plugins.Awn.dll


Now, open Banshee, go to Edit -> Plugins and check the 'Avant Window Navigator' entry. That's it! You will see that the Banshee shortcut will show the progress of the current song and the cover art (if you have).

Review image

Tip 6

Special thanks to anon for this tip

If you want a curvy style of the AWN dock, open a terminal (Applications -> Accessories -> Terminal) and paste the following command:

CODE

gconf-editor


When the GConf Editor window appears, go to apps -> avant-window-navigator -> bar (in the left side) and then, o the right side, set the -1 value to the first entry (bar_angle). That's it! AWN should change instantly and it should look like in the image below.

Review image

That's it folks! From now on, AWN should automatically start every time you log in and you can now enjoy a modern eye-candy Linux desktop!

Uninstalling AWN

If you installed AWN using the second method (from sources) and you want to uninstall it, open a terminal and paste the following commands (one by one):

CODE

sudo rm -f /usr/bin/awn*
sudo rm -f /usr/bin/avant*
sudo rm -rf /usr/lib/awn
sudo rm -f /usr/share/locale/*/LC_MESSAGES/avant-window-navigator.mo
sudo rm -f /usr/share/applications/avant*
sudo rm -f /usr/share/applications/awn*
sudo rm -rf /usr/share/avant-window-navigator
sudo rm -f /usr/lib/libawn*
sudo rm -rf /usr/include/libawn
sudo rm -f /usr/lib/libawn*
sudo rm -f /usr/lib/pkgconfig/awn.pc
sudo rm -rf /usr/share/awn-core-applets
sudo rm -rf /usr/lib/python2.5/site-packages/awn/
rm -rf ~/.config/awn
rm -rf ~/.gconf/apps/avant-window-navigator


Also, don't forget to remove the Avant Window Navigator entry from the Startup Programs list on the Sessions (System -> Preferences -> Session) tool.


MORE RELATED ARTICLES: How to Install Compiz Fusion on Ubuntu Ubuntu 7.10 on PS3 GNOME 2.22: A Truly Amazing Desktop! KDE 4.0.3 and Kubuntu Packages Are Now Available Adobe AIR for Linux Released Automatix Is Dead Mac OS X Hacked - Vista SP1 Hacked – Ubuntu Linux Survives Unscathed Create Your Own Sexylicious Ubuntu Desktop Amazon Launches MP3 Downloader for Linux
 
Comments | Link here | Subscribe
Print | Send to friend
Today's News | Yesterday's News

Search:


5th April 2008, 14:51 GMT | Copyright (c) 2008 Softpedia | Contact:
Read by 51,366 user(s) | Rating: | 15 vote(s) so far | Cast your vote:
Install AWN on Hardy Heron - USER OPINIONS

Comment #1 by Mark Lee on 2008-04-05, 19:07 GMT reply to this comment 
Hello,

I'm one of the developers of Awn and Awn Extras. Thanks for promoting Awn! I'd like to point out that we don't recommend that Ubuntu users compile from source. To that end, we maintain a semi-official repository of development builds for both projects on Launchpad:

https://launchpad.net/~awn-testing/+archive

We try to make to keep these builds relatively stable, so they should be good for day-to-day use. Plus, you get to preview features that we're working on :)

-Mark (AKA malept)

Reply #1.1 by Marius Nestor on 2008-04-06, 01:53 GMT
Hi Mark,

Thank you for your comment! I have added the "repository installation" in the tutorial.

However, I wrote this guide because I've tested AWN on Hardy Heron for about 1 month (long before the Beta of 8.04) and since I couldn't found any repository with up-to-date packages for Hardy, I have tried the source installation and everything works perfect... no errors... no nothing :)

Kind regards,

Marius Nestor

Comment #2 by Shane Kerns on 2008-04-06, 20:02 GMT reply to this comment 
Nice post. I was wondering if you could tell me which theme makes your teminal look like the one in your screen shot.
I also can't seem to find the Network Manager applet in the applet options so I had to remove AWN for that very reason.

Reply #2.1 by Marius Nestor on 2008-04-07, 00:32 GMT
No theme! It's an AWN applet... just right click on it and set the opacity to 0.8 and it will look like in the screenshot. About the Network Manager... a plugin will be available soon... but until then, you will have to use the System Tray applet to see it (just like in the screenshot).

Comment #3 by Andrew Beeber on 2008-04-14, 17:46 GMT reply to this comment 
Hi Guys,

This is great stuff, though I hit some problems.

I went through both the easy and hard installation guides and ran into problems in both procedures.

In the easy method, the repository did not have the awn-extras-applets-trunk package.

When I went to do the second "hard" install I also got an error when compiling the awn-extras.

I should add that this was a clean install and the OS had just gone through a partial update.

Thanks,

Andrew

Reply #3.1 by Marius Nestor on 2008-04-14, 23:46 GMT
Hi!

Can you post here the error from the awn-extras compilation please?

And the awn-extras-applets-trunk is in the repository as far as I see... :)

Reply #3.2 by MountainX on 2008-04-15, 12:24 GMT
I am having the same problem. On Hardy I do not have the awn-extras-applets-trunk package. I have gone through all the steps several times and checked everything and still, no extras. I have checked from both Synaptic and the command line.

I could use some help finding/installing the extras package.

Comment #4 by MountainX on 2008-04-15, 12:50 GMT reply to this comment 
I resolved my problem by following this thread:
http://ubuntuforums.org/showthread.php?t=385981

I uninstalled first and followed those directions and now I have the extras.

Comment #5 by Andrew Beeber on 2008-04-15, 17:02 GMT reply to this comment 
Hi Marius,

In reply to your post, I will include the output of the compile error I received when I tried to install the extras.

Note, this was a clean install of the OS without any patching or partial upgrades.

After running "bzr branch lp:awn-extras awn-extras" and the following next step "./autogen.sh --prefix=/usr && make"

I got the following output...

andrew@indie:~/Desktop/avant-window-navigator-0.2.6$ ./autogen.sh --prefix=/usr && make
/usr/bin/gnome-autogen.sh
checking for autoconf >= 2.53...
testing autoconf2.50... not found.
testing autoconf... found 2.61
checking for automake >= 1.9...
testing automake-1.10... found 1.10.1
checking for libtool >= 1.5...
testing libtoolize... found 1.5.26
checking for glib-gettext >= 2.2.0...
testing glib-gettextize... found 2.16.3
checking for intltool >= 0.30...
testing intltoolize... found 0.37.1
checking for pkg-config >= 0.14.0...
testing pkg-config... found 0.22
checking for gtk-doc >= 1.0...
testing gtkdocize... found 1.9
Checking for required M4 macros...
Checking for forbidden M4 macros...
Processing ./awn-extras/configure.ac
Running libtoolize...
You should add the contents of `/usr/share/aclocal/libtool.m4' to `aclocal.m4'.
Putting files in AC_CONFIG_AUX_DIR, `..'.
Running glib-gettextize... Ignore non-fatal messages.
Copying file mkinstalldirs
Copying file po/Makefile.in.in

Please add the files
codeset.m4 gettext.m4 glibc21.m4 iconv.m4 isc-posix.m4 lcmessage.m4
progtest.m4
from the /aclocal directory to your autoconf macro directory
or directly to your aclocal.m4 file.
You will also need config.guess and config.sub, which you can get from
ftp://ftp.gnu.org/pub/gnu/config/.

Running intltoolize...
intltoolize: 'po/Makefile.in.in' is out of date: use '--force' to overwrite
andrew@indie:~/Desktop/avant-window-navigator-0.2.6$

Note for your reference... I also did a full reinstall of the OS and patched it with a partial upgrade and ran your same procedure. While the I was able to compile and install both AWN and AWN-Extras, I received a crash error when launching AW Manager from the Accessories menu. I figured the crash was due to the partial upgrade which might have affected your procedure.

I hope this is of use. Thank you for putting this together.

Andrew

Comment #6 by anon on 2008-04-17, 18:46 GMT reply to this comment 
I got a tip 7, you can make AWN be in a curvy.

Press Alt+F2, type in "gconf-editor". Then click on apps->avant-window-navigator->bar, and change the bar_angle to be -1.

Enjoy!

Reply #6.1 by Marius Nestor on 2008-04-18, 05:36 GMT
I've added your tip in the tutorial. Thanks!

Comment #7 by Lucass Lanto on 2008-04-24, 20:05 GMT reply to this comment 
Good tutorial, I got everything installed well but for some reason AWN doesn't want to start. I tried reinstalling it and restarting but nothing seems to work.

Reply #7.1 by Fermin Franco on 2008-05-03, 06:37 GMT
Thanks for the tutorial. It worked perfectly one machine in which i installed it for a friend. However when i tried to install it in mine it didnt work. I previously had a version of AWN for gutsy, and i removed it with the instructions in the before mentioned ubuntu forums thread (tutorial). Then i followed your repository method and all went well apparently. But, like the person of the comment above, AWN doesnt appear when i call it neither from the menu in accesories nor from the command prompt. When i call it from the terminal i get the following message:

fermin@fermin-laptop:~$ avant-window-navigator
avant-window-navigator: symbol lookup error: avant-window-navigator: undefined symbol: awn_vfs_init

Could you help me with this issue? What could it be?

Reply #7.2 by Marius Nestor on 2008-05-03, 13:31 GMT
Open a terminal and execute the following command:

sudo ldconfig

Now open AWN again and tell me if it's working!

Comment #8 by Caio NA on 2008-04-27, 12:41 GMT reply to this comment 
very good tutorial!! it worked very well with me!!
Thanks a million!!!


Reply #8.1 by Arch Parsons on 2008-04-29, 19:46 GMT
I tried to install Awn using the first method and tip 3 but upon rebooting all I get is the background image and no menu bar on the top. Can ayone help?

Reply #8.2 by Marius Nestor on 2008-05-03, 13:42 GMT
To Arch Parsons: It appears the AWN doesn't automatically start at login, therefore hit ALT+F2, type gnome-panel and hit enter. The panel will appear, right click on it and click on the Add to Panel... option. Add the Main Menu applet.

Now go to System -> Preferences -> Sessions and take a look at the Startup Programs list and see if Avant Window Navigator is listed there. If it's not listed there add it yourself by clicking on the Add button (type AWN on the Name field and avant-window-navigator on the Command field).

Log out and log back in to see if AWN appears. If it doesn't appear it may be another problem, so try to open a terminal and run AWN from there with the avant-window-navigator command and paste here the output!

Comment #9 by Szabolcs Gergely on 2008-05-04, 14:42 GMT reply to this comment 
I installed this as well last night (along with a cool OS X style theme. See screenshot here: www.trialoftears.net/temp/szabi_ubuntu.jpg). Everything seems to be working fine. Got one question though. How do I get the Ubuntu Main Menu on there. I know that it does have a menu, but that's not the standard Ubuntu Menu, but something called Cairo, And I want to get the Trash bin on there. I also known that there's TWO trash been apps in AWN, but neither is working properly: 1. the aren't showing when there's something in the trash bin (it doesn't change from empty to full) and eventhough you say "empty" it won't empty it. You then have to go into the Trash yourself and empty it with the button that's located there...

Another small bug that I found is that, sometimes when you have a full screen window for let's say Firefox, eventhough you go to the bottom the navigator won't appear. Any remedy to that? I have set it up like that, that when I go to full screen with some app, then the navigator disappears under it and it only comes up when I go to the bottom of the page.

Thanks!
Szabi

Reply #9.1 by Marius Nestor on 2008-05-04, 20:35 GMT
I use the Main Menu Applet not the Cairo one or the other menus.... The Main Menu Applet is the closest one to the real Ubuntu menu, but there is no trash!

Unfortunately I don't have any remedy for the trash and the full screen problems you mention.

Comment #10 by Leonardo on 2008-05-06, 17:09 GMT reply to this comment 
Its very good, so share it.

Comment #11 by Viv on 2008-05-10, 01:42 GMT reply to this comment 
I did install AWN - and also did add it to start up program list.
But it simply does not start at log on.
When i checked it in the start up programs list, it was still there. So i tried to run it from the terminal using cmd.
It gave the following error :
Error: Screen isn't composited. Please run compiz (-fusion) or another compositing manager.
I tried to run compiz -fusion, but this simply leg to a log off immidiately, and on log on no changes were applied.
Stll stuck, can u help !!

Reply #11.1 by Marius Nestor on 2008-06-17, 23:36 GMT
Yes, your problem is very simple... you don't have Compiz! To activate Compiz, right click on your desktop, choose "Change Desktop Background", click on the last tab (Visual Effects) and than select the 'Normal' option to activate Compiz.

Now run AWN.

Comment #12 by Tobias on 2008-05-25, 13:07 GMT reply to this comment 
Hi, thx for an excellent guide. But I've got a problem with that pidgin plugin. After I've put the "pidgin_awn.so" in the newly created "plugins" foldern nothing happens. It doesnt appear a "Awn plugin" in the plugins-preferences in pidgin. Any ideas?

Thx in advance

Comment #13 by Javed on 2008-05-28, 19:26 GMT reply to this comment 
Hey, excuse me if this is a little late, but i installed awn using the repository method that you described, but for future reference, how would i go about uninstalling it completely please?

Reply #13.1 by Marius Nestor on 2008-06-17, 23:33 GMT
To uninstall it, paste the following command in a terminal:

sudo dpkg -P avant-window-navigator-data-trunk avant window-navigator-trunk awn-extras-applets-trunk awn-manager-trunk libawn0-trunk python-awn-trunk

Comment #14 by Richard on 2008-06-17, 15:35 GMT reply to this comment 
Hi, i have installed AWN using the easy method but can not get the dock to display. When i select it from the accessories menu i see a dark box appear in the top right corner for a moment and then nothing. I can see a avant-window-navigator process running but it is sleeping, i can open the AWN manger ok and have set it to autostart but still nothing, please could you help.

Thanks

Reply #14.1 by Marius Nestor on 2008-06-17, 23:29 GMT
Did you enabled Compiz?

Comment #15 by Tony on 2008-07-12, 16:29 GMT reply to this comment 
When I attempt to install awn-manager-truck I get this result:

sudo apt-get install awn-manager-trunk awn-extras-applets-trunk

Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
awn-manager-trunk: Depends: python-awn-trunk but it is not going to be installed
Depends: python-central (>= 0.6.7) but 0.6.5ubuntu1 is to be installed
E: Broken packages


Comment #16 by Francesco on 2008-07-16, 14:44 GMT reply to this comment 
Hi, just updated awn from trunk repository, this is the output I get by launching it from console:
fra@fra-desktop:~$ avant-window-navigator
Traceback (most recent call last):
File "/usr/share/avant-window-navigator/awn-applets-migration.py", line 6, in
import awn
File "/usr/local/lib/python2.5/site-packages/awn/__init__.py", line 13, in
from awn import *
ImportError: /usr/local/lib/python2.5/site-packages/awn/awn.so: undefined symbol: awn_applet_gconf_set_bool


What's going on ?
Thanx

Comment #17 by Eirik on 2008-07-22, 07:06 GMT reply to this comment 
I'm gonna install this tonight and hopefully I won't need the answer to my question, but:

You have included tutorial for complete uninstall for users installing "the hard way". How does one uninstall AWN when following "the easy" installation?

thanks


go to top


SHARE YOUR OPINION ABOUT Install AWN on Hardy Heron

Since you are not logged on, your comments will have to be approved before being displayed.
Click here to login, or register.
Your Name:
Your Email:
Type in the result:
Your Opinion:
 


DO YOU WANT TO CONTACT US?  

If you have some comments or you want to send us some information you can send us an email directly to .
You can use the form below for the same purpose.
Your full name: (at least 3 characters)
Your email address: (at least 5 characters)
Message subject: (at least 5 characters)
Message text:
(at least 10 characters)
Type in the result:
 
 



© 2001 - 2008 Softpedia. All rights reserved.
Softpedia™ and Softpedia™ logo are registered trademarks of SoftNews NET SRL.
Copyright Information | Privacy Policy | Terms of Use | Contact Softpedia | Update your software | Archive