Home Forums Wiki Doc Install Extras Screenshots Source Code Projects Blog Users Groups Register
Glx-Dock / Cairo-Dock Wiki Por BZR
The latest stable release is the *3.4.0* : How to install it here.
Note: We just switched from BZR to Git on Github! (only to host the code and your future pull requests)
Information : The version displayed on this page is not the latest available.
History View code

Glx-Dock / Cairo-Dock

Home

History

Support Us

Flattr this

Cairo-Dockon

Por BZR

Esta traduccion esta en fase beta,hecha por Thelatinotiger,si ves algun error o parte sin traducir y te manejas en ingles te agradecere mucho que me ayudes

No es necesario preguntar,si me quieres ayudar solo pulsa en edit y comienza a traducir,ayudemos a que mas personas puedan instalar el mejor dock del mundo,Cairo-Dock


Advertencia: esta version es considerada como inestable : Usala bajo tu propio riesgo
Y mantente actualizado

No olvides borrar otras versiones de CD antes de instalarlo por BZR

Si tienes algun bug : por favor no seas timido y abre un hilo en el Foro BZR



Con BZR en Launchpad, nos puedes ayudar fácilmente !

Si puedes programar en C (o en otro lenguaje usando el applet DBus), es muy fácil hacer sus modificaciones en una rama personal en lp

Para mas informacion, lee esto : Ayudanos con BZR




Autoconf ha sido reemplazado por CMake (Versiones de Cairo-Dock >= 2.2.0) !



Direccion de bazaar
Para mas informacion acerca de la direccion o los archivos fuente para navegar, vaya aqui : https://code.launchpad.net/cairo-dock



Revision mas reciente
Revision BZR



Metodo generico

