Ubuntu Forums ubuntu.com - launchpad.net - ubuntu help  

Go Back   Ubuntu Forums > The Ubuntu Forum Community > Forum Archive > Main Support Categories > Desktop Effects & Customization
Register Reset Password Forum Help Forum Council Search Today's Posts Mark Forums Read

Hello, Unregistered You are browsing a READ only archive of the main support categories pre 4/21/2008. You will not be able to post or reply any threads in this section.

Desktop Effects & Customization
This section is for all your compositing needs. This includes Beryl, Compiz, xcompmgr, and other fancy apps which take advantage of compositing managers such as kiba-dock and avant window decorator

 
Thread Tools Display Modes
Old February 1st, 2007   #1
FunnyLookinHat
Just Give Me the Beans!
 
Join Date: May 2005
Beans: 53
HOW-TO: Compile Avant Window Navigator

************************************************** ****************************
************************************************** ****************************
ATTENTION!! This post is no longer being updated, please see the following post instead:
http://ubuntuforums.org/showthread.php?p=2307772
************************************************** ****************************
************************************************** ****************************


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)

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.

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-windo...downloads/list
The file that I used was:
http://avant-window-navigator.google...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:
Quote:
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:
Quote:
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.
Quote:
sudo apt-get install build-essential
Next we have to install a few dependent packages for the compiler that are not installed by default:
Quote:
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:
Quote:
./configure
Now we compile (make):
Quote:
make
Then we have to make install, which we have to run as root to properly complete:
Quote:
sudo make install
Option 2:
Compile from SVN:
First we need to install subversion:
Quote:
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)
Quote:
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:
Quote:
svn checkout http://avant-window-navigator.googlecode.com/svn/trunk/ avant-window-navigator
Change into the directory the code is in:
Quote:
cd avant-window-navigator
Use his auto-gen script (instead of ./configure):
Quote:
./autogen.sh
Compile:
Quote:
make
And install binaries:
Quote:
sudo make install

IMPORTANT!
There is one last step which many people will miss! In order to avoid a seg-fault do the following:
Quote:
cd data
gconftool-2 --install-schema-file=avant-window-navigator.schemas
Now you can type the following command to start it:
Quote:
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:
Quote:
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.

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/Ubunt...ager_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.p...6&d=1170430951

Last edited by FunnyLookinHat; May 7th, 2007 at 06:16 PM.. Reason: New packages required and updated.
FunnyLookinHat is offline  
Old February 1st, 2007   #2
patrickjst
First Cup of Ubuntu
 
Join Date: Dec 2006
Beans: 1
Re: HOW-TO: Compile Avant Window Navigator

Nice post. I tried this myself before reading and was one those dopes who got the segfault. Working now though. Thanks!
patrickjst is offline  
Old February 1st, 2007   #3
xxzeenoxx
5 Cups of Ubuntu
 
Join Date: Dec 2006
Location: Orlando, FL
Beans: 17
Ubuntu 7.10 Gutsy Gibbon
Re: HOW-TO: Compile Avant Window Navigator

i got past the step which installs the dependent packages, but where or how do i compile it. i was putting in ./configure but it was saying no such file or directory. sorry, i'm VERY new to linux. i was just copying and pasting the commands.


NEVEVRMIND...im dumb, i wasnt even in the directory. Sorry guys, i'm slowly learning. I'm just kicking myself in the a** for not trying linux sooner....I LOVE IT!

Last edited by xxzeenoxx; February 1st, 2007 at 06:20 PM..
xxzeenoxx is offline  
Old February 1st, 2007   #4
FunnyLookinHat
Just Give Me the Beans!
 
Join Date: May 2005
Beans: 53
Re: HOW-TO: Compile Avant Window Navigator

Sorry zeeno, I left out a step!

After you unpack the file (The line that starts with tar -zxvf) you will have to change into the directory that all the files went into.

cd avant-window-navigator-0.1.1/
FunnyLookinHat is offline  
Old February 1st, 2007   #5
Grog140
Gee! These Aren't Roasted!
 
