How to install Cairo-Dock on Ubuntu Edgy

by macewan on January 11, 2007

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.

Popularity: 26% [?]

  • StumbleUpon
  • Technorati
  • del.icio.us
  • Digg
  • Facebook
  • Google
  • Pownce
  • TwitThis

If you found this page useful, consider linking to it.
Simply copy and paste the code below into your web site (Ctrl+C to copy)
It will look like this: How to install Cairo-Dock on Ubuntu Edgy

{ 1 trackback }

Sindu Irawan » Install Cairo dock on Ubuntu Edgy
02.04.08 at 7:48 am

{ 10 comments… read them below or add one }

1 Daniel 02.07.07 at 2:11 pm

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?

2 Sean 02.14.07 at 9:48 am

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.

3 sindu 02.17.07 at 8:32 am

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 :)

4 Daniel 02.27.07 at 3:17 am

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…

5 mike 04.03.07 at 4:44 pm

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?

6 Jose 04.07.07 at 7:20 pm

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?

7 Neil 04.17.07 at 7:31 pm

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?

8 David Leite 04.26.07 at 11:58 pm

Good, nice, mac like, professional looking… but how do I set it up ? haha

9 Robert 10.15.07 at 5:32 pm

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

10 Tony 02.16.08 at 7:24 pm

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

Leave a Comment

You can use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>