Cairo-Dock
Cairo-Dock は細かいカスタマイズができるドックです。C で書かれています。
目次
インストール
公式リポジトリから cairo-dock をインストールしてください。コアパッケージは Cairo-Dock を実行するのに必要な最小限のものしか入っていません。アプレットやアニメーション、ビューやエフェクト、ダイアログを使用するには cairo-dock-plugins も必要になります。
また、cairo-dock-gitAUR や cairo-dock-plugins-gitAUR を使うことで開発ブランチを使用することができます。
プラグインの依存パッケージ
cairo-dock-plugins のアプレットは大量の依存パッケージを必要とするため、特定のアプレットを使わない場合にシステムを肥大化させないように依存パッケージは全部任意になっています。optdepends のリストを参照して必要に応じてインストールしてください。
設定
ドックの実行
バックグラウンドでドックを実行:
$ cairo-dock &
This will generate a startup message that will ask you to choose a backend for the current session (OpenGL or Cairo). There is an option to remember the choice and if not choosing to remember the choice, a startup message will be generated each time Cairo-Dock is run without backend options. To supress the startup message, you can specify which backend to use when running Cairo-Dock by specifying it as an option.
Run the dock with OpenGL backend:
$ cairo-dock -o &
Run the dock with Cairo backend:
$ cairo-dock -c &
スタートアップ時にドックを起動
This depends on which desktop environment or window manager that is being used and which backend Cairo-Dock should be run with. The following section shows how to run Cairo-Dock at startup without forcing a backend.
Cairo-Dock の方法
Run Cairo-Dock and right-click the dock and go to Cairo-Dock > Launch Cairo-Dock on startup. The settings will be stored in ~/.config/autostart/
and sourced the next time you login.
Openbox/Fluxbox
Add the following to ~/.config/openbox/autostart
or ~/.fluxbox/startup
accordingly:
cairo-dock &
Xfce
If you have xfce4-autostart-editor
installed, simply run it and add an entry for Cairo-Dock. If you're not using a session manager you can add the following to ~/.config/xfce4/xinitrc
or ~/Desktop/Autostart
:
cairo-dock &
GNOME
Add a Cairo-Dock entry to Startup Programs using
$ gnome-session-properties
ドックの設定
To configure the dock, right-click the dock and go to Cairo-Dock > Configure.
トラブルシューティング
ドックが2つ起動する
This is most likely a result of saved sessions being runned at login. If you are using a desktop environment like GNOME, KDE or Xfce you need to disable automatic startup of sessions in your session manager settings. You may also need to delete the sessions cache:
$ rm ~/.cache/sessions/x*
If you are not using a desktop environment with a session manager or choose to have Cairo-Dock startup by itself, you need to remove autostart files generated by Cairo-Dock:
$ rm ~/.config/autostart/cairo-dock*
背景が黒色
This is most likely caused by not running a composite manager, like Xcompmgr or Cairo Compmgr. Cairo-Dock uses the transparency feature of the composite manager to display the dock, and without it the dock will be displayed with a black background. If you are using a desktop environment, simply enable the composite manager or desktop effects in the settings.
An alternative solution that does not require a composite manager is to enable fake transparency in Cairo-Dock. To do this, right-click the dock and go to Cairo-Dock > Configure > Advanced Mode > System > Composition. Then enable both Emulate composition with fake transparency and Make the config panel transparent.