轉(zhuǎn)貼于http://forum.ubuntu.org.cn/about55521.html&sid=d08793b86b21338d426688919242d095
主要參考了:
http://wiki.beryl-project.org/wiki/Install_Beryl_on_Ubuntu_Feisty_with_XGL
http://lhansen.blogspot.com/2006/10/3d-desktop-beryl-and-xgl-on-ubuntu-edgy.html
感覺上和610的區(qū)別不大,我也是個新人,有什么不對的地方希望前輩們予以指正

1.添加源與獲取鑰匙

在終端里輸入
代碼:
sudo gedit /etc/apt/sources.list

添加下面的源
代碼:
deb http://ubuntu.beryl-project.org/ feisty main

獲取鑰匙
代碼:
wget http://ubuntu.beryl-project.org/root@lupine.me.uk.gpg -O- | sudo apt-key add -

更新
代碼:
sudo apt-get update


2.下載相關(guān)的軟件

系統(tǒng)->系統(tǒng)管理->新立得軟件包管理器 ,搜索并標(biāo)記安裝以下軟件包
代碼:
xserver-xgl

代碼:
emerald-themes

代碼:
beryl 

代碼:
xorg-driver-fglrx


代碼:
beryl-manager


3.安裝顯卡驅(qū)動

沒有置頂貼里那么復(fù)雜,但是我覺得也還好用
ALT+F2輸入
代碼:
gksudo gedit /etc/X11/xorg.conf

將 "ati"(或者 "radeon","vesa")修改成"fglrx",類似下面這個樣子就可以了
代碼:
Section "Device"
Identifier "ATI Technologies, Inc. M22 [Radeon Mobility M300]"
Driver "fglrx"
BusID "PCI:1:0:0"
EndSection

然后在末尾添加這樣一段

代碼:
Section "Extensions"
Option "Composite" "false"
EndSection


4.使XGL可運行

ALT+F2
代碼:
gksudo gedit /usr/bin/startxgl

在新文件中添加以下這段腳本并保存退出
代碼:
#!/bin/sh
Xgl :1 -fullscreen -ac -accel xv:pbuffer -accel glx:pbuffer &
DISPLAY=:1
cookie="$(xauth -i nextract - :0 | cut -d ' ' -f 9)"
xauth -i add :1 . "$cookie"
exec dbus-launch --exit-with-session gnome-session


接著按ALT+F2輸入
代碼:
gksudo nautilus /usr/bin

找到startxgl 右鍵屬性->權(quán)限->勾選“允許以程序執(zhí)行文件”


接著ALT+F2輸入
代碼:
gksudo gedit /usr/share/xsessions/xgl.desktop

添加以下一段
代碼:

    [Desktop Entry]
    Encoding=UTF-8
    Name=Xgl
    Comment=Start an Xgl Session
    Exec=/usr/bin/startxgl
    Icon=
    Type=Application


5.Downgrading beryl-core to 0.2.0

在終端里運行
代碼:
gksudo gedit /etc/apt/preferences


輸入以下內(nèi)容并保存
代碼:
Package: *
Pin: release o=lupine
Pin-Priority: 1000


然后
代碼:
sudo apt-get update

代碼:
sudo apt-get install beryl-core=0.2.0~0beryl1


接下來,重啟,在登錄界面選擇會話成XGL,你可以順便檢查一下你的顯卡驅(qū)動,在終端里輸入:

代碼:
fglrxinfo


要是像下面這樣,就基本沒什么問題了
hp@hp-desktop:~$ fglrxinfo
display: :0.0 screen: 0
OpenGL vendor string: ATI Technologies Inc.
OpenGL renderer string: RADEON X300/X550/X1050 Series
OpenGL version string: 2.0.6334 (8.34.Cool

hp@hp-desktop:~$



在應(yīng)用程序系統(tǒng)工具里找到beryl-manager運行就可以了,當(dāng)然你也可以在系統(tǒng)->首選項->會話 里設(shè)置為開機自啟動

PS:選擇xgl進入會話,然后右擊右上角的Beryl管理器,在高級選項里的渲染途徑里選擇復(fù)制,這時候再在選擇窗口管理器里選擇Beryl