[B][U]**************************************************************************** ************************************************************************** ATTENTION!! This post is no longer being updated, please see the following post instead: http://ubuntuforums.org/showthread.php?p=2307772 ************************************************************************** ****************************************************************************[/U][/B]
Many of you saw the digg post recently for avant window navigator and wanted to know how to compile it and get it working on ubuntu. It's actually quite useful and very neat eye-candy. : )
NOTE: You will need to be running either XGL or AIGLX along with a composite window manager (usually beryl or compiz). I am running AIGLX and beryl, in case you were wondering.
UPDATE: Someone has posted a .deb file to make it easier for you all to install, see the bottom of my post.
Here's how I got it to compile on my edgy-eft installation. (These should work for dapper-drake as well) [B] UPDATE 2: I saw that several people posted that the svn checkout works much better, this is so true! So I've added two sections, Option 1 for stable code, and Option 2 for svn (read: better) code.[/B] _I strongly recommend using the SVN code, and it's still easy to do for all of you who may be new to linux! Just follow the Option 2 instructions_
UPDATE 3: The latest code release (at least as far as SVN goes) requires a few extra packages to be installed: libgnome2-dev libgnome-desktop-2 libgnome-desktop-dev
_Option 1_: Download the latest code release from the official product page: http://code.google.com/p/avant-window-navigator/downloads/list The file that I used was: http://avant-window-navigator.googlecode.com/files/avant-window-navigator-0.1.1-2.tar.gz
You should save this file to your home directory for easy access in your console. If not, locate the file and put it there.
Open a terminal and type the following:
tar -zxvf avant-window-navigator-0.1.1-2.tar.gz
This might be different if you used a different version of the code. Just type up to the avant part and hit tab and the rest of the file name should be completed.
After you have extracted (or checked out) all of the files, change to the new directory that you have created:
cd avant-window-navigator-0.1.1/
Again, this will be easiest if you just type cd avant-window and then hit tab.
Now we have to install the essential build dependencies and programs.
sudo apt-get install build-essential
Next we have to install a few dependent packages for the compiler that are not installed by default:
sudo apt-get install libgtk2.0-dev libwnck-dev libwnck-common libgconf2-dev libglib2.0-dev libgnome2-dev libgnome-desktop-2 libgnome-desktop-dev
Now we go through the basic compile steps...
First we configure:
./configure
Now we compile (make):
make
Then we have to make install, which we have to run as root to properly complete:
sudo make install
_Option 2:_ Compile from SVN: First we need to install subversion:
sudo apt-get install subversion
We'll also need a few additional libraries (Note: You also need gnome-common which was not required for the .tar.gz code source)
sudo apt-get install libgtk2.0-dev libwnck-dev libwnck-common libgconf2-dev libglib2.0-dev gnome-common libgnome2-dev libgnome-desktop-2 libgnome-desktop-dev
Now we check out the code:
svn checkout http://avant-window-navigator.googlecode.com/svn/trunk/ avant-window-navigator
Change into the directory the code is in:
cd avant-window-navigator
Use his auto-gen script (instead of ./configure):
./autogen.sh
Compile:
make
And install binaries:
sudo make install
_IMPORTANT!_ There is one last step which many people will miss! In order to avoid a seg-fault do the following:
cd data
gconftool-2 --install-schema-file=avant-window-navigator.schemas
Now you can type the following command to start it:
avant-window-navigator
You can also add this line to your startup script list under System - Preferences - Sessions
Also, on my system I found a link to start it on my menu: Applications - Accessories - Avant Window Manager
To change any preferences with the program you will have to do the following in a console:
avant-preferences
Let me know if you guys have any problems! I'll be watching this thread for the next week or so and try to give you all help! Please post comments as well, my first tutorial. :D
Cheers, FunnyLookinHat
*EDIT* I listed this on digg, please digg it for the other ubuntu users who will want to use this! http://www.digg.com/linux_unix/Ubuntu_Tutorial_for_Avant_Window_Manager_Eye_Candy
****EDIT 2******* Bugz (I think that's his name) posted a link to a .deb for all of you who would rather not compile: http://ubuntuforums.org/attachment.php?attachmentid=24376&d=1170430951