How to install Cairo-Dock on Ubuntu Edgy
First of all, when it comes to Ubuntu ready computers is the perfect place to shop. Alright, let’s begin:
check for build-essentials
sudo apt-get install build-essential
sudo apt-get install librsvg2-bin librsvg2-common librsvg2-dev libglitz-glx1 libglitz-glx1-dev
wget http://www.macewan.org/cairo-1.2.6.tar.gz
tar -xzf cairo-1.2.6.tar.gz
rm cair*.gz
cd cair*
./configure –enable-warnings –enable-glitz –disable-quartz –disable-atsui –disable-xcb –disable-win32 –disable-gtk-doc
make
sudo make install
cd ../
wget http://www.macewan.org/cairo-dock.tar.gz
sudo mv cairo-dock.tar.gz /opt
cd /opt
sudo tar -xzf cairo-dock.tar.gz
sudo rm cairo-dock*.gz
cd cairo-dock
sudo make clean
sudo make
./cairo-dock –no-glitz
Icons not transparent?
Using Beryl alleviates this.
Don’t want to use Beryl?
OK, stop the cairo-dock.
xcompmgr
./cairo-dock –no-glitz
How do I stop cairo-dock from hidding?
OK, stop the cairo-dock.
wget http://www.macewan.org/cairo-dock.c
sudo make
./cairo-dock –no-glitz
Credit goes to cairo-dock-pimp GPH for starting the ball rolling.
















February 7th, 2007 at 2:11 pm #Daniel
Thanks for this, works just fine! Well, almost. For some reason, only the DC++ icon will show up. All the other SVG files are there as well, and they are referenced correctly in cairo-dock.c, but somehow none of the icons apart from dc++.svg will show up in the docker. Why is this?
February 14th, 2007 at 9:48 am #Sean
I had the same issue. I replaced the SVGs with my own and adjusted the code as I saw fit — it is very easy to find the icon locations and commands they execute in cairo-dock.c. I also found that SVGs around 48×48 look good. Once you’ve adjusted the source as you like, run make clean and make — then start it again.
February 17th, 2007 at 8:32 am #sindu
Thank for your article it’s help me a lot, and work’s just fine to.. :), i wrote in Indonesian version also so may collage can enjoy the beauty Cairo Dock.. pls visit my web to http://sindu.web.id/blog/2007/02/16/install-cairo-dock-on-ubuntu-edgy/
and give your comment for my correction
February 27th, 2007 at 3:17 am #Daniel
Haha, thanks Sean. I guess this solution was too banal, so I didn’t think of checking it out, but indeed all of the SVGs but one are currupt…
April 3rd, 2007 at 4:44 pm #mike
came across your guide as the first hit in google. congrats.
Your tutorial was concise. I love it. clear and to the point. Successfully installed it. However, may I suggest that you update the guide to reflect the latest cairo release (1.4.2).
As well, I do not know if there has been a later release of cairo-dock as of yet, if so, an update would be plentiful.
One sad problem.
running sudo make after downloading the no-hide fix (cairo-dock.c) I get a return:
lotacus@lotacus-desktop:/opt/cairo-dock$ sudo make
make: Nothing to be done for `all’.
my guess would be to redo the first steps when extracting cairo-dock.tar.gz and replacing the old cairo.dock.c with the modified one?
April 7th, 2007 at 7:20 pm #Jose
I was doing great until the very end.
It keeps on saying:
jose@jose-laptop:/opt/cairo-dock$ make
cc `pkg-config –cflags cairo gtk+-2.0 librsvg-2.0 glitz-glx` -DHAVE_GLITZ `pkg-config –libs cairo gtk+-2.0 librsvg-2.0 glitz-glx` -lm cairo-dock.c -o cairo-dock
cairo-dock.c:52:25: error: cairo-glitz.h: No such file or directory
cairo-dock.c: In function ‘dock_cairo_create’:
cairo-dock.c:184: warning: assignment makes pointer from integer without a cast
make: *** [cairo-dock] Error 1
how do i resolve this?
Are you using Edgy?
Are you following the directions correctly?
April 17th, 2007 at 7:31 pm #Neil
All works well if I run cairo-dock as in the instructions - if I run ‘./cairo-dock –no-glitz’ when in folder ‘/opt/cairo-dock’. However, I can’t run it from any other location using ‘/opt/cairo-dock/cairo-dock –no-glitz’. The dock appears, but about 1 cm wide, and 3 times as tall as it should be, with all the (invisible) icons on top of each other. This means I can’t run it except in a terminal, and I don’t want a terminal open dedicated to running the dock. Any ideas?
April 26th, 2007 at 11:58 pm #David Leite
Good, nice, mac like, professional looking… but how do I set it up ? haha
October 15th, 2007 at 5:32 pm #Robert
When i’m using wget http://www.macewan.org/cairo-1.2.6.tar.gz, i get a 404 Error. I think that the archive isn’t there anymore. Can you help me please?
Thanks in advance
February 4th, 2008 at 7:48 am #Sindu Irawan » Install Cairo dock on Ubuntu Edgy
[...] dari instalasi dan konfigurasi Cairo dock di Edgy gue.. artikel bisa dilihat langsung di blog-nya macewan dan Ubuntu forum yang sedikit membahas masalah yang [...]
February 16th, 2008 at 7:24 pm #Tony
Hi. Thanks for this howto! I like this app a lot… kinda brings the GUI into the modern day for Linux. I do have a question thought…
I installed v1.4.6.3 originally, and everything went great. I recently upgraded to v1.5.0.1 and now I cannot customize the icons now. No matter what I do, all I get is that blue “?” I am using .png files (like I did on 1.4) and I have tried some .svg files too, I have copied those images into /usr/share/cairo-dock dir and still nothing…
Can anyone give me a reason / solution for why this is happening?
Thanks!
-Tony