个人工具
登录
查看“UbuntuHelp:CairoDock”的源代码 - Ubuntu中文
UbuntuHelp
讨论
查看源代码
历史
搜索
导航
首页
最近更改
随机页面
页面分类
帮助
编辑
编辑指南
沙盒
新闻动态
字词处理
工具
链入页面
相关更改
特殊页面
页面信息
查看“UbuntuHelp:CairoDock”的源代码
来自Ubuntu中文
←
UbuntuHelp:CairoDock
跳转至:
导航
,
搜索
因为以下原因,你没有权限编辑本页:
您所请求的操作仅限于该用户组的用户使用:
用户
您可以查看与复制此页面的源代码。
{{From|https://help.ubuntu.com/community/CairoDock}} {{Languages|UbuntuHelp:CairoDock}} #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 == 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, 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 [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]. == 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 : <pre><nowiki> sudo -v</nowiki></pre> <pre><nowiki> 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: <pre><nowiki> 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> sudo apt-get update sudo apt-get install cairo-dock cairo-dock-plug-ins</nowiki></pre> 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: <pre><nowiki> sudo apt-get install libcairo2 librsvg2-2 libglitz1 libglitz-glx1</nowiki></pre> 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> sudo dpkg -i cairo-dock*.deb</nowiki></pre> and then: <pre><nowiki> 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 Compiling it (Stable) === First you must install the following packages: <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> 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> autoreconf -isvf ./configure –prefix=/usr make sudo make install</nowiki></pre> === 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: <pre><nowiki> mkdir /cairo-dock_bzr cd /cairo-dock_bzr</nowiki></pre> Then get the script, make it executable and launch it: <pre><nowiki> wget http://bzr.glx-dock.org/cairo-dock_bzr.sh chmod u+x cairo-dock_bzr.sh ./cairo-dock_bzr.sh</nowiki></pre> 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 [http://www.glx-dock.org/bg_forumlist.php 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 <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. 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] ---- [[category:CategorySoftware]] [[category:UbuntuHelp]]
该页面使用的模板:
模板:From
(
查看源代码
)
模板:Languages
(
查看源代码
)(受保护)
模板:Languages/Lang
(
查看源代码
)(受保护)
返回至
UbuntuHelp:CairoDock
。