个人工具

“UbuntuHelp:CairoDock”的版本间的差异

来自Ubuntu中文

跳转至: 导航, 搜索
第8行: 第8行:
 
This page describes only how to install Cairo-dock. If you want to know more (about configuration, themes,... ) you can see the official site:
 
This page describes only how to install Cairo-dock. If you want to know more (about configuration, themes,... ) you can see the official site:
 
http://www.cairo-dock.org/index.php
 
http://www.cairo-dock.org/index.php
The site is in French mainly, but the wiki has an English section which is updated as often as the French part ;)
+
and especially this tutorial :
 +
http://www.cairo-dock.org/ww_page.php?p=A%20complete%20tutorial%20on%20how%20to%20customize%20your%20dock&lang=en
 +
The site is in French mainly, but the wiki has a complete English section which is updated as often as the French part ;)
 
If you have some questions or bugs to report, you can post on the forum
 
If you have some questions or bugs to report, you can post on the forum
 
http://www.cairo-dock.org/bg_forumlist.php
 
http://www.cairo-dock.org/bg_forumlist.php
第15行: 第17行:
 
The Project is split in to two parts: the dock itself and the plug-ins (which provides mainly the applets). The installation for both is the same, so only the installation of the dock is explained. You just have to make sure you install the plug-ins after the dock.
 
The Project is split in to two parts: the dock itself and the plug-ins (which provides mainly the applets). The installation for both is the same, so only the installation of the dock is explained. You just have to make sure you install the plug-ins after the dock.
 
The config file will not be overwritten during updates as Cairo-Dock is capable of inserting the missing fields if any without losing your previous settings.
 
The config file will not be overwritten during updates as Cairo-Dock is capable of inserting the missing fields if any without losing your previous settings.
 +
Please note that Cairo-Dock is part of Ubuntu since Intrepid Ibex (8.10); however, until things change, it is highly recommended to avoid this version, since it is very old (v1.5.5) and not maintained anymore.
 
=== From the repository (stable) ===
 
=== From the repository (stable) ===
(only for Hardy Heron 32/64bit and Gutsy Gibbon 32 bit)
+
(only for Hardy Heron 32/64bit, Gutsy Gibbon 32 bit, and Intrepid Ibex 32/64bit)
 
Cairo-Dock has its own repository. So, to install it, you just have to edit your sources (sudo gedit /etc/apt/sources.list) and add the repository:
 
Cairo-Dock has its own repository. So, to install it, you just have to edit your sources (sudo gedit /etc/apt/sources.list) and add the repository:
 
<pre><nowiki>
 
<pre><nowiki>
 
deb http://repository.cairo-dock.org/ubuntu hardy cairo-dock
 
deb http://repository.cairo-dock.org/ubuntu hardy cairo-dock
 
or
 
or
deb http://repository.cairo-dock.org/ubuntu gutsy cairo-dock (if you are under Gutsy)</nowiki></pre>
+
deb http://repository.cairo-dock.org/ubuntu gutsy cairo-dock (if you are under Gutsy)
 +
or
 +
deb http://repository.cairo-dock.org/ubuntu intrepid cairo-dock</nowiki></pre>
 
The signed GPG key for identification of the repository is:
 
The signed GPG key for identification of the repository is:
 
<pre><nowiki>
 
<pre><nowiki>

2008年12月16日 (二) 18:04的版本


  1. title Cairo-Dock

[1]

Introduction

Cairo-dock is an animated application launch bar for the desktop comparable to Mac OS X's Dock, or Rocket Dock (for those of you who come from Windows). It is compatible with Compiz-Fusion, Beryl, Compiz, and also Xcompmgr, but it can run without a composite manager (with fake transparency). Cairo-Dock can run under GNOME, KDE, and XFCE. This page describes only how to install Cairo-dock. If you want to know more (about configuration, themes,... ) you can see the official site: http://www.cairo-dock.org/index.php and especially this tutorial : http://www.cairo-dock.org/ww_page.php?p=A%20complete%20tutorial%20on%20how%20to%20customize%20your%20dock&lang=en The site is in French mainly, but the wiki has a complete English section which is updated as often as the French part ;) If you have some questions or bugs to report, you can post on the forum http://www.cairo-dock.org/bg_forumlist.php . You can speak English there so don't be shy ;)

Installation and Initial Launch

The Project is split in to two parts: the dock itself and the plug-ins (which provides mainly the applets). The installation for both is the same, so only the installation of the dock is explained. You just have to make sure you install the plug-ins after the dock. The config file will not be overwritten during updates as Cairo-Dock is capable of inserting the missing fields if any without losing your previous settings. Please note that Cairo-Dock is part of Ubuntu since Intrepid Ibex (8.10); however, until things change, it is highly recommended to avoid this version, since it is very old (v1.5.5) and not maintained anymore.

From the repository (stable)

(only for Hardy Heron 32/64bit, Gutsy Gibbon 32 bit, and Intrepid Ibex 32/64bit) Cairo-Dock has its own repository. So, to install it, you just have to edit your sources (sudo gedit /etc/apt/sources.list) and add the repository:

deb http://repository.cairo-dock.org/ubuntu hardy cairo-dock
or
deb http://repository.cairo-dock.org/ubuntu gutsy cairo-dock (if you are under Gutsy)
or
deb http://repository.cairo-dock.org/ubuntu intrepid cairo-dock

The signed GPG key for identification of the repository is:

wget -q http://repository.cairo-dock.org/ubuntu/cairo-dock.gpg -O- | sudo apt-key add -

