当前位置: 首页 > 图文教程 > 操作系统 > Unix/Linux > FC6 beryl 0.2.1 编译安装手记

Unix/Linux
Linux基础知识99问(一)
剖析Linux系统启动过程
Linux日志式文件系统面面观
Linux的引导过程剖析
Linux环境下使用JFS文件系统
Linux环境下的ReiserFS文件系统
Linux环境中使用Ext3文件系统
Linux环境下使用XFS文件系统
解析Linux特殊文件
Linux操作系统内核编译详解
Linux中BSD套接口开发的基础介绍
Linux内核模块和驱动的编写
如何编写Linux设备驱动程序
编写Linux实用程序的艺术
分析Windows和Linux动态库
Linux环境下的高级隐藏技术
Linux操作系统发展简史
混合使用Linux和Windows
浅谈linux操作系统的优化及安全
轻松解决 Linux操作系统故障恢复技巧

Unix/Linux 中的 FC6 beryl 0.2.1 编译安装手记


出处:互联网   整理: 软晨网(RuanChen.com)   发布: 2009-11-01   浏览: 32 ::
收藏到网摘: n/a

这段时间看到网上流行Beryl的3D桌面,自己也想装一个。可是到网上一搜,都是用extras源安装的,要知道我是在公司上网,而家里的电脑根本不能上网呀,于是我找到了两个方法,第一就是到FC的软件仓库中下载相应的rpm包;第二就是去beryl官方网站下载最新的源码包自己编译安装,我选择了自己编译安装的这条路,之所以这样选是由于我不喜欢一切都是现成的可以拿来就用的,想自己多动一点手(虽然编译安装也很简单)。可这条路并不平坦,我苦弄了 3天beryl终于可以工作了,不要笑我,我也是菜鸟一族呀。把自己的经历写下来希望能给和我一样的新手兄弟一点帮助。第一次写文章,乱了一点,请大家多多包涵,多提宝贵意见。

一、由于我的电脑是nforce 6100 集成,所以首先安装NVIDIA-Linux-x86-1.0-9755-pkg1.run。

安装完后最后,选择让NVIDIA自动配置xorg.conf文件。
NVIDIA-Linux-x86-1.0-9755-pkg1.run下载地址:
http://us.download.nvidia.com/XFree8...-9755-pkg1.run
 
+++++++++++++++++++++++++++++++++++++++++++++++++
注:我安装显卡驱动没有成功,自动修改xorg.conf不正确,导致分辨率只有1024×768,修改不了,我又安装了版本稍微低点的驱动,还是不行。然后我又用NVIDIA-Linux-x86-1.0-9755-pkg1.run安装了一次,重启后奇迹出现了,成功了^_^.不知道以前是怎么回事。可能是把xorg.conf改名以后载装驱动就ok了。 不知道那位兄弟知道,呵呵。
++++++++++++++++++++++++++++++++++++++++++++++++++
 
二、更改/etc/X11/xorg.conf配置文件。

先备份原来的配置文件cp xorg.conf xorg.conf.bak, 然后在xorg.conf中Module段加入
SubSection "extmod"
Option "omit xfree86-dga"
EndSubSection
在Device段中加入
Option "DisableGLXRootClipping" "True"
Option "AddARGBGLXVisuals" "True"
Option "AllowGLXWithComposite" "True"
Option "RenderAccel" "True"
在配置文件的最后加入
Section "Extensions"
Option "Composite" "Enable"
EndSection
为了确认更改是否有效先要重启X,然后单击 系统->首选项->Desktop Effects,在弹出的Desktop Effects窗口中点击Enable Desktop Effects按钮,此时应该可以打开Compiz的3D效果了,如果不能打开Compiz的3D效果则说明配置文件修改可能有误,需要再仔细检查一下。以下是我的xorg.conf配置,仅供参考。
# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig: version 1.0 (buildmeister@builder3) Mon Feb 26 23:38:46 PST 2007
# Xorg configuration created by pyxf86config
Section "ServerLayout"
Identifier "Default Layout"
Screen 0 "Screen0" 0 0
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection
Section "Files"
EndSection
Section "Module"
###For Beryl, Begian###################
SubSection "extmod"
Option "omit xfree86-dga"
EndSubSection
###For Beryl, End######################
Load "glx"
EndSection
Section "InputDevice"
# generated from default
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/input/mice"
Option "Emulate3Buttons" "no"
Option "ZAxisMapping" "4 5"
EndSection
Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
Option "XkbModel" "pc105"
Option "XkbLayout" "us"
EndSection
Section "Monitor"
Identifier "Monitor0"
VendorName "Unknown"
ModelName "Unknown"
HorizSync 30.0 - 110.0
VertRefresh 50.0 - 150.0
Option "DPMS"
EndSection
Section "Device"
Identifier "Videocard0"
Driver "nvidia"
###For Beryl, Begian###################
Option "DisableGLXRootClipping" "True"
Option "AddARGBGLXVisuals" "True"
Option "AllowGLXWithComposite" "True"
Option "RenderAccel" "True"
###For Beryl, End###################
EndSection
Section "Screen"
Identifier "Screen0"
Device "Videocard0"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 24
EndSubSection
EndSection
###For Beryl, Begian###################
Section "Extensions"
Option "Composite" "Enable"
EndSection
###For Beryl, End###################

三、beryl的安装

如果以上都没有问题了,就可以进行beryl的安装了。
到http://www.beryl-project.org/releases.php网站将
• aquamarine-0.2.1.tar.bz2
• beryl-core-0.2.1.tar.bz2
• beryl-manager-0.2.1.tar.bz2
• beryl-plugins