Si no estas en Debian, Ubuntu y otros derivados, Fedora o ArchLinux, esta seccion esta hecha para ti! Para el resto, Vayan a las otras secciones.
    • Instala Todas las dependencias. Advertencia : los nombres pueden variar dependiendo de tu distribucion (dev puede llamarse devel, etc.). Estos son los nombres de debian.
      • Para compilar:
        cmake make pkg-config gcc gettext build-essential
      • Para el nucleo (core):
        • Modulos
          Requeridos: gtk+-3.0 (o gtk+-2.0) gthread-2.0 cairo librsvg-2.0 dbus-1 dbus-glib-1 libxml-2.0 xrender gl glu pangox libcurl
          Recomendado: xtst xcomposite xinerama
        • Ejemplo con los paquetes de debian:
          libxxf86vm-dev libxtst-dev libx11-dev libgtkglext1-dev libcurl4-gnutls-dev libcairo2-dev librsvg2-dev libdbus-glib-1-dev libglu1-mesa-dev libpango1.0-dev libgtk-3-dev # (or libgtk2.0-dev)
      • Para los plug-ins:
        • Modulos
          Requeridos: cairo librsvg-2.0 dbus-1 dbus-glib-1 libxml-2.0 glib-2.0 gldi # = cairo-dock-core, con la misma version!
          Altamente recomendado: alsa libgnome-menu(-3.0) gio-2.0 (y gvfs) libxklavier xrandr x11 xxf86vm
          Recomendado: libical upower-glib zeitgeist-1.0 libexif vte(-2.90) ; paquetes 'python', 'curl' y 'wget' ; dbusmenu-glib(-0.4) dbusmenu-gtk(3)(-0.4) indicator(3)-0.4 libido(3)-0.1 + estos daemons: indicator-messages and indicator-sound
          Sugerido: libpulse webkitgtk-3.0 (o webkit-1.0) ; paquetes 'ruby' y 'valac'
          Opcionales: fftw3, mono: glib-sharp-2.0 ndesk-dbus-1.0 ndesk-dbus-glib-1.0
        • Ejemplo con los paquetes de debian:
          libdbusmenu-gtk-dev libasound2-dev libgnome-menu-dev libetpan-dev libxklavier-dev libwebkit-dev libexif-dev libvte-dev curl libzeitgeist-dev libido-0.1-dev libindicator-dev libsensors4-dev libupower-glib-dev
      • Agrega thunar-vfs-1 (libthunar-vfs-1-dev) para versiones viejas de XCFE (< 4.6) o gnome-vfs-2.0 y libgnomeui-2.0 (libgnomevfs2-dev) para versiones muy viejas de Gnome (< 2.20).
      • GNote es bueno para el applet Notes , y Zeitgeist se necesita para el applet Recent-Events .

    • Descarga el codigo fuente mas reciente con BZR (Necesitas instalar BZR antes ) en el directorio de tu eleccion :
      bzr checkout --lightweight lp:cairo-dock-core
      bzr checkout --lightweight lp:cairo-dock-plug-ins
      Si no tienes el plugin de BZR para el launchpad, las direcciones completas son :
      bzr://bazaar.launchpad.net/~cairo-dock-team/cairo-dock-core/
      bzr://bazaar.launchpad.net/~cairo-dock-team/cairo-dock-plug-ins/
    • Compilar Cairo-Dock y despues sus plug-ins:
      cd cairo-dock-core
      mkdir build && cd build
      cmake .. -DCMAKE_INSTALL_PREFIX=/usr ## si quieres tener simbolos de depuracion, solo añade este codigo : "-DCMAKE_BUILD_TYPE=Debug"
      make -j $(grep -c ^processor /proc/cpuinfo) ## si tienes un error, mira si tienes instaladas todas las dependencias y/o publica un hilo en nuestro foro
      # make install ## en modo root
      cd ../../cairo-dock-plug-ins/
      mkdir build && cd build
      cmake .. -DCMAKE_INSTALL_PREFIX=/usr ## si quieres tener simbolos de depuracion, solo añade este codigo : "-DCMAKE_BUILD_TYPE=Debug"
      make -j $(grep -c ^processor /proc/cpuinfo)
      # make install ## como root y si no has tenido errores
      • Tips: con "make -j $(grep -c ^processor /proc/cpuinfo)" la compilacion usa todo el nucleo de tu procesador.
      • Recuerda: Para arquitecturas de 64bits (x86_64) , las librerias se instalan en un directorio 'lib/' por defecto pero parece que puede ser un problema para algunas distribuciones (e.j.: OpenSUSE) pero no en las otras (las que tienen un enlace simbólico: lib64 -> lib). Si tienes un problema lanzando Cairo-Dock y luego haber tenido que desinstalarlo con este comando lanzado como root desde el directorio 'build'
        make uninstall
        puedes compilarlo (core y sus plug-ins) con el flag "FORCE_LIB64":
        cmake .. -DCMAKE_INSTALL_PREFIX=/usr -DFORCE_LIB64=yes
        Tambien puedes forzar otro prefijo para ese directorio de bibliotecas con el flag "LIB_SUFFIX" , e.j. para el directorio 'lib32' :
        cmake .. -DCMAKE_INSTALL_PREFIX=/usr -DLIB_SUFFIX=32

    • Actualiza con este comando en los 2 directorios (cairo-dock-core y cairo-dock-plug-ins)
      bzr up
      Borra el contenido de los directorios de construccion y recompila Cairo-Dock y sus plug-ins con los mismos comandos de la caja anterior.
    • Tips : Si quieres saber que es rev :
      bzr log -l1 --line



Debian / Ubuntu

Mav (with the help of matttbe ) wrote a script for Debian/Ubuntu users (cairo-dock_bzr.sh) which allows the installation and the update via BZR and avoids the tiresome steps for the recovery of the sources and the installation. Moreover, the script will automatically install all the packages necessary for the compilation (the same ones as those described in the part "By compilation").

If you are on Debian or Ubuntu (or Linux Mint) you can also install Cairo-Dock with DEB packages from our 'Weekly Build' PPA.
You can also add this PPA to your sources.list with Mav' script. Or look there : ppa Weekly


First installation

Open a Terminal, start by creating a specific directory (for example /opt/cairo-dock_bzr) and use it without administrator right:

