Tuesday, July 3, 2007

Make AWN look like Mac Leopard Dock

This is a how to on making the AWN dock for Linux look like the mac Leopard dock which hasn't even come out yet. Now if you haven't seen the new mac dock what it is going to look like is a more three dimensional dock. It kind of looks liek icons sitting on a shelf, instead of in front of a rectangle. So first off if you do not already have the awn dock for linux get its and install it in terminal by doing this:

sudo apt-get install subversion

sudo apt-get install libgtk2.0-dev libwnck-dev libwnck-common libgconf2-dev libglib2.0-dev gnome-common

svn checkout http://avant-window-navigator.googlecode.com/svn/trunk/ avant-window-navigator

that will get you the source but before you compile it you need to get the patch which will make it look like the new mac dock.

First go to this link: http://pastebin.ubuntu-nl.org/27643/ and copy the text found there into an empty file and make it executable. Then name that file: diff.patch

Next we are going to put that file into the avant-window-navigator directory that the source is in. Then cd to that directory in terminal. Then run this command: sudo patch -p1 <>

Once that is done the patch has been applied and it is now time to compile awn. Follow these commands from in the avant-window-navigator directory:

./autogen.sh

make

sudo make install

Now awn is installed and you can run it. But now we need to change some settings to get this to look like the mac dock. So open a new terminal and type the command: gconf-editor

Then navigate to:

apps>avant-window-navigator>bar

then edit the bar angle and change it to 45

now restart awn and it is amazing looking!!!