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

Unix/Linux
Linux网管123---组态XWindow系统-1.使用X-Configurator
Linux网管123---安装及硬体组态-8.下载及安装RedHat更新程式
Linux网管123---安装及硬体组态-7.从LILO启动
Linux网管123---安装及硬体组态-1.建立一张安装磁片
Linux程式设计-11.ShellScript(bash)--(2)教学例
Linux程式设计-11.ShellScript(bash)--(1)简介
简单配置linux下的网络邻居samba
如何使用 Linux 系统下的编辑器系列教程(1)
如何将.tif\.rgb\.gif......的图片转换成.xpm的格式?
请问linux下如何查看打开的文件数?谢谢如bsd下面的pstat -T
Redhat 8.0运行一段时间就死机高手帮忙啊(重发)
filesystem type unknown
LINUX与UNIX SHELL编程指南 下载
LINUX应用程序开发指南 下载
各位大哥,请告诉我linux下的文件目录的颜色代表什么?
安装最新中文OpenOffice.org 1.1 RC3
关于redhat 9.0 打开进程打开最大文件数
如何在shell脚本程序中获取日期值?
关于dd命令的求助!!!
如何恢复grub?

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


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