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

Unix/Linux
Linux系统下如何监视系统资源使用率
怎样在Red Hat Linux上使用BIND建立DNS服务器
多点触控技术终于在Linux中实现
中科红旗Linux桌面7.0版引入QtSDK组件
系统启动管理器与GRUB
Linux系统下配置CVS集成cvstrac
解析Linux操作系统下usr的目录结构
Linux系统与Windows系统的线程有何不同
黑客怎样入侵Linux系统
维护inittab配置文件时需要注意的事项
FreeBSD为powerd设置cpu最小工作频率
如何配置Linux才能保证其系统的安全
光驱的软开关与限速简介
新手教程之创建锁文件的方法
双系统计算机怎样卸载其中一个?
运行Linux时的快捷键使用
phpMyAdmin安装方法及介绍
Wine中中文存在很多的乱码怎么解决?
Linux教程:tail命令的巧妙应用
Wget命令来浏览网页的方法

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


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