sudo mkdir /opt/cairo-dock_bzr
sudo chown $USER:$USER /opt/cairo-dock_bzr
cd /opt/cairo-dock_bzr


Then get the script, make it executable and launch it:

wget http://bzr.glx-dock.org/cairo-dock_bzr.sh
chmod u+x cairo-dock_bzr.sh
./cairo-dock_bzr.sh
REM: For Debian users, you need to install the 'sudo' package.

You'll have this information
    1 --> Install the current version of Cairo-Dock from BZR server for the first time (Install)
    2 --> Install weekly ppa instead of BZR
    3 --> About this script
Press "1" + "Enter" to start the update.
Enter your own password when the script requires it (it's fully transparency when you'll write something) in order to proceed to the installation.
Then you'll have something like after having installed all needed dependences:
Is it the first time that you install Cairo-Dock from BZR sources files?

With BZR you can download these sources files in two ways:
    * By downloading all the content (it's interesting to have a copy of the server branch if you want to make some modifications in this branch) or only the latest revision (if you just want to compile sources)

    1 --> Download the complete branch (~150Mo - for dev.)
    2 --> Download only the last rev. (~20Mo - for all users)
Press "2" (in most cases) + "Enter" to start the download.

A message is posted with each installation of modules and the final message indicates if everything went well. If not please post in our forum the error messages (or consult the log.txt). It can be helpful !

Update it

Open a Terminal, in the specific file which you had created with the first installation (in our /opt/cairo-dock_bzr example) and start the script again:

cd /opt/cairo-dock_bzr
./cairo-dock_bzr.sh
And this is what you'll have:
    1 --> Update Cairo-Dock to the latest BZR revision
    2 --> Reinstall the current version
    3 --> Uninstall the current version
    4 --> Install weekly ppa instead of BZR
    5 --> Display the current installed revision
    6 --> About this script


Press "1" + "Enter" to start the update.

If an update is found, enter your own password, otherwise the message “No update available” will appear and the script will exit.

Note: Mav's script “auto-updates”, therefore each time you launch it, it will seek the last version of script available…



Tips

You can create a launcher in Cairo-Dock to execute the script… For that, create a new launcher (Right Click on the dock and select “Add a launcher”). Click on “New” and Enter this:

- Name of the launcher (example) : Cairo BZR Update

- Command to execute at the click :
gnome-terminal --working-directory=/opt/cairo-dock_bzr/ -e "./cairo-dock_bzr.sh"

(change your "working-directory" if necessary

- Directory of the picture :
(your most beautiful icon !)

Validate!!! and just click on your new icon to update your BZR version.



ArchLinux

It's easy with Yaourt !
On root mode, add arlinuxfr repositories in your file /etc/pacman.conf

[archlinuxfr]
Server = http://repo.archlinux.fr/i686/

or
[archlinuxfr]
Server = http://repo.archlinux.fr/x86_64/


Install yaourt if you have do that before.

sudo pacman -S yaourt
yaourt -Syu


Now, install cairo-dock and its plug-ins !
yaourt -S cairo-dock-bzr cairo-dock-plug-ins-bzr

Remember to check the plugins' PGKBUILD and remove the plugins you want from the blacklist line.


Fedora

  • Install this kit
    su -
    yum -y groupinstall buildsys-build

  • After that, install all dependences with yum install:
    yum install bzr alsa-lib-devel cmake dbus-glib-devel desktop-file-utils gettext gnome-menus-devel gnome-vfs2-devel gtk2-devel gtkglext-devel intltool libXcomposite-devel libXinerama-devel libXrender-devel libXtst-devel libXxf86vm-devel libetpan-devel libexif-devel libgnomeui-devel librsvg2-devel libtool libxklavier-devel libxml2-devel vte-devel perl WebKit-gtk-devel libsensors4-devel curl
    Install Thunar-devel instead of gnome-vfs2-devel if you uses XFCE
(and also something like libcurl4-gnutls-dev)

  • After that go to a new repertory to download sources (for example /opt/ with user right)
    bzr checkout --lightweight lp:cairo-dock-core
    bzr checkout --lightweight lp:cairo-dock-plug-ins

  • Compile Cairo-Dock and its plug-ins:
    cd cairo-dock-core
    mkdir build && cd build
    cmake .. -DCMAKE_INSTALL_PREFIX=/usr ## if you want to have debug symbols, simply add this flag : "-DCMAKE_BUILD_TYPE=Debug"
    make -j $(grep -c ^processor /proc/cpuinfo)
    su -
    make install # If you haven't any error before that
    exit
    cd ../../cairo-dock-plug-ins/
    mkdir build && cd build
    cmake .. -DCMAKE_INSTALL_PREFIX=/usr ## if you want to have debug symbols, simply add this flag : "-DCMAKE_BUILD_TYPE=Debug"
    make -j $(grep -c ^processor /proc/cpuinfo)
    su -
    make install # If you haven't any error before that
    exit

  • Update with this command in the two repertories (cairo-dock-core and cairo-dock-plug-ins)
    bzr up
    Remove the content of build directories and recompile Cairo-Dock and its plug-ins with the same commands as the previous box.



Gentoo

For detailed instructions, a Gentoo-specific page is available here.

OpenSUSE KDE

  • This is an almost exhaustive list of the required dependencies. Install before compiling:
    cmake libtool m4 pkg-config intltool gettext vala cairo and possibly cairo-devel gtk2-devel librsvg-devel dbus-1-glib-devel vte-devel xorg-x11-libx11-devel libasound2 xorg-x11-libs gnome-menus-devel libgnome-menu2 libgnomeui-devel gtkglext gtkglext-devel freeglut-devel libzeitgeist-devel zeitgeist libetpan-devel libxklavier-devel libwebkitgtk-devel libexif-devel curl libcurl-devel libgnomevfsmm-2_6-1 libical-devel libgnutls-devel libsensors4-devel
    + the equivalent of libcurl4-gnutls-dev. It's also possible other dependencies are required. If the compilation asks for it, verify the following (names might differ, they come from Fedora):
    alsa-lib-devel libXcomposite-devel libXinerama-devel libXrender-devel libXtst-devel libxml2-devel perl
    They should be already included in xorg-x11, alsa and xml packages.

Note: since version 11.4, it seems the following packages are no longer supported: libgnome-menu indicator3(-0.4) (libido3-0.1) dbusmenu-glib(-0.4) dbusmenu-gtk3(-0.4). This means that though the compilation is still possible, the following functions will not be available:

-- - with GMenu applet: no
-- - with Me-Menu applet applet: no
-- - with Messaging-Menu applet: no
-- - with Sound-Menu applet: no
-- - with Status-Notifier applet: no
-- - with Application-Menu applet: no

  • After go to a new repertory to download sources (with user right):
    bzr checkout --lightweight lp:cairo-dock-core
    bzr checkout --lightweight lp:cairo-dock-plug-ins

  • Compile Cairo-Dock and its plug-ins:
    cd cairo-dock-core
    mkdir build && cd build
    cmake .. -DCMAKE_INSTALL_PREFIX=/usr ## if you want to have debug symbols, simply add this flag : "-DCMAKE_BUILD_TYPE=Debug"
    ### Please use this command instead for 64bits (x86_64) architectures: cmake .. -DCMAKE_INSTALL_PREFIX=/usr -DFORCE_LIB64=yes
    make -j $(grep -c ^processor /proc/cpuinfo) ## if you have an error, see if you have install all dependences and/or post a new thread on our forum
    # sudo make install ## on root mode
    cd ../../cairo-dock-plug-ins/
    mkdir build && cd build
    cmake .. -DCMAKE_INSTALL_PREFIX=/usr ## if you want to have debug symbols, simply add this flag : "-DCMAKE_BUILD_TYPE=Debug"
    ### Please use this command instead for 64bits (x86_64) architectures: cmake .. -DCMAKE_INSTALL_PREFIX=/usr -DFORCE_LIB64=yes
    make -j $(grep -c ^processor /proc/cpuinfo)
    # sudo make install ## as root and if you had no errors
    Tips : with "make -j $(grep -c ^processor /proc/cpuinfo)" the compilation uses all core of your processor.

  • Update with this command in the two repertories (cairo-dock-core and cairo-dock-plug-ins)
    bzr up
    Remove the content of build directories and recompile Cairo-Dock and its plug-ins with the same commands as the previous box.

Rem.
  • It seems the version of libgtkglext of OpenSUSE 11.3 is a bit buggy. So if you've this error at the end of the compilation process:
    /usr/lib64/gcc/x86_64-suse-linux/4.5/../../../../lib64/libgtkglext-x11-1.0.so: undefined reference to `GTK_WIDGET_REALIZED'
    /usr/lib64/gcc/x86_64-suse-linux/4.5/../../../../lib64/libgtkglext-x11-1.0.so: undefined reference to `GTK_WIDGET_NO_WINDOW'
    collect2: ld returned 1 exit status
    make[2]: *** [src/cairo-dock] Error 1
    You can install the version 1.2.0-186 (or newer) of gtkglext. This version is available in this repository here but you can also find a copy of these packages here.
  • It's seems that the librairies has to be installed into a lib64/ directory for 64bits (x86_64) architectures. So you have to use this CMake flag: -DFORCE_LIB64=yes


Tips

ATOM Feed

An atom feed is available in order to know when there is an update (every day ) .

http://bazaar.launchpad.net/%7Ecairo-dock-team/cairo-dock-core/cairo-dock/atom
http://bazaar.launchpad.net/%7Ecairo-dock-team/cairo-dock-plug-ins/plug-ins/atom

Conky

You can use the Atom feed on conky with a script.
  • You need curl :
    sudo apt-get install curl
    (or yum install curl, sudo pacman -S yaourt, emerge -av net-misc/curl, etc. depending of your distribution)
  • Save these line on your computer (for example '~/.conky-rss' ; a file hidden in your home) [code=bash]#!/bin/bash

  1. RSS Display Script by Bill Woodford (admin@sdesign.us) v1.0
  2. This script is designed to output story titles for most any RSS Feed.
  3. This script depends on curl. Please ensure it is installed and in your $PATH
  4. Gentoo: emerge -av net-misc/curl
  5. Debian: apt-get install curl
  6. Homepage: http://curl.haxx.se/
  7. Usage:
  8. .conkyrc:    ${execi [time] /path/to/script/conky-rss.sh URI LINES TITLENUM}
  9.     URI = Location of feed, ex. http://www.gentoo.org/rdf/en/glsa-index.rdf
  10.     LINES = How many titles to display (default 5)
  11.     TITLENUM = How many times the title of the feed itself is specified, usually 1 or 2 (default 2)
  12. Usage Example        
  13.         ${execi 300 /home/youruser/scripts/conky-rss.sh http://www.foxnews.com/xmlfeed/rss/0,4313,1,00.rss 4 2}

  1. RSS Setup - Don't change unless you want these values hard-coded!
uri=$1                            #URI of RSS Feed
lines=$2                        #Number of headlines
titlenum=$3                        #Number of extra titles

  1. Script start
  2. Require a uri, as a minimum

if "$uri" == "" ; then
    echo "No URI specified, cannot continue!" >&2
    echo "Please read script for more information" >&2
else
    #Set defaults if none specified
    if $lines == "" ; then lines=5 ; fi
    if $titlenum == "" ; then titlenum=2 ; fi

    #The actual work
    curl -s --connect-timeout 30 $uri |\
    sed -e 's/<\/title>/\n/g' |\
    grep -o '<title>.*' |\
    sed -e 's/<title>//' |\
    


Glx-Dock / Cairo-Dock Wiki Por BZR Top

Online users :

Powered by ElementSpeak © 2007 Adrien Pilleboue, 2009-2013 Matthieu Baerts.
Dock based on CSS Dock Menu (Ndesign) with jQuery. Icons by zgegball
Cairo-Dock is a free software under GNU-GPL3 licence. First stable version created by Fabounet.
Many thanks to TuxFamily for the web Hosting and Mav for the domain name.