Monday, August 29, 2011

Installing awn on LMDE XFCE without adding crazy gnome dependencies

sudo apt-get install libdesktop-agnostic0 libdesktop-agnostic-vfs-gio libdesktop-agnostic-fdo-glib libdesktop-agnostic-cfg-gconf gconf2 libnotify4

now, download this package:
http://packages.debian.org/wheezy/libawn1

and
sudo dpkg -i libawn1_0.4.1~bzr830-1_amd64.deb

(modify for your arch, of course)

now download this package:
http://packages.debian.org/wheezy/all/avant-window-navigator-data/download

and sudo dpkg -i for the downloaded file.

Now, you should be able to download the actual avant-window-manager package from here:
http://packages.debian.org/wheezy/avant-window-navigator

and run dpkg like so:
sudo dpkg  --ignore-missing gnome-applets --ignore-missing gnome-applets-data --ignore-missing gnome-control-center --ignore-missing gnome-panel --ignore-missing gnome-panel-data --ignore-missing gnome-session --ignore-missing nautilus --ignore-missing nautilus-data -i avant-window-navigator_0.4.1~bzr830-1_amd64.deb

Again, modified for your arch.

Now you have awn installed, but you're still not going to have very many applets... if you search through the repos, you will be able to install some of the applets without gnome dependencies, but many of them *depend* on gnome-applets.  Not to worry, we can install that without proper gnome as well.

First we need gnome-applets-data, which does not require any extra gnome nastiness.
sudo apt-get install gnome-applets-data

Then download this package:
http://packages.debian.org/squeeze/gnome-applets

now run:
sudo dpkg --ignore-depends gnome-control-center --ignore-depends gnome-panel --ignore-depends gnome-panel-data --ignore-depends gnome-session --ignore-depends nautilus --ignore-depends nautilus-data -i gnome-applets_2.30.0-3_amd64.deb

As usual, modifying for your archicture.  I found that installing the additional awn applet packages was slightly problematic and kept breaking things because gnome-applets keeps wanting to pull in gnome-panel.  If you see this breakage, run:

sudo aptitude -f install

Allow it to uninstall gnome-applets and then re-run the install cmd above.  Ultimately I had to download and install awn-applets-c-core with dpkg.

Now, not *everything* works.  A few of the applets crash, but the vast majority of things work just as they do in gnome, but without pulling in and running gnome-session and nautilus which really screw with the xfce user experience.  I will update this as I continue to debug some og the problems, but I'm happy to have a decent dock under xfce!

3 comments:

  1. This ended up being a huge hassle because aptitude wants to remove gnome-applets everytime you do something, which wouldn't be so bad in itself, but there's currently a pretty major bug in awn that prevents you from using most of the gnome applets anyway. For now I'm back to Docky for a launcher/window list and xfce panel for everything docky can't do (which is alot).

    ReplyDelete
  2. Thanks so much, Mike, for these great instructions. I got AWN running well, but then added
    deb http://ftp.debian.org/debian testing main contrib non-free

    to my sources.list, and upgraded AWN to 4.04 (except for python: see here http://forums.linuxmint.com/viewtopic.php?f=190&t=86581).

    This gave me all the AWN applets back.

    This recent exile from Gnome to XFCE is happy again!

    ReplyDelete
  3. awn seems to be happier these days with less gnome dependencies... i'm able to run it under xfce with minimal gnome packages (and still mostly keep my laptop under 10 Watts power consumption while on batteries!)

    ReplyDelete