Grog140's Avatar
 
Join Date: Mar 2006
Beans: 155
Re: HOW-TO: Compile Avant Window Navigator

I got it compiled alright, but all the icons in it seem buggy. I am not sure if it is just a bug because it is an early release or what.

But as far as I can tell, the active icon glow seems to be on top of the icon, making the acon disappear and leaving just a blank looking space.
Grog140 is offline  
Old February 1st, 2007   #6
pinkpanther_bc
5 Cups of Ubuntu
 
pinkpanther_bc's Avatar
 
Join Date: Jan 2006
Location: BC
Beans: 22
Gutsy Gibbon Testing
Send a message via Yahoo to pinkpanther_bc
Re: HOW-TO: Compile Avant Window Navigator

This looks great, but cant get it to work!

frank@frank-laptop:~$ avant-window-navigator
Floating point exception (core dumped)

Avant-preferences -- the folder contents could not be displayed
error accessing 'file:///usr/local/share/avant-window-navigator/active': File not found
pinkpanther_bc is offline  
Old February 1st, 2007   #7
glabouni
Gee! These Aren't Roasted!
 
Join Date: Jan 2007
Beans: 196
Re: HOW-TO: Compile Avant Window Navigator

for those sith segmentation fault or other difficulties, you'll find workarounds at: http://code.google.com/p/avant-windo...?id=5&can=2&q=

be sure to report any bugs you may encounter.
glabouni is offline  
Old February 1st, 2007   #8
GForce0617
First Cup of Ubuntu
 
Join Date: Apr 2006
Beans: 2
Re: HOW-TO: Compile Avant Window Navigator

WOW!!

Great application. Great write up Funny!

Only a few suggestion (if anyone can answer them as well),,,

Any way that it could move to any side of the desktop (top, bottom, left, right)?

Good job and keep up the great work.
GForce0617 is offline  
Old February 2nd, 2007   #9
wormeyman
Just Give Me the Beans!
 
wormeyman's Avatar
 
Join Date: Apr 2005
Location: somewhere starting browser wars.
Beans: 66
Re: HOW-TO: Compile Avant Window Navigator

Code:
checking for AWN... configure: error: Package requirements ( glib-2.0 gobject-2.0 gtk+-2.0 gdk-2.0 libwnck-1.0 gconf-2.0) were not met:

No package 'libwnck-1.0' found
No package 'gconf-2.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 AWN_CFLAGS
and AWN_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.

eric@ubuntu:~/avant-window-navigator-0.1.1$ sudo apt-get install libgtk2.0-dev libwnck-dev libwnck-common libgconf2-dev libglib2.0-dev
Reading package lists... Done
Building dependency tree       
Reading state information... Done
libgtk2.0-dev is already the newest version.
libwnck-common is already the newest version.
libglib2.0-dev is already the newest version.
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:
  libwnck-dev: Depends: libwnck18 (= 2.16.1-0ubuntu1) but 2.16.1-0ubuntu1.1 is to be installed
E: Broken packages
eric@ubuntu:~/avant-window-navigator-0.1.1$
doh!
wormeyman is offline  
Old February 2nd, 2007   #10
KiwiWifi
First Cup of Ubuntu
 
Join Date: Feb 2007
Beans: 2
Re: HOW-TO: Compile Avant Window Navigator

After following this great guide, I get this error every time I execute "avant-windows-navigator

Code:
(avant-window-navigator:19953): Gdk-CRITICAL **: gdk_cairo_create: assertion `GDK_IS_DRAWABLE (drawable)' failed

(avant-window-navigator:19953): GdkPixbuf-CRITICAL **: gdk_pixbuf_composite: assertion `dest_x >= 0 && dest_x + dest_width <= dest->width' failed
Whats this?

Please advice, and keep in mind I'm a complete newbie
KiwiWifi is offline  

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 06:38 PM.


vBulletin ©2000 - 2009, Jelsoft Enterprises Ltd. Ubuntu Logo, Ubuntu and Canonical © Canonical Ltd. Tango Icons © Tango Desktop Project. bilberry