新装的7.10,运行桌面特效还用搞xgl吗

各种窗口管理器和美化相关
回复
menciuslove
帖子: 77
注册时间: 2007-05-27 19:11

新装的7.10,运行桌面特效还用搞xgl吗

#1

帖子 menciuslove » 2007-10-19 18:01

终端输入compiz --replace,提示xgl not present,不是默认的3d桌面吗,难道海得搞xgl,我都忘了怎么搞了,那位大哥把xgl的搞法帖一下,wiki那个我看不懂
头像
jellywgd
帖子: 37
注册时间: 2007-10-16 10:13
来自: 湖南长沙
联系:

Re: 新装的7.10,运行桌面特效还用搞xgl吗

#2

帖子 jellywgd » 2007-10-19 20:58

menciuslove 写了:终端输入compiz --replace,提示xgl not present,不是默认的3d桌面吗,难道海得搞xgl,我都忘了怎么搞了,那位大哥把xgl的搞法帖一下,wiki那个我看不懂
帮你找了一下,我自己的也是照这个弄的,现在开3D老爽了.....


ATI显卡如果用闭源驱动的话,只能安装xgl来驱动compiz fusion,虽然xgl有很多缺点,但是体验下效果还是值得滴。
下面按部就班的说一下。
(本人机器T60,X1400的显卡)

1。装显卡闭源驱动,开源的我还没有尝试过,据说很不稳定。
sudo apt-get update
sudo apt-get install xorg-driver-fglrx
-----以下可不做----
sudo apt-get install fglrx-control
sudo depmod -a
sudo aticonfig --initial
sudo aticonfig --overlay-type=Xv
--------------
Open System -> Administration -> Restricted Drivers Manager check the box with ati in it and restart.
问我怎么突然冒出句英文? 抄的,懒得翻译了。意思很明了么。
检测下3D起来没:
glxinfo | grep direct
如果
direct rendering: Yes
则一切正常,我们继续。
2。装XGL
sudo apt-get install xserver-xgl
#make a startup script:
sudo gedit /usr/local/bin/startxgl.sh
内容如下:
------------
#!/bin/sh
Xgl :1 -fullscreen -ac -br -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
------------
中间两行是保证关闭时有重新启动的选项的。保存然后使其可执行:
sudo chmod a+x /usr/local/bin/startxgl.sh

Make a login session entry to enter xgl so it wont ruin ur usual gnome session:

sudo gedit /usr/share/xsessions/xgl.desktop
内容如下:
-----------
[Desktop Entry]
Encoding=UTF-8
Name=GNOME with XGL
Exec=/usr/local/bin/startxgl.sh
Icon=
Type=Application
-----------
3。安装compiz-fusion
移出老版,不执行也罢
sudo aptitude remove compiz-core desktop-effects
拿下密匙
sudo wget http://download.tuxfamily.org/3v1deb/DD800CD9.gpg -O- | sudo apt-key add -
添加源
i386:
sudo echo "deb http://download.tuxfamily.org/3v1deb feisty eyecandy" >> /etc/apt/sources.list
amd64
sudo echo "deb http://download.tuxfamily.org/3v1deb feisty eyecandy-amd64" >> /etc/apt/sources.list
安装啦
sudo apt-get update
sudo apt-get upgrade
sudo apt-get install compiz compiz-gnome compizconfig-settings-manager compiz-fusion-plugins-extra compiz-fusion-plugins-unofficial libcompizconfig-backend-gconf
4。好了,重启或者CTRL+ALT+BACKSPACE
进入时F10选新加的会话,然后进入后运行 compiz --replace
5。如果没有主题怎么办?执行
gnome-settings-daemon
6。取消xgl没有标题栏怎么办?
因为没有装载窗口管理器啦。
metacity
7。over!
莪身茬江鍸,江鍸卻莈洧關於莪啲傳詤……
starine
帖子: 75
注册时间: 2006-03-10 10:19
联系:

#3

帖子 starine » 2007-10-19 21:16

不移除老版也可以吧?我正琢磨怎么搞出特效来,驱动用8.40那个装的,还好,一切正常。
回复