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

Go Back   Ubuntu Forums > The Ubuntu Forum Community > Other Community Discussions > Tutorials & Tips
Register Reset Password Forum Help Forum Council Search Today's Posts Mark Forums Read

Tutorials & Tips
The place to find Ubuntu related Tips & Tricks.

 
Thread Tools Display Modes
Old November 18th, 2006   #1
GPH
5 Cups of Ubuntu
 
Join Date: Apr 2006
My beans are hidden!
Gnome Dock

http://www.gnome-dock.org/trac/wiki

From what I understand, the project is not actively developed, but what we have for the moment is great. It is prettier than kiba-dock, more functional and also more "OS X-like". It takes more time to customize, but I think it's worth it. Here's how I installed it on Edgy with AIGLX:

1. Install these packages
Code:
sudo apt-get install librsvg2-bin librsvg2-common librsvg2-dev libglitz-glx1 libglitz-glx1-dev

2. Make sure you have build-essential to be able to compile cairo.


3. Download Cairo 1.2.6

http://cairographics.org/releases/cairo-1.2.6.tar.gz

4. Install Cairo 1.2.6

Code:
./configure --enable-warnings --enable-glitz --disable-quartz --disable-atsui --disable-xcb --disable-win32 --disable-gtk-doc
Code:
make
Code:
sudo make install
5. Download cairo-dock

http://www.gnome-dock.org/prerelease...-0.0.1b.tar.gz (doesn't seem to work anymore)
Try this instead: cairo-dock.tar.gz

6. Extract the tarball in /opt

7. Install cairo-dock


Code:
make clean
Code:
make
Also, change your virtual vertical size in Beryl from 1 to 2, otherwise it will probably bug. That's a weird fix found by someone in this thread, but it works.

To open the dock, use

Code:
./cairo-dock --no-glitz
To add launchers, play with cairo-dock.c and redo
Code:
make
once you've saved the file.

Also, you'll probably have to change Vertical Virtual Size in Beryl from 1 to 2 to avoid a bug.

At the moment, it only accepts icons in .svg, but it's fairly easy to convert .png to .svg using InkScape. Good luck!


Last edited by GPH; November 20th, 2006 at 08:47 PM..
GPH is offline   Reply With Quote
Old November 19th, 2006   #2
BLTicklemonster
Tall Cafè Ubuntu
 
BLTicklemonster's Avatar
 
Join Date: Oct 2005
Location: Rome, Ga
Beans: 2,616
Ubuntu 8.10 Intrepid Ibex
Send a message via MSN to BLTicklemonster Send a message via Yahoo to BLTicklemonster
Re: Gnome Dock

"make sure you have all the necessary packages to compile".. what do you mean? Oh, I see xgl and compiz, never mind.
__________________
Al Gore didn't invent the Internet, but he did make up global warming.

-David Rockefeller, March 08, 2009
BLTicklemonster is offline   Reply With Quote
Old November 19th, 2006   #3
GPH
5 Cups of Ubuntu
 
Join Date: Apr 2006
My beans are hidden!
Re: Gnome Dock

No, I meant the build-essential packages, but you also need AIGLX/XGL to be able to run this. BTW, does it work for someone else than me ?

Last edited by GPH; November 19th, 2006 at 09:46 PM..
GPH is offline   Reply With Quote
Old November 19th, 2006   #4
BLTicklemonster
Tall Cafè Ubuntu
 
BLTicklemonster's Avatar
 
Join Date: Oct 2005
Location: Rome, Ga
Beans: 2,616
Ubuntu 8.10 Intrepid Ibex
Send a message via MSN to BLTicklemonster Send a message via Yahoo to BLTicklemonster
Re: Gnome Dock

After playing around with beryl for a while, watching things work arbitrarily and not work with clocklike precision, I'm pretty sure that if I have to put any kind of x-""-gl or compiz priz whatever on to use something, I'll just pass. That's a neat looking dock, but it's not worth having to put all that on my computer just for that one look.
__________________
Al Gore didn't invent the Internet, but he did make up global warming.

-David Rockefeller, March 08, 2009
BLTicklemonster is offline   Reply With Quote
Old November 20th, 2006   #5
jlosch
First Cup of Ubuntu
 
Join Date: Sep 2006
My beans are hidden!
Re: Gnome Dock

GPH, do you still have the tarball? I'm interested in playing around with gnome-dock, but it looks like the site is having problems.
jlosch is offline   Reply With Quote
Old November 20th, 2006   #6
GPH
5 Cups of Ubuntu
 
Join Date: Apr 2006
My beans are hidden!
Re: Gnome Dock

Quote:
Originally Posted by jlosch View Post
GPH, do you still have the tarball? I'm interested in playing around with gnome-dock, but it looks like the site is having problems.
I didn't have the original tarball, so I made one from my dock folder that also includes the icons that I use. The attachment is in the how-to.
GPH is offline   Reply With Quote
Old November 21st, 2006   #7
jlosch
First Cup of Ubuntu
 
Join Date: Sep 2006
My beans are hidden!
Re: Gnome Dock

Quote:
Originally Posted by GPH View Post
I didn't have the original tarball, so I made one from my dock folder that also includes the icons that I use. The attachment is in the how-to.
Thanks, that worked great. For some reason, though, I can't seem to get the icons to show up. Only dc++.svg seems to work. I tried changing the file names to absolute paths in cairo-dock.c then recompiling, but no luck. Guess I'll have to play around with it some more.
jlosch is offline   Reply With Quote
Old November 21st, 2006   #8
gjtoth
Way Too Much Ubuntu
 
gjtoth's Avatar
 
Join Date: Nov 2006
Location: Louisville, KY
Beans: 254
Ubuntu Development Release
Send a message via MSN to gjtoth
Re: Gnome Dock

Kooldock seems to do this and works just fine under Edgy. Very easy to configure and add stuff to.
__________________
Before taking down a fence, it may be a good idea to find out why it was put up.
Registered Linux User #402142
gjtoth is offline   Reply With Quote
Old November 21st, 2006   #9
christhemonkey
May the Ubuntu Be With You!
 
christhemonkey's Avatar
 
Join Date: Jan 2006
Location: @ ~/
Beans: 1,694
Ubuntu 9.10 Karmic Koala
Send a message via MSN to christhemonkey
Re: Gnome Dock

But Kooldock and kibadock are all written for kde, using the qt toolkit.

Whereas normal ubuntu users may not want a kde app, loading lots of extra qt libraries.

Or maybe its just me preferring to use gnome apps in gnome and kde apps in kde...
__________________
Using ubuntu offline?
Want to install new programs?
Check out wubdepends
If Stupidity got us into this mess,
then why can’t it get us out?
christhemonkey is offline   Reply With Quote
Old November 21st, 2006   #10
jlosch
First Cup of Ubuntu
 
Join Date: Sep 2006
My beans are hidden!
Re: Gnome Dock

Ok, I think I figured it out. When you converted the .png files to .svg, Inkscape saved them not as true svg's, but as an svg with an embedded image. From amarok.svg:

Code:
  <image
     xlink:href="/home/guillaume/.icons/OSX/scalable/apps/amarok.png"
     sodipodi:absref="/home/guillaume/.icons/OSX/scalable/apps/amarok.png"
     width="48"
     height="48"
     id="image2293"
     x="0"
     y="0" />
So for anyone using the tarball from the post, you'll need to find different svg icons.

Otherwise, this how-to works great. Thanks for the files GPH!
jlosch is offline   Reply With Quote

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 10:37 PM.


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