So, type it in a shell. Then, to install cairo-dock, type in a shell:

sudo apt-get update
sudo apt-get install cairo-dock cairo-dock-plug-ins

There is no repository available for older distributions such as Feisty. So, if you want Cairo-Dock under Feisty or older, you must compile it, or download the package (see below).

With the deb package (stable)

If you can't install cairo-dock from the repository, you can download the package from Berlios. But you first need to install the following packages:

sudo apt-get install libcairo2 librsvg2-2 libglitz1 libglitz-glx1

Then, download the package: http://developer.berlios.de/project/showfiles.php?group_id=8724 in a shell, go to the directory where you have downloaded the .deb (use the command “cd the_directory”) and type

sudo dpkg -i xxx.deb

xxx is the name of the package you have downloaded and, type

sudo apt-get -f install

So, it's finished, you can type “cairo-dock” in a shell to launch it and configure it

By compiling it (stable)

You must first install the following packages:

sudo apt-get install build-essential libcairo2-dev libgtk2.0-dev librsvg2-dev libglitz1-dev libcairo2 librsvg2-2 libglitz1 libglitz-glx1 libglitz-glx1-dev m4 autotools-dev pkg-config libtool

Then, download the tar.bz2 package here: http://developer.berlios.de/project/showfiles.php?group_id=8724, in the shell go to the download directory with “cd” and type:

autoreconf -isvf
./configure –prefix=/usr
make
sudo make install

By compiling it with a script using the SVN version (unstable)

""/!\ PLEASE DON'T USE THIS VERSION OF CAIRO-DOCK IF YOU DON'T KNOW WHAT YOU'RE DOING /!\"" If you want to try the bleeding edge version of cairo-dock (not yet in the repository because it's not yet stable), you can use the SVN version. But be aware that this version is potentially unstable, and there are updates everyday. Please use this version only if you have used a stable version before, and if you know what you're doing. It is preferable to know how cairo-dock works to be able to use it. A script was written to compile the SVN version of Cairo-Dock easily. So, you just have to create a directory where the script will be installed in, to download the script, and to launch it: Open a Terminal, start by creating a specific repertory (for example /cairo-dock_svn):

mkdir /cairo-dock_svn
cd /cairo-dock_svn

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

wget http://cairo-dock.vef.fr/cairo-dock_svn.sh
chmod u+x cairo-dock_svn.sh
./cairo-dock_svn.sh

The SVN Password will be required: JUST PRESS ENTER. To finish, enter your own password when the script requires it in order to proceed with to the installation. A line will appear after the installation of each module and the final message indicates if everything went well. If not consult the log.txt file in the directory you have created at the beginning (~/cairo-dock_svn). Look at the end to locate the problem, then post it on the forum (you don't need to speak French ;) ) For a good use of this unstable version, please get information on our site: http://www.cairo-dock.org/ww_page.php?p=Accueil&lang=en (direct link to the English section of the wiki)

What is installed ?

This is a question that everyone should ask when installing a program. Cairo-Dock stores your launchers and your parameters in a hidden directory .cairo-dock in your own user directory.

~/.cairo-dock  --> current_theme --> cairo-dock.conf+decorations+readme
               |                 +--> launchers --> .desktop+icônes
               +--> themes --> theme1 --> cairo-dock.conf+decorations+readme
                           |          +--> launchers --> desktop+icônes
                           +--> theme2 --> cairo-dock.conf+decorations+readme
                           |           +--> launchers --> desktop+icônes
                           +--> .... 

The package also installs ready made themes in /usr/share/cairo-dock/themes. You can't modify them and they will be updated along with the dock.

First Launch

If you installed it from the packages, there should be a launcher in the menu, under the "System" sub-menu. If not, just press <ALT>+F2 and type cairo-dock in the window that will appear. To have the backtraces (sometimes useful if a problem should occur), open an terminal and type “cairo-dock &; disown” and press enter. On first launch, cairo-dock will configure itself and will propose a list of themes (this allows you to have an instant fully functional dock and an overview of the different functionalities and options). You may have to move the mouse cursor to the bottom of the screen to see the dock if auto-hide has been enabled. (It depends on the theme you choose. Generally, a little image is displayed on the hiding zone. Move your cursor on it) After that if you want to test another theme just right click on the Dock and select "Manage themes". Some options are available, try cairo-dock –help (in a terminal) to list them. If you want to learn more about themes and how to create your own theme, you can go to the official site's wiki http://www.cairo-dock.org/ww_page.php?p=Accueil&lang=en

Some screenshots and possibilities

Screenshots of desktops of the team Cairo-Dock

here you can see screenshots of desktops of people who work on Cairo-Dock http://www.cairo-dock.org/mc_album.php?a=3

Some possibilities, applets, views...

    • First, I'm going to show you the basic default view, simple, like the macOS bar. This is the view you will see when your dock is installed:

[2]

    • Here is my dock, configured with the "3D view". This is a classical view with reflection of icons on the dock-panel.

You can also see here, the applet "compiz-icon" with the "parabolic-view" wich is a beautiful view for sub-docks: [3]

    • This is the "carousel" view. The dock looks like a roundabout. It is beautiful but hard to manage ;)

[4]

    • You can see on this screenshot the curved view. This is my favorite view. And you can also see my sub dock "internet" with the "rainbow" view, very user friendly with sub docks which have a lot of launchers:

[5]

    • Here you can see the applet "weather" wich gives you the weather taken from the site weather.com. This applet has here the view "slide" which is smart for sub-docks which are not full:

[6]