Centos 安装compiz 实现3d桌面

博主:投稿投稿 2023-12-21 13:58:01 130 0条评论
摘要: Centos 安装compiz 实现3d桌面1.升级内核。从2.6.18-8升级到2.6.18-53下载如下3个内核rpm包kernel-devel-2.6.18-53.el5ke...

Centos 安装compiz 实现3d桌面

1.升级内核。从2.6.18-8升级到2.6.18-53

下载如下3个内核rpm包

kernel-devel-2.6.18-53.el5

kernel-headers-2.6.18-53.el5

kernel-2.6.18-53.el5

然后rpm -ivh kernel安装。

2.安装nvidia显卡驱动。

我的dell d620的显卡型号是nvs 110m /gforce go 7300http://uk.download.nvidia.com/XFree86/Linux-x86/100.14.23/NVIDIA-Linux-x86-100.14.23-pkg1.run

使用 wget

下载nvidia linux 驱动

然后#init 3

进入到终端模式。

Sh NVIDIA-Linux-x86-100.14.23-pkg1.run 安装显卡驱动。


3.安装compiz

感謝 Gavin,,威豆 提供以下的心得分享:


1)參考文件:

http://www.tuxyturvy.com/blog/index.php?/archives/44-Compiz-Fusion-on-CentOS-5.html

http://www.opendesktop.org.tw/modules/news/article.php?storyid=131

2)安裝必要的rpm包:


yum install libXdamage kdebase perl-XML-Parser



3)下載相關套件:

至下列網站下載下列套件:


http://www.tuxyturvy.com/files/compiz-fusion/


ccsm-0.5.2-0.1.el5.noarch.rpm

compiz-0.5.2-0.1.el5.i386.rpm

compiz-all-0.5.2-0.1.el5.i386.rpm

compiz-bcop-0.5.2-0.1.el5.noarch.rpm

compizconfig-python-0.5.2-0.1.el5.i386.rpm

compiz-fusion-plugins-extra-0.5.2-0.2.el5.i386.rpm

compiz-fusion-plugins-main-0.5.2-0.2.el5.i386.rpm

compiz-fusion-plugins-unsupported-0.5.2-0.2.el5.i386.rpm

compiz-gnome-0.5.2-0.1.el5.i386.rpm

compiz-kde-0.5.2-0.1.el5.i386.rpm

dbus-qt-0.70-1.el5.i386.rpm

emerald-0.5.2-0.1git.el5.i386.rpm

emerald-themes-0.5.2-0.1.el5.noarch.rpm

fuse-libs-2.7.0-5.fc6.i386.rpm

fusion-icon-0.1-0.13.20070814git.el5.noarch.rpm

fusion-icon-all-0.1-0.13.20070814git.el5.noarch.rpm

fusion-icon-gtk-0.1-0.13.20070814git.el5.noarch.rpm

fusion-icon-qt-0.1-0.13.20070814git.el5.noarch.rpm

intltool-0.35.5-3.el5.i386.rpm

libcompizconfig-0.5.2-0.1.el5.i386.rpm

metacity-2.18.0-2.el5.i386.rpm


安裝compiz-fusion(上逑套件) :


rpm -Uvh *

4.更改/etc/X11/xorg.conf配置,使其支持扩展

在Section "Module"下增加

Load "extmod"

使其支持扩展,在Section "Device"下增加

Option "NoLogo" "true"

去掉难看的显卡启动logo.


# nvidia-settings: X configuration file generated by nvidia-settings

# nvidia-settings: version 1.0 (buildmeister@builder3) Thu May 3 16:03:51 PDT 2007


# nvidia-xconfig: X configuration file generated by nvidia-xconfig

# nvidia-xconfig: version 1.0 (buildmeister@builder3) Thu May 3 16:02:56 PDT 2007

# Xorg configuration created by system-config-display


Section "ServerLayout"

Identifier "single head configuration"

Screen 0 "Screen0" 0 0

InputDevice "Keyboard0" "CoreKeyboard"

InputDevice "Synaptics" "CorePointer"

EndSection


Section "Files"

EndSection


Section "Module"

Load "glx"

Load "extmod"

EndSection


Section "ServerFlags"

Option "Xinerama" "0"

EndSection


Section "InputDevice"

Identifier "Keyboard0"

Driver "kbd"

Option "XkbModel" "pc105"

Option "XkbLayout" "us"

EndSection

Section "InputDevice"

Identifier "Synaptics"

Driver "synaptics"

Option "Device" "/dev/input/mice"

Option "Protocol" "auto-dev"

Option "Emulate3Buttons" "yes"

Option "LeftEdge" "120"

Option "RightEdge" "830"

Option "TopEdge" "120"

Option "BottomEdge" "650"

Option "FingerLow" "14"

Option "FingerHigh" "15"

Option "MaxTapMove" "110"

Option "VertScrollDelta" "20"

Option "HorizScrollDelta" "20"

Option "MinSpeed" "0.3"

Option "MaxSpeed" "0.75"

EndSection


Section "Monitor"

Identifier "Monitor0"

VendorName "Unknown"

ModelName "LPL"

HorizSync 30.0 - 75.0

VertRefresh 60.0

Option "DPMS"

EndSection


Section "Device"

Identifier "Videocard0"

Driver "nvidia"

VendorName "NVIDIA Corporation"

BoardName "Quadro NVS 110M"

Option "NoLogo" "true"

Option "AllowGLXWithComposite" "true"

Option "AddARGBGLXVisuals" "true"

EndSection


Section "Screen"

Identifier "Screen0"

Device "Videocard0"

Monitor "Monitor0"

DefaultDepth 24

Option "TwinView" "0"

Option "metamodes" "1280x800_60 +0+0"

SubSection "Display"

Depth 24

Modes "1600x1200" "1280x1024" "1024x768" "800x600" "640x480"

EndSubSection

EndSection



Ok。到此处已经配置完毕。Enjoy it!