Page 1 of 14 12311 ... LastLast
Results 1 to 10 of 132

Thread: New gnome dock à la MacosX

  1. #1
    Join Date
    Feb 2006
    Beans
    11

    New gnome dock à la MacosX

    gnome-dock (cairo-dock) is a MacosX dock like app.

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

    It works but is not really usable as this (no placement, ...)

    Here is a version working on my laptop:
    http://hibbert.univ-lille3.fr/~cbell...o-dock.tar.bz2

    just put this in /opt and use make to build it.

    How to use it:
    1) I run it like this on Xgl: /opt/cairo-dock/cairo-dock --no-glitz --no-background
    2) To add, remove, change applications, you need to directly change source code:

    static Icon g_aIcons[] =
    {
    {"/opt/cairo-dock/user-home.svg", "Perso", "nautilus --no-desktop"},
    {"/opt/cairo-dock/gnome-terminal.svg", "Terminal", "gnome-terminal"}
    }
    You just need to add elements to this array.

    3) By default, MacSlow use screen width for dock width but i don't like this because i was unable to right click near the panel area.
    So, if you add applications, you may need to change the dock width by changing this line in the source code:
    g_iCurrentWidth = 750;

    4) By default, gnome-dock doesn't remember it place on screen. To force screen placement, you will need to change this line in source code:
    gdk_window_move(pWindow, 245, 655); // 245=x, 655=y

    The current dock placement is for 1280x800 resolution.

    Here the result:
    http://hibbert.univ-lille3.fr/~cbell...cairo-dock.png

    ps: Sorry for my english

  2. #2
    Join Date
    Jun 2006
    Location
    Leicester, UK
    Beans
    215
    Distro
    Ubuntu 6.06

    Re: New gnome dock à la MacosX

    Is it stable?

    I tried Expocity and it sent my system mad, it just wouldnt work.

  3. #3
    Join Date
    Jan 2006
    Location
    Milan
    Beans
    15
    Distro
    Ubuntu 6.06

    Re: New gnome dock à la MacosX

    That looks pretty nice.
    I tried executing the make file but it wont compile. It gave me literally hundred lines of error...

  4. #4
    Join Date
    Jun 2006
    Location
    Leicester, UK
    Beans
    215
    Distro
    Ubuntu 6.06

    Re: New gnome dock à la MacosX

    Quote Originally Posted by gookie
    That looks pretty nice.
    I tried executing the make file but it wont compile. It gave me literally hundred lines of error...
    Same here.

  5. #5
    Join Date
    Jun 2005
    Location
    Vercelli, Italy
    Beans
    51
    Distro
    Ubuntu 6.10 Edgy

    Re: New gnome dock à la MacosX

    try with:

    Code:
    sudo apt-get install librsvg2-bin librsvg2-common librsvg2-dev libglitz-glx1 libglitz-glx1-dev
    This should work.

    Bye

  6. #6
    Join Date
    Jun 2006
    Location
    Leicester, UK
    Beans
    215
    Distro
    Ubuntu 6.06

    Re: New gnome dock à la MacosX

    Quote Originally Posted by madchicken
    try with:

    Code:
    sudo apt-get install librsvg2-bin librsvg2-common librsvg2-dev libglitz-glx1 libglitz-glx1-dev
    This should work.

    Bye
    I get this:

    Code:
    Reading package lists... Done
    Building dependency tree... Done
    librsvg2-common is already the newest version.
    libglitz-glx1 is already the newest version.
    Some packages could not be installed. This may mean that you have
    requested an impossible situation or if you are using the unstable
    distribution that some required packages have not yet been created
    or been moved out of Incoming.
    The following information may help to resolve the situation:
    
    The following packages have unmet dependencies.
      libglitz-glx1-dev: Depends: libglitz-glx1 (= 0.5.3-0ubuntu2) but 0.5.6-0ubuntu1 is to be installed
                         Depends: libglitz1-dev (= 0.5.3-0ubuntu2) but 0.5.6-0ubuntu1 is to be installed
      librsvg2-dev: Depends: libgtk2.0-dev (>= 2.4) but it is not going to be installed
    E: Broken packages
    Just out of curiosity (and for future reference), how did you find out which libraries it needed?
    Last edited by bohboh; June 21st, 2006 at 11:35 AM.

  7. #7
    Join Date
    Jun 2005
    Location
    Vercelli, Italy
    Beans
    51
    Distro
    Ubuntu 6.10 Edgy

    Re: New gnome dock à la MacosX

    I found the libraries reading the first line of 'make' output. Make was missing some libraries...
    For your problem: it seems you have a problem with dependancies. I'm not a apt-get expert, so try using synaptic and see if it could resolve problems for you.
    From the output I can see that you have only to install libglitz-glx1-dev and librsvg2-dev. They are needed to compile the program.

    Bye

  8. #8
    Join Date
    Jan 2006
    Location
    Milan
    Beans
    15
    Distro
    Ubuntu 6.06

    Re: New gnome dock à la MacosX

    Yup. It finally compiled after getting the dependencies.
    @bohboh, the libglitz-glx1 installed fine on mine...I have the xgl/compiz repository added on my sources list and I know they came there coz it's the only un-authenticated repository I have (had to add them for aiglx/compiz).

    Anyhoo, cairo-dock is working...but I think I need to fiddle with the source (as per instruction)...it has no transparency (black box around it)...cud this be because I have aixgl/compiz on?

    Edit: btw, I compiled from svn.
    Last edited by gookie; June 21st, 2006 at 04:20 PM.

  9. #9
    Join Date
    Jun 2006
    Location
    Leicester, UK
    Beans
    215
    Distro
    Ubuntu 6.06

    Re: New gnome dock à la MacosX

    Quote Originally Posted by gookie
    Edit: btw, I compiled from svn.
    What do you mean?

  10. #10
    Join Date
    Jan 2006
    Location
    Milan
    Beans
    15
    Distro
    Ubuntu 6.06

    Re: New gnome dock à la MacosX

    I downloaded the source from gnome dock's SVN instead of the tar.gz on this post.

    Code:
    svn co http://www.gnome-dock.org/svn/

Page 1 of 14 12311 ... LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •