Linux教程網
Linux教程網
Linux教程網
您现在的位置: Linux教程網 >> UnixLinux >  >> Linux基礎 >> Linux教程

Fedora 8 完整開啟 compiz-fusion:強制指定 Emerald 的做法(附圖)

Fedora 8 下開啟 compiz-fusion 特效後的 3D 效果截圖(一)

1. 下載 ccsm 套件並安裝好。

2. 關閉桌面效果。

3. 編輯 compiz 啟動腳本,把紅色部分註解掉:

sudo gedit /usr/bin/compiz-manager
# start the gtk-window-decorator if present
if [ -x ${COMPIZ_BIN_PATH}emerald ] && [ "$USE_EMERALD" = "yes" ]; then
  verbose "Starting emerald\n"
  ${COMPIZ_BIN_PATH}emerald --replace &
#elif [ -x ${COMPIZ_BIN_PATH}gtk-window-decorator ] && [ -n "$GNOME_DESKTOP_SESSION_ID" ]; then
#  verbose "Starting gtk-window-decorator\n"
#  ${COMPIZ_BIN_PATH}gtk-window-decorator --replace &
#elif [ -x ${COMPIZ_BIN_PATH}kde-window-decorator ] && [ -n "$KDE_FULL_SESSION" ]; then
#  verbose "Starting kde-window-decorator\n"
#  ${COMPIZ_BIN_PATH}kde-window-decorator --replace &
#  FALLBACKWM="${KWIN}"
elif [ -x ${COMPIZ_BIN_PATH}emerald ]; then
  verbose "Starting emerald\n"
  ${COMPIZ_BIN_PATH}emerald --replace &

存檔退出。

4. 到「系統 → 偏好設定 → 個人 → 工作階段」,新增 compiz-manager,名稱與備註自訂。

5. 登出後重新登入。

6. 打開 Emerald 主題設定與 compiz-config setting manager 進行調整。

打完收工。

之前的方法必須手動跑 emerald --replace 才能換主題,所以我做了更新。這個做法比較暴力,等於強行指定 Emerald 當主題管理器;如果你只想玩 compiz-fusion 特效、不想用 Emerald 換主題,第 3 步可以跳過。

除此之外還有一條思路:國外已經有人做好 0.699 版 for Fedora 8 的非官方 rpm 包,把官方 compiz 系列全部移除再裝非官方包,就能像 F7 那樣照習慣繼續使用(含 ccsm)。

Compiz-fusion is that cool cube you may have seen in many linux desktop's screenshots. It is provided through yum but for the time being there are no packages for fusion-icon (a tray icon to control compiz-fusion) and ccsm (compiz settings manager).

git — If you want to install them also you can read my guide on How to compile and install compiz-fusion from git on Fedora 7. The steps should be the same.

Unofficial Packages — Alternativelly you can try some prebuilt unofficial packages. These are the packages that I also currently use until ccsm and fusion-icon will make it to the stable Fedora's repositories.

If you are using x86_64 Fedora 8 download them from here. If you are using i386 Fedora 8 download them from here. After you download the tar.gz you want extract it in a sepperate directory and install them with:

$ sudo rpm -hiv *.rpm

If you use only KDE you must not downlad compiz-all、compiz-gnome、compizconfig-backend-gconf、fusion-icon-gtk 等套件;若只用 Gnome 則不要下載 compiz-kde、compizconfig-backend-kconfig、fusion-icon-qt those。Use yum to resolve dependencies. I also had to install:

$ sudo yum install PyQt mesa-libGLU-devel libdrm-devel

When the installation completes run fusion-icon and you are ready! An icon should appear at your tray, from which you can access the Settings Manager and Emerald Theme Manager.

Official Packages — If you want to stick to the official fedora packages:

# KDE 使用者
$ sudo yum install compiz compiz-kde compiz-bcop compiz-fusion \
compiz-fusion-extras compizconfig-python libcompizconfig \
libcompizconfig-devel gnome-compiz-manager

# Gnome 使用者
$ sudo yum install compiz compiz-gnome compiz-bcop compiz-fusion \
compiz-fusion-extras compiz-fusion-extras-gnome compizconfig-python \
libcompizconfig libcompizconfig-devel gnome-compiz-manager
Copyright © Linux教程網 All Rights Reserved