歡迎來到Linux教程網
Linux教程網
Linux教程網
Linux教程網
Linux教程網 >> Linux基礎 >> Linux教程 >> Fedora 8下完全開啟compiz-fusion特效(附圖)

Fedora 8下完全開啟compiz-fusion特效(附圖)

日期:2017/2/28 17:18:05   编辑:Linux教程

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

1.下載ccsm軟件包,並安裝好
2.關閉桌面效果
3.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類的包全部刪除,然後裝上非官方的rpm包,即可像在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.

Unoffical 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-0.6.99-1.fc8.i386.rpm
compiz-gnome-0.6.99-1.fc8.i386.rpm
compizconfig-backend-gconf-0.6.99-1.fc8.i386.rpm
compizconfig-backend-gconf-debuginfo-0.6.99-1.fc8.i386.rpm
fusion-icon-all-0.1-100.fc8.noarch.rpm
fusion-icon-gtk-0.1-100.fc8.noarch.rpm
Whereas if you use only Gnome you must not download

compiz-all-0.6.99-1.fc8.i386.rpm
compiz-kde-0.6.99-1.fc8.i386.rpm
compizconfig-backend-kconfig-0.6.99-1.fc8.i386.rpm
compizconfig-backend-kconfig-debuginfo-0.6.99-1.fc8.i386.rpm
fusion-icon-all-0.1-100.fc8.noarch.rpm
fusion-icon-qt-0.1-100.fc8.noarch.rpm
Use yum to resolve dependencies. I also had to install the following packages:

$ 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. You can access the 'Settings Manager' and the 'Emerald Theme Manager' from it easily.


Official Packages
If you want to stick to the official fedora packages open a terminal and type:

For KDE users:

$ sudo yum install compiz compiz-kde compiz-bcop compiz-fusion compiz-fusion \
compiz-fusion-extras compiz-fusion-extras-gnome compiz compizconfig-python \
libcompizconfig libcompizconfig-devel gnome-compiz-manager kicker-compiz
For Gnome users:

$ sudo yum install compiz compiz-gnome compiz-bcop compiz-fusion compiz-fusion \
compiz-fusion-extras compiz-fusion-extras-gnome compiz compizconfig-python \
libcompizconfig libcompizconfig-devel gnome-compiz-manager

Copyright © Linux教程網 All Rights Reserved