Daily Archives: October 19, 2007

how to install avant and applets and also avant curves from source

1. Install AWN

First, prepare your system. Open a terminal and enter the following:

Code:

sudo apt-get install build-essential subversion automake1.9

Next, Install the dependencies:

Code:

sudo apt-get install bzr libgtk2.0-dev libwnck-dev libwnck-common  librsvg2.0-c libgconf2-dev libglib2.0-dev libgnome2-dev libgnome-desktop-2 librsvg2.0-c libgnome-desktop-dev libdbus-glib-1-dev gnome-common libxcomposite-dev libxdamage-dev librsvg2-dev libgtop2-dev libgnome-menu-dev libgnome-menu2 libgnome-menu-dev librsvg2.0-cil librsvg2-2 librsvg2-common librsvg2-dev libgtop2-7 libgtop2-common libgtop2-dev python-dev python-gtk2-dev python-cairo-dev python-gconf python-gnome2-dev

Finally, open a terminal and build AWN from source like so:

Code:

bzr co http://bazaar.launchpad.net/~awn-core/awn/trunk avant-window-navigator
cd avant-window-navigator
./autogen.sh && make && sudo make install

Next we’ll install the AWN-Extras so keep that terminal open.

2. Install AWN-Extras

First install the dependencies:

Code:

sudo apt-get install build-essential automake1.9 autotools-dev bzr libgnome-menu-dev librsvg-dev

Get the source code from BZR:

Code:

bzr co http://bazaar.launchpad.net/~awn-extras/awn-extras/trunk awn-extras

Move to the applets directory:

Code:

cd awn-extras/awn-applets/awn-core-applets/

Compile and install:

Code:

./autogen.sh && make && sudo make install

Then simply type this to start AWN:

Code:

avant-window-navigator

3. Some Final Notes

If you would like to add a Control Applet for your media player to the AWN dock as well as some other more experimental applets, check out my other guide here:http://ubuntuforums.org/showthread.php?t=561495

First, if you haven’t already, install bazaar.
Applications/ Accessories/ Terminal

Code:

sudo apt-get install bzr

If you’ve already installed awn forget about the first line.

Code:

sudo apt-get install build-essential autotools-dev libxdamage-dev libxcomposite-dev libgnome2-common libgnome2-dev libgnome-desktop-dev libgnome-vfs-dev libgtk2.0-dev libwnck-dev libgconf2-dev libglib2.0-dev libdbus-glib-1-dev libgnomevfs2-0 libgnome-desktop-2 libgnome2-0 libwnck-common python-gtk2 python-gconf bzr gnome-common python-dev python-gtk2-dev python-cairo-dev python-gconf python-gnome2-dev
bzr co http://bazaar.launchpad.net/~awn-curves-team/awn/awn-curves awn-curves
cd awn-curves
./autogen.sh && make
sudo make install


To remove awn-curves:

Open a terminal, cd to your awn-curves directory, and type

Code:

sudo make uninstall

Site: http://www.planetblur.org/hosted/awn…=1&isLive=true

little script made to update bzr and compile..

Code:

cd ~
nano updateawn.sh

Enter the following into that file..

Code:

cd awn-extras
bzr update
cd awn-applets/awn-core-applets
./autogen.sh ; make ; sudo make install
cd ~/avant-window-navigator
bzr update
./autogen.sh ; make ; sudo make install
cd ~/ avant-curves
bzr update
./autogen.sh ; make ; sudo make install
cd ..
echo "complete"

ctrl-x then y to save

Code:

chmod 755 updateawn.sh

then to update and install the updates, simply do

Code:

cd ~
./updateawn.sh

Have fun