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

Unix/Linux
Linux教程:后台执行程序如何操作?
Linux教程:记录会话过程的命令
Linux和Windows区别分析之线程问题
Linux教程:22端口如何修改?
Linux教程:配置DHCP服务器方法介绍
css3教程:把系统日志记录到远程服务器
教你在Linux系统下破解SAM密码
Linux操作系统启动界面揭秘DHCP协议实现过程
如何检测U盘是否插入或拔出
Linux消除用户使用习惯的阻隔
编写应用程序要注重其安全性
Telnet在Linux系统下如何设置
Linux系统下误删除文件怎么办
删除Linux系统下的历史记录
修改Linux系统下22端口的两种方法
资深Linux程序员的开发经验谈
Ext2和Ext3文件系统
Linux策略性路由应用
如何在Linux中设置透明代理
Linux下的软件开发

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


出处:互联网   整理: 软晨网(RuanChen.com)   发布: 2009-11-01   浏览: 28 ::
收藏到网摘: 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