my life

day to day

Archive for November 18th, 2008

Compiz + Cairo Dock on Debian

Tuesday, November 18th, 2008

Sorry to say it, but X.org eye candy is about to eclipse Mac OSX. Check out this video to see what I mean:

To get this for yourself on Debian, these are the steps I had to take.

  1. apt-get install libcairo2 librsvg2-2 libglitz1 libglitz-glx1 compiz compiz-fusion-plugins-extra compiz-fusion-plugins-main compiz-gnome compiz-plugins
  2. Modify your X.org conf in /etc/X11/xorg.conf
  3. Add the following to the “Device” section:
    Option “AllowGLXWithComposite” “true” Option “XAANoOffscreenPixmaps” “true”  #NVidia cards only

    Add the following to the “Screen” section:
    Option “AddARGBGLXVisuals” “true”  # NVidia cards only

    Add the new section:
    Section “Extensions” Option  “Composite”      “Enable” EndSection
  4. Enable all the cool features of compiz:
    gconftool --set /apps/compiz/general/allscreens/options/active_plugin --type list --list-type string ‘[gconf,png,svg,decoration,wobbly,fade,minimize,cube,rotate,zoom,scale,move,place,switcher,screenshot,resize]‘
  5. echo “export WINDOW_MANAGER=/usr/bin/compiz” >> ~/.gnomerc
  6. Restart Xorg

If you’re having problems, you can try to download:

wget http://blogage.de/files/3855/download?compiz-check_0.4-1_all.deb

And run compiz-check to see if there are any issues with your setup/hardware.

To get the features of OSX’s Docker, you’re going to want to install Cairo-Docker. Cairo-Docker is actually even MORE incredible than the traditional Docker, allowing for plugins and customization to the Nth degree.

  1. Download Cairo at:
    https://developer.berlios.de/project/showfiles.php?group_id=8724
  2. Download the dock package that looks like: cairo-dock_v1.6.3.1_i686.deb
  3. Download the plugins package that looks like: cairo-dock-plug-ins_v1.6.3.1_i686.deb
  4. dpkg -i package.deb
  5. Simply run: cairo-dock
add to del.icio.us    add to technorati favs   email this