特殊:Badtitle/NS100:CairoDock:修订间差异
小无编辑摘要 |
小无编辑摘要 |
||
(未显示同一用户的6个中间版本) | |||
第2行: | 第2行: | ||
{{Languages|UbuntuHelp:CairoDock}} | {{Languages|UbuntuHelp:CairoDock}} | ||
#title Cairo-Dock | #title Cairo-Dock | ||
'''The domain name cairo-dock.org has unfortunately changed !''' Now, you can find the '''website, wiki, forum, repository, doc, etc. on [http://www.glx-dock.org glx-dock.org]''' | |||
== Introduction == | == Introduction == | ||
Cairo- | Cairo-Dock is an animated application launch bar for the desktop, comparable to the dock in Mac OS X or Rocket Dock (for Windows). Now, you can use Cairo-Dock with '''OpenGL''' (to use your graphic card!). Some [http://www.glx-dock.org/mc_album.php?a=3 screenshots] | ||
It is compatible with Compiz-Fusion, Beryl, Compiz, | It is compatible with Compiz-Fusion, Beryl, Compiz, Metacity, Kwin, Xcompmgr, etc., but it can also run without a composite manager (using fake transparency). Cairo-Dock can run under GNOME, KDE and XFCE. | ||
This page describes | This page only describes how to install Cairo-Dock and some basic usage instructions. If you want to know more about configuration and themes you should go to the [http://www.glx-dock.org/index.php Cairo-Dock website], its [http://www.glx-dock.org/ww_page.php?p=Accueil&lang=en wiki] and read this [http://www.glx-dock.org/ww_page.php?p=A%20complete%20tutorial%20on%20how%20to%20customize%20your%20dock&lang=en tutorial]. The site is in French '''and''' in English, the [http://www.glx-dock.org/ww_page.php wiki] has a complete English section and don't be afraid to ask questions or report bugs in the [http://www.glx-dock.org/bg_forumlist.php forum]. | ||
http://www. | == Installation == | ||
The site is in French | The project is split in to two parts: the dock itself and the plug-ins. Only the installation of the dock is explained, but installing the plug-ins is the same, just make sure you install the plug-ins after the dock. | ||
http://www. | |||
. | |||
== Installation | |||
The | |||
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. | ||
=== From the | Please note that, although Cairo-Dock is listed in the Universe repository since Ubuntu 8.10 (Intrepid Ibex) and can be installed using Synaptic Package Manager, '''but''' it is recommended to install Cairo-Dock using one of the methods described below to get the most up-to-date and stable version of Cairo-Dock. | ||
=== From the Repository (Stable) === | |||
Cairo-Dock | This is only for Ubuntu 8.04 (Hardy Heron), Ubuntu 8.10 (Intrepid Ibex), Ubuntu 9.04 (Jaunty Jackalope), and Ubuntu 9.10 (Karmic Koala) with a support of 32/64bit/lpia architecture. | ||
==== With 5 commands ==== | |||
To add the Cairo-Dock repository to your sources simply launch these commands from a terminal : | |||
<pre><nowiki> | <pre><nowiki> | ||
deb http://repository.cairo-dock.org/ubuntu | sudo -v</nowiki></pre> | ||
<pre><nowiki> | |||
deb http://repository.cairo-dock.org/ubuntu | echo "deb http://repository.glx-dock.org/ubuntu $(lsb_release -sc) cairo-dock ## Cairo-Dock-Stable" | sudo tee -a /etc/apt/sources.list | ||
wget -q http://repository.glx-dock.org/cairo-dock.gpg -O- | sudo apt-key add - | |||
sudo apt-get update | |||
sudo apt-get install cairo-dock cairo-dock-plug-ins</nowiki></pre> | |||
==== Manually ==== | |||
Or if you want to do that manually, open the sources.list file: | |||
<pre><nowiki> | |||
gksudo gedit /etc/apt/sources.list</nowiki></pre> | |||
and add the appropriate repository to the end of the file: | |||
<pre><nowiki> | |||
deb http://repository.glx-dock.org/ubuntu karmic cairo-dock # For Ubuntu 9.10 | |||
deb http://repository.glx-dock.org/ubuntu jaunty cairo-dock # For Ubuntu 9.04 | |||
deb http://repository.glx-dock.org/ubuntu intrepid cairo-dock # For Ubuntu 8.10 | |||
deb http://repository.glx-dock.org/ubuntu hardy cairo-dock # For ubuntu 8.04</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> | ||
wget -q http://repository. | wget -q http://repository.glx-dock.org/cairo-dock.gpg -O- | sudo apt-key add -</nowiki></pre> | ||
Then, to install Cairo-Dock, issue these two commands in the terminal: | |||
<pre><nowiki> | <pre><nowiki> | ||
sudo apt-get update | sudo apt-get update | ||
sudo apt-get install cairo-dock cairo-dock-plug-ins</nowiki></pre> | sudo apt-get install cairo-dock cairo-dock-plug-ins</nowiki></pre> | ||
There | There are no repositories available for releases older than Ubuntu 8.04 (Hardy Heron). So, if you want Cairo-Dock for an older release, you must compile it or download the package. | ||
=== | === From a .deb Package (Stable) === | ||
If you can't install | If you can't install Cairo-Dock from the repository, you can download the .deb package from LauncHPad. But you first need to install the following packages: | ||
<pre><nowiki> | <pre><nowiki> | ||
sudo apt-get install libcairo2 librsvg2-2 libglitz1 libglitz-glx1</nowiki></pre> | sudo apt-get install libcairo2 librsvg2-2 libglitz1 libglitz-glx1</nowiki></pre> | ||
Then, download the | Then, download the [https://launchpad.net/~cairo-dock-team/+archive/ppa packages here]. | ||
Apply a double-click on the package or open the terminal, navigate to the directory which you downloaded the .deb package to (e.g. <code><nowiki>cd ~/Desktop</nowiki></code>) and issue the following commands ('''NB:''' Ensure that you have typed in the correct version number): | |||
<pre><nowiki> | <pre><nowiki> | ||
sudo dpkg -i | sudo dpkg -i cairo-dock*.deb</nowiki></pre> | ||
and then: | |||
and | |||
<pre><nowiki> | <pre><nowiki> | ||
sudo apt-get -f install</nowiki></pre> | sudo apt-get -f install</nowiki></pre> | ||
Done. You can type <code><nowiki>cairo-dock</nowiki></code> in terminal to launch and configure the dock. | |||
== By | === By Compiling it (Stable) === | ||
First you must install the following packages: | |||
<pre><nowiki> | <pre><nowiki> | ||
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</nowiki></pre> | 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</nowiki></pre> | ||
Then, download the tar.bz2 package | Then, download the tar.bz2 package from Launchpad : [https://launchpad.net/cairo-dock-core core package here] and its [https://launchpad.net/cairo-dock-plug-ins plug-ins here]. Open the terminal and navigate to the download directory and type: | ||
<pre><nowiki> | <pre><nowiki> | ||
autoreconf -isvf | autoreconf -isvf | ||
第54行: | 第65行: | ||
make | make | ||
sudo make install</nowiki></pre> | sudo make install</nowiki></pre> | ||
=== By | === By Compiling it With a Script Using the bazaar (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 | If you want to try the newest version of Cairo-Dock (not in the repository because it's not completely stable), you can use the BZR. But be aware that this version is potentially unstable and there are updates everyday. Use this version '''only''' if you know what you're doing, it is also preferable to know how Cairo-Dock works to be able to use the BZR. | ||
A script | A script has been written to compile the BZR version of Cairo-Dock easily. So, you just have to create a directory where the script will be installed in, download the script and launch it: | ||
Open a | Open a terminal, and create a new directory: | ||
<pre><nowiki> | <pre><nowiki> | ||
mkdir /cairo- | mkdir /cairo-dock_bzr | ||
cd /cairo- | cd /cairo-dock_bzr</nowiki></pre> | ||
Then get the script, make it executable and launch it: | Then get the script, make it executable and launch it: | ||
<pre><nowiki> | <pre><nowiki> | ||
wget http:// | wget http://bzr.glx-dock.org/cairo-dock_bzr.sh | ||
chmod u+x cairo- | chmod u+x cairo-dock_bzr.sh | ||
./cairo- | ./cairo-dock_bzr.sh</nowiki></pre> | ||
Simply follow the instructions (in English) | |||
To finish, enter your own password when the script | To finish, enter your own password when prompted by the script in order to proceed with to the installation. | ||
A line will appear after the installation of each module and | A line will appear after the installation of each module and a final message will appear indicating that everything went well. If not, consult the log.txt file in the directory you have created at the beginning. Look at the end to locate the problem, then post it in the [http://www.glx-dock.org/bg_forumlist.php forum]. | ||
=== What is installed? === | |||
http://www. | Cairo-Dock stores your launchers and your parameters in a hidden directory, ~/.config/cairo-dock | ||
Also, binaries are in /usr/bin and data (including the default themes) in /usr/share | |||
=== What is installed ? === | == First Launch == | ||
If you installed Cairo-Dock from the packages, there should be a launcher in the applications menu, under the ''System Tools'' sub-menu. If there isn't a launcher there, just press `Alt+F2` and type in <code><nowiki>cairo-dock</nowiki></code>. To enable backtraces on launch (sometimes useful if a problem occurs), open a terminal and type <code><nowiki>cairo-dock & disown</nowiki></code> and press enter. | |||
On first launch, Cairo-Dock will configure itself and will offer you a list of themes to choose from. This allows you to have a fully functional dock immediately. You will have to move the mouse cursor to the bottom of the screen to see the dock if auto-hide has been enabled. This depends on the theme you chose at launch. | |||
~/.cairo-dock | If you want to use another theme, right click on the dock and select ''Cairo-Dock > Manage Themes''. To configure the dock's settings, right click the dock and select ''Cairo-Dock > Configure''. | ||
REM: Cairo-Dock has now a support of OpenGL. If you want to use it automatically, simply launch Cairo-Dock with <code><nowiki>cairo-dock -o</nowiki></code>. Note that the OpenGL for Intel and ATI is not so great except with Ubuntu Karmic or newer ! (Have a look the wiki of Cairo-Dock) | |||
== See Also == | |||
Cairo-Dock is not the only dock but has many possibilities (OpenGL support, many effects and views, many plug-ins, fast, a dynamic project, etc.). But you free to test other dock ! | |||
* [[UbuntuHelp:AvantWindowNavigator|AvantWindowNavigator]] | |||
== External Links == | |||
* [http://www.glx-dock.org Cairo-Dock Homepage] | |||
* [http://www.glx-dock.org/ww_page.php Cairo-Dock Wiki] | |||
* [http://www.glx-dock.org/ww_page.php?p=Recurrents%20problems&lang=en Recurrent problems] | |||
If you installed | ---- | ||
If | [[category:CategorySoftware]] | ||
To | |||
On first launch, | |||
You | |||
[[ | |||
* | |||
* | |||
* | |||
[[ | |||
[[category:UbuntuHelp]] | [[category:UbuntuHelp]] |
2010年5月19日 (三) 21:49的最新版本
文章出处: |
{{#if: | {{{2}}} | https://help.ubuntu.com/community/CairoDock }} |
点击翻译: |
English {{#ifexist: {{#if: UbuntuHelp:CairoDock | UbuntuHelp:CairoDock | {{#if: | :}}CairoDock}}/af | • {{#if: UbuntuHelp:CairoDock|Afrikaans| [[::CairoDock/af|Afrikaans]]}}|}} {{#ifexist: {{#if: UbuntuHelp:CairoDock | UbuntuHelp:CairoDock | {{#if: | :}}CairoDock}}/ar | • {{#if: UbuntuHelp:CairoDock|العربية| [[::CairoDock/ar|العربية]]}}|}} {{#ifexist: {{#if: UbuntuHelp:CairoDock | UbuntuHelp:CairoDock | {{#if: | :}}CairoDock}}/az | • {{#if: UbuntuHelp:CairoDock|azərbaycanca| [[::CairoDock/az|azərbaycanca]]}}|}} {{#ifexist: {{#if: UbuntuHelp:CairoDock | UbuntuHelp:CairoDock | {{#if: | :}}CairoDock}}/bcc | • {{#if: UbuntuHelp:CairoDock|جهلسری بلوچی| [[::CairoDock/bcc|جهلسری بلوچی]]}}|}} {{#ifexist: {{#if: UbuntuHelp:CairoDock | UbuntuHelp:CairoDock | {{#if: | :}}CairoDock}}/bg | • {{#if: UbuntuHelp:CairoDock|български| [[::CairoDock/bg|български]]}}|}} {{#ifexist: {{#if: UbuntuHelp:CairoDock | UbuntuHelp:CairoDock | {{#if: | :}}CairoDock}}/br | • {{#if: UbuntuHelp:CairoDock|brezhoneg| [[::CairoDock/br|brezhoneg]]}}|}} {{#ifexist: {{#if: UbuntuHelp:CairoDock | UbuntuHelp:CairoDock | {{#if: | :}}CairoDock}}/ca | • {{#if: UbuntuHelp:CairoDock|català| [[::CairoDock/ca|català]]}}|}} {{#ifexist: {{#if: UbuntuHelp:CairoDock | UbuntuHelp:CairoDock | {{#if: | :}}CairoDock}}/cs | • {{#if: UbuntuHelp:CairoDock|čeština| [[::CairoDock/cs|čeština]]}}|}} {{#ifexist: {{#if: UbuntuHelp:CairoDock | UbuntuHelp:CairoDock | {{#if: | :}}CairoDock}}/de | • {{#if: UbuntuHelp:CairoDock|Deutsch| [[::CairoDock/de|Deutsch]]}}|}} {{#ifexist: {{#if: UbuntuHelp:CairoDock | UbuntuHelp:CairoDock | {{#if: | :}}CairoDock}}/el | • {{#if: UbuntuHelp:CairoDock|Ελληνικά| [[::CairoDock/el|Ελληνικά]]}}|}} {{#ifexist: {{#if: UbuntuHelp:CairoDock | UbuntuHelp:CairoDock | {{#if: | :}}CairoDock}}/es | • {{#if: UbuntuHelp:CairoDock|español| [[::CairoDock/es|español]]}}|}} {{#ifexist: {{#if: UbuntuHelp:CairoDock | UbuntuHelp:CairoDock | {{#if: | :}}CairoDock}}/fa | • {{#if: UbuntuHelp:CairoDock|فارسی| [[::CairoDock/fa|فارسی]]}}|}} {{#ifexist: {{#if: UbuntuHelp:CairoDock | UbuntuHelp:CairoDock | {{#if: | :}}CairoDock}}/fi | • {{#if: UbuntuHelp:CairoDock|suomi| [[::CairoDock/fi|suomi]]}}|}} {{#ifexist: {{#if: UbuntuHelp:CairoDock | UbuntuHelp:CairoDock | {{#if: | :}}CairoDock}}/fr | • {{#if: UbuntuHelp:CairoDock|français| [[::CairoDock/fr|français]]}}|}} {{#ifexist: {{#if: UbuntuHelp:CairoDock | UbuntuHelp:CairoDock | {{#if: | :}}CairoDock}}/gu | • {{#if: UbuntuHelp:CairoDock|ગુજરાતી| [[::CairoDock/gu|ગુજરાતી]]}}|}} {{#ifexist: {{#if: UbuntuHelp:CairoDock | UbuntuHelp:CairoDock | {{#if: | :}}CairoDock}}/he | • {{#if: UbuntuHelp:CairoDock|עברית| [[::CairoDock/he|עברית]]}}|}} {{#ifexist: {{#if: UbuntuHelp:CairoDock | UbuntuHelp:CairoDock | {{#if: | :}}CairoDock}}/hu | • {{#if: UbuntuHelp:CairoDock|magyar| [[::CairoDock/hu|magyar]]}}|}} {{#ifexist: {{#if: UbuntuHelp:CairoDock | UbuntuHelp:CairoDock | {{#if: | :}}CairoDock}}/id | • {{#if: UbuntuHelp:CairoDock|Bahasa Indonesia| [[::CairoDock/id|Bahasa Indonesia]]}}|}} {{#ifexist: {{#if: UbuntuHelp:CairoDock | UbuntuHelp:CairoDock | {{#if: | :}}CairoDock}}/it | • {{#if: UbuntuHelp:CairoDock|italiano| [[::CairoDock/it|italiano]]}}|}} {{#ifexist: {{#if: UbuntuHelp:CairoDock | UbuntuHelp:CairoDock | {{#if: | :}}CairoDock}}/ja | • {{#if: UbuntuHelp:CairoDock|日本語| [[::CairoDock/ja|日本語]]}}|}} {{#ifexist: {{#if: UbuntuHelp:CairoDock | UbuntuHelp:CairoDock | {{#if: | :}}CairoDock}}/ko | • {{#if: UbuntuHelp:CairoDock|한국어| [[::CairoDock/ko|한국어]]}}|}} {{#ifexist: {{#if: UbuntuHelp:CairoDock | UbuntuHelp:CairoDock | {{#if: | :}}CairoDock}}/ksh | • {{#if: UbuntuHelp:CairoDock|Ripoarisch| [[::CairoDock/ksh|Ripoarisch]]}}|}} {{#ifexist: {{#if: UbuntuHelp:CairoDock | UbuntuHelp:CairoDock | {{#if: | :}}CairoDock}}/mr | • {{#if: UbuntuHelp:CairoDock|मराठी| [[::CairoDock/mr|मराठी]]}}|}} {{#ifexist: {{#if: UbuntuHelp:CairoDock | UbuntuHelp:CairoDock | {{#if: | :}}CairoDock}}/ms | • {{#if: UbuntuHelp:CairoDock|Bahasa Melayu| [[::CairoDock/ms|Bahasa Melayu]]}}|}} {{#ifexist: {{#if: UbuntuHelp:CairoDock | UbuntuHelp:CairoDock | {{#if: | :}}CairoDock}}/nl | • {{#if: UbuntuHelp:CairoDock|Nederlands| [[::CairoDock/nl|Nederlands]]}}|}} {{#ifexist: {{#if: UbuntuHelp:CairoDock | UbuntuHelp:CairoDock | {{#if: | :}}CairoDock}}/no | • {{#if: UbuntuHelp:CairoDock|norsk| [[::CairoDock/no|norsk]]}}|}} {{#ifexist: {{#if: UbuntuHelp:CairoDock | UbuntuHelp:CairoDock | {{#if: | :}}CairoDock}}/oc | • {{#if: UbuntuHelp:CairoDock|occitan| [[::CairoDock/oc|occitan]]}}|}} {{#ifexist: {{#if: UbuntuHelp:CairoDock | UbuntuHelp:CairoDock | {{#if: | :}}CairoDock}}/pl | • {{#if: UbuntuHelp:CairoDock|polski| [[::CairoDock/pl|polski]]}}|}} {{#ifexist: {{#if: UbuntuHelp:CairoDock | UbuntuHelp:CairoDock | {{#if: | :}}CairoDock}}/pt | • {{#if: UbuntuHelp:CairoDock|português| [[::CairoDock/pt|português]]}}|}} {{#ifexist: {{#if: UbuntuHelp:CairoDock | UbuntuHelp:CairoDock | {{#if: | :}}CairoDock}}/ro | • {{#if: UbuntuHelp:CairoDock|română| [[::CairoDock/ro|română]]}}|}} {{#ifexist: {{#if: UbuntuHelp:CairoDock | UbuntuHelp:CairoDock | {{#if: | :}}CairoDock}}/ru | • {{#if: UbuntuHelp:CairoDock|русский| [[::CairoDock/ru|русский]]}}|}} {{#ifexist: {{#if: UbuntuHelp:CairoDock | UbuntuHelp:CairoDock | {{#if: | :}}CairoDock}}/si | • {{#if: UbuntuHelp:CairoDock|සිංහල| [[::CairoDock/si|සිංහල]]}}|}} {{#ifexist: {{#if: UbuntuHelp:CairoDock | UbuntuHelp:CairoDock | {{#if: | :}}CairoDock}}/sq | • {{#if: UbuntuHelp:CairoDock|shqip| [[::CairoDock/sq|shqip]]}}|}} {{#ifexist: {{#if: UbuntuHelp:CairoDock | UbuntuHelp:CairoDock | {{#if: | :}}CairoDock}}/sr | • {{#if: UbuntuHelp:CairoDock|српски / srpski| [[::CairoDock/sr|српски / srpski]]}}|}} {{#ifexist: {{#if: UbuntuHelp:CairoDock | UbuntuHelp:CairoDock | {{#if: | :}}CairoDock}}/sv | • {{#if: UbuntuHelp:CairoDock|svenska| [[::CairoDock/sv|svenska]]}}|}} {{#ifexist: {{#if: UbuntuHelp:CairoDock | UbuntuHelp:CairoDock | {{#if: | :}}CairoDock}}/th | • {{#if: UbuntuHelp:CairoDock|ไทย| [[::CairoDock/th|ไทย]]}}|}} {{#ifexist: {{#if: UbuntuHelp:CairoDock | UbuntuHelp:CairoDock | {{#if: | :}}CairoDock}}/tr | • {{#if: UbuntuHelp:CairoDock|Türkçe| [[::CairoDock/tr|Türkçe]]}}|}} {{#ifexist: {{#if: UbuntuHelp:CairoDock | UbuntuHelp:CairoDock | {{#if: | :}}CairoDock}}/vi | • {{#if: UbuntuHelp:CairoDock|Tiếng Việt| [[::CairoDock/vi|Tiếng Việt]]}}|}} {{#ifexist: {{#if: UbuntuHelp:CairoDock | UbuntuHelp:CairoDock | {{#if: | :}}CairoDock}}/yue | • {{#if: UbuntuHelp:CairoDock|粵語| [[::CairoDock/yue|粵語]]}}|}} {{#ifexist: {{#if: UbuntuHelp:CairoDock | UbuntuHelp:CairoDock | {{#if: | :}}CairoDock}}/zh | • {{#if: UbuntuHelp:CairoDock|中文| [[::CairoDock/zh|中文]]}}|}} {{#ifexist: {{#if: UbuntuHelp:CairoDock | UbuntuHelp:CairoDock | {{#if: | :}}CairoDock}}/zh-hans | • {{#if: UbuntuHelp:CairoDock|中文(简体)| [[::CairoDock/zh-hans|中文(简体)]]}}|}} {{#ifexist: {{#if: UbuntuHelp:CairoDock | UbuntuHelp:CairoDock | {{#if: | :}}CairoDock}}/zh-hant | • {{#if: UbuntuHelp:CairoDock|中文(繁體)| [[::CairoDock/zh-hant|中文(繁體)]]}}|}} |
{{#ifeq:UbuntuHelp:CairoDock|:CairoDock|请不要直接编辑翻译本页,本页将定期与来源同步。}} |
{{#ifexist: :CairoDock/zh | | {{#ifexist: CairoDock/zh | | {{#ifeq: {{#titleparts:CairoDock|1|-1|}} | zh | | }} }} }} {{#ifeq: {{#titleparts:CairoDock|1|-1|}} | zh | | }}
- title Cairo-Dock
The domain name cairo-dock.org has unfortunately changed ! Now, you can find the website, wiki, forum, repository, doc, etc. on glx-dock.org
Introduction
Cairo-Dock is an animated application launch bar for the desktop, comparable to the dock in Mac OS X or Rocket Dock (for Windows). Now, you can use Cairo-Dock with OpenGL (to use your graphic card!). Some screenshots It is compatible with Compiz-Fusion, Beryl, Compiz, Metacity, Kwin, Xcompmgr, etc., but it can also run without a composite manager (using fake transparency). Cairo-Dock can run under GNOME, KDE and XFCE. This page only describes how to install Cairo-Dock and some basic usage instructions. If you want to know more about configuration and themes you should go to the Cairo-Dock website, its wiki and read this tutorial. The site is in French and in English, the wiki has a complete English section and don't be afraid to ask questions or report bugs in the forum.
Installation
The project is split in to two parts: the dock itself and the plug-ins. Only the installation of the dock is explained, but installing the plug-ins is the same, just 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, although Cairo-Dock is listed in the Universe repository since Ubuntu 8.10 (Intrepid Ibex) and can be installed using Synaptic Package Manager, but it is recommended to install Cairo-Dock using one of the methods described below to get the most up-to-date and stable version of Cairo-Dock.
From the Repository (Stable)
This is only for Ubuntu 8.04 (Hardy Heron), Ubuntu 8.10 (Intrepid Ibex), Ubuntu 9.04 (Jaunty Jackalope), and Ubuntu 9.10 (Karmic Koala) with a support of 32/64bit/lpia architecture.
With 5 commands
To add the Cairo-Dock repository to your sources simply launch these commands from a terminal :
sudo -v
echo "deb http://repository.glx-dock.org/ubuntu $(lsb_release -sc) cairo-dock ## Cairo-Dock-Stable" | sudo tee -a /etc/apt/sources.list wget -q http://repository.glx-dock.org/cairo-dock.gpg -O- | sudo apt-key add - sudo apt-get update sudo apt-get install cairo-dock cairo-dock-plug-ins
Manually
Or if you want to do that manually, open the sources.list file:
gksudo gedit /etc/apt/sources.list
and add the appropriate repository to the end of the file:
deb http://repository.glx-dock.org/ubuntu karmic cairo-dock # For Ubuntu 9.10 deb http://repository.glx-dock.org/ubuntu jaunty cairo-dock # For Ubuntu 9.04 deb http://repository.glx-dock.org/ubuntu intrepid cairo-dock # For Ubuntu 8.10 deb http://repository.glx-dock.org/ubuntu hardy cairo-dock # For ubuntu 8.04
The signed GPG key for identification of the repository is:
wget -q http://repository.glx-dock.org/cairo-dock.gpg -O- | sudo apt-key add -
Then, to install Cairo-Dock, issue these two commands in the terminal:
sudo apt-get update sudo apt-get install cairo-dock cairo-dock-plug-ins
There are no repositories available for releases older than Ubuntu 8.04 (Hardy Heron). So, if you want Cairo-Dock for an older release, you must compile it or download the package.
From a .deb Package (Stable)
If you can't install Cairo-Dock from the repository, you can download the .deb package from LauncHPad. But you first need to install the following packages:
sudo apt-get install libcairo2 librsvg2-2 libglitz1 libglitz-glx1
Then, download the packages here.
Apply a double-click on the package or open the terminal, navigate to the directory which you downloaded the .deb package to (e.g. cd ~/Desktop
) and issue the following commands (NB: Ensure that you have typed in the correct version number):
sudo dpkg -i cairo-dock*.deb
and then:
sudo apt-get -f install
Done. You can type cairo-dock
in terminal to launch and configure the dock.
By Compiling it (Stable)
First you must 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 from Launchpad : core package here and its plug-ins here. Open the terminal and navigate to the download directory and type:
autoreconf -isvf ./configure –prefix=/usr make sudo make install
By Compiling it With a Script Using the bazaar (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 newest version of Cairo-Dock (not in the repository because it's not completely stable), you can use the BZR. But be aware that this version is potentially unstable and there are updates everyday. Use this version only if you know what you're doing, it is also preferable to know how Cairo-Dock works to be able to use the BZR. A script has been written to compile the BZR version of Cairo-Dock easily. So, you just have to create a directory where the script will be installed in, download the script and launch it: Open a terminal, and create a new directory:
mkdir /cairo-dock_bzr cd /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
Simply follow the instructions (in English) To finish, enter your own password when prompted by the script in order to proceed with to the installation. A line will appear after the installation of each module and a final message will appear indicating that everything went well. If not, consult the log.txt file in the directory you have created at the beginning. Look at the end to locate the problem, then post it in the forum.
What is installed?
Cairo-Dock stores your launchers and your parameters in a hidden directory, ~/.config/cairo-dock Also, binaries are in /usr/bin and data (including the default themes) in /usr/share
First Launch
If you installed Cairo-Dock from the packages, there should be a launcher in the applications menu, under the System Tools sub-menu. If there isn't a launcher there, just press `Alt+F2` and type in cairo-dock
. To enable backtraces on launch (sometimes useful if a problem occurs), open a terminal and type cairo-dock & disown
and press enter.
On first launch, Cairo-Dock will configure itself and will offer you a list of themes to choose from. This allows you to have a fully functional dock immediately. You will have to move the mouse cursor to the bottom of the screen to see the dock if auto-hide has been enabled. This depends on the theme you chose at launch.
If you want to use another theme, right click on the dock and select Cairo-Dock > Manage Themes. To configure the dock's settings, right click the dock and select Cairo-Dock > Configure.
REM: Cairo-Dock has now a support of OpenGL. If you want to use it automatically, simply launch Cairo-Dock with cairo-dock -o
. Note that the OpenGL for Intel and ATI is not so great except with Ubuntu Karmic or newer ! (Have a look the wiki of Cairo-Dock)
See Also
Cairo-Dock is not the only dock but has many possibilities (OpenGL support, many effects and views, many plug-ins, fast, a dynamic project, etc.). But you free to test other dock !