星期四, 8月 31, 2006

新的Xgl + compiz 安裝方法

最近compiz 做了很多更新
今天我重灌才發現現在裝compiz 輕鬆多了
下面紀錄過程...

首先, 當然是先把compiz , xgl server 都裝起來
如果你才剛重灌ubuntu, 要先在/etc/apt/sources.list 加入
deb http://ubuntu.compiz.net/ dapper main
然後要verify 這一個位置
wget http://ubuntu.compiz.net/quinn.key.asc -O - | sudo apt-key add -

sudo apt-get update 以後就安裝 compiz, xgl server
sudo apt-get install xserver-xgl compiz compiz-core compiz-plugins compiz-gnome gnome-compiz-manager cgwd cgwd-themes

安裝好了來改一下xorg.conf 的設定,不然跑不起來
打開/etc/X11/xorg.conf
找到Section "Device" (裡面有PCI:1:0:0 ...)
在這個section 裡面加入
Option "RendelAccel" "true"
Option "AllowGLXWithComposite" "true"
Option "Triplebuffer" "true"

好了以後改gdm 的設定,讓Xgl 一開始就跑起來
打開 /etc/gdm/gdm.conf-custom
加入(更改)
[servers]
0=Xgl
[server-Xgl]
name=Xgl server
command=/usr/bin/Xgl :0 -fullscreen -ac -accel glx:pbuffer -accel xv:pbuffer
flexible=true

重開以後 (是重開不是re-login)
compiz 就裝好了喔

前一陣子gset 不見
現在有了gnome-compiz-manager 安裝compiz 是方便了很多
不過設定的部分還是很不足
大部分的設定都還要用gconf-editor 來改
過一陣子應該會有比較好的更新吧!

還有,現在 Gnome-Look.org 新增加了compiz 的theme area
陸續應會有compiz 的theme 喔!

沒有留言: