参考Beryl - Forums & Community内的文章,用第二种方法实现beryl。

GnomeShell/Unity/Beryl/AiGLX/XGL/Compiz Fusion
回复
klz1007
帖子: 125
注册时间: 2006-03-11 3:35
送出感谢: 0
接收感谢: 0
联系:

参考Beryl - Forums & Community内的文章,用第二种方法实现beryl。

#1

帖子 klz1007 » 2006-10-08 22:21

我试过那个该gdm-config-custom的那个方法,但是并不成功,但是这个方法可以。
1)
sudo apt-get update
sudo apt-get dist-upgrade
2)
sudo gedit /etc/apt/sources.list
加源
deb http://www.beerorkid.com/compiz/ dapper main
deb http://xgl.compiz.info/ dapper main
deb-src http://xgl.compiz.info/ dapper main

wget http://www.beerorkid.com/compiz/quinn.key.asc -O - | sudo apt-key add -

sudo apt-get update
升级必要的包。

3)
sudo apt-get install xserver-xgl libgl1-mesa xserver-xorg libglitz-glx1 beryl beryl-core beryl-manager beryl-plugins beryl-plugins-data beryl-settings emerald emerald-themes

4)
sudo gedit /usr/bin/startxgl.sh
内容:
Xgl -fullscreen :1 -ac -accel glx:pbuffer -accel xv:pbuffer & sleep 2 && DISPLAY=:1
# Start GNOME
exec gnome-session
之后:
sudo chmod 755 /usr/bin/startxgl.sh
再:
sudo gedit /usr/share/xsessions/xgl.desktop
内容:
[Desktop Entry]
Encoding=UTF-8
Name=XGl
Exec=/usr/bin/startxgl.sh
Icon=
Type=Application
最后:
添加“/usr/bin/beryl-manager”至“系统_首选项_会话_启动程序”
重启。(,)
在登陆时选择XGL,确认后选择只在只次会话中使用的那个选项,以免有问题之后不好更改。

注意:我在最后这里遇到一些问题,但重试过两三次后就正常了。

原文:
The second howto!

First make sure you have 3d acceleration available in a normal gnome session.
There are lots of howtos for this , Google if you need any help with that.
So if glxinfo shows direct rendering: yes , then you are good to go.
If not xgl and Beryl wont work!

-Update your system
Code:

sudo apt-get update
sudo apt-get dist-upgrade

-Prepare and update repositories:

Code:

sudo gedit /etc/apt/sources.list

-Add quinstorms' and reggaemanus' repositories to /etc/apt/sources.list

Code:

deb http://www.beerorkid.com/compiz/ dapper main
deb http://xgl.compiz.info/ dapper main
deb-src http://xgl.compiz.info/ dapper main

-Download and import the gpg key for quinnstorms repository

Code:

wget http://www.beerorkid.com/compiz/quinn.key.asc -O - | sudo apt-key add -

-update your sources

Code:

sudo apt-get update

-Install needed packages

Code:

sudo apt-get install xserver-xgl libgl1-mesa xserver-xorg libglitz-glx1 beryl beryl-core beryl-manager beryl-plugins beryl-plugins-data beryl-settings emerald emerald-themes

-Make a startup script for xgl:

Code:

sudo gedit /usr/bin/startxgl.sh

-Paste:

Code:

Xgl -fullscreen :1 -ac -accel glx:pbuffer -accel xv:pbuffer & sleep 2 && DISPLAY=:1
# Start GNOME
exec gnome-session

-Make the script executable

Code:

sudo chmod 755 /usr/bin/startxgl.sh

-Make a xgl session for the login manager:
Code:

sudo gedit /usr/share/xsessions/xgl.desktop

Paste:

Code:

[Desktop Entry]
Encoding=UTF-8
Name=XGl
Exec=/usr/bin/startxgl.sh
Icon=
Type=Application

-add "/usr/bin/beryl-manager" to gnome session startup programs. ( go to system , preferences , sessions and select the startup programs tab )

Do another dist-upgrade so you are sure you have all the newest packages

Code:

sudo apt-get update
sudo apt-get dist-upgrade

-reboot
-in the login manager you can now choose a session named Xgl
-answer to following question that you want to use Xgl for this session only (if something went wrong you are logged in next time using standard session)
-If everything works fine , you can set it as the default session , remember you can always login a normal gnome session if you want.

The end of the second howto!

If you own an x series radeon and have problems with lockups, read this post:
http://ubuntuforums.org/showthread.php?t=150854

Note for all cards: glxinfo will show that direct rendering is not working , dont worry thats normal when you are running xgl.
头像
嗜血的兔子
帖子: 208
注册时间: 2005-11-11 5:10
送出感谢: 0
接收感谢: 0
联系:

#2

帖子 嗜血的兔子 » 2006-10-09 8:46

试试看去~~~~~原来不成功,不知用你的方法怎么样
头像
嗜血的兔子
帖子: 208
注册时间: 2005-11-11 5:10
送出感谢: 0
接收感谢: 0
联系:

#3

帖子 嗜血的兔子 » 2006-10-09 9:02

哈~~~这回终于能用了
只是用了XGL以后blender就不稳定了,一打开文件就退出了。而且blender的界面回很慢。
现在还是靠blender干活,看来XGL还是舍弃了吧。
asky800
帖子: 477
注册时间: 2006-08-30 11:16
来自: 广东阳春
送出感谢: 0
接收感谢: 0
联系:

#4

帖子 asky800 » 2006-10-11 20:01

按照楼主的方法成功了!谢谢
lipengch
帖子: 16
注册时间: 2006-09-16 13:16
送出感谢: 0
接收感谢: 0

#5

帖子 lipengch » 2006-10-11 20:11

怎么看效果啊?
头像
BigSnake.NET
帖子: 12522
注册时间: 2006-07-02 11:16
来自: 廣州
送出感谢: 0
接收感谢: 7 次
联系:

#6

帖子 BigSnake.NET » 2006-10-11 22:40

我用的是符号链接的方法。。crash掉了吧X链接回去就可以了。。
^_^ ~~~
要理解递归,首先要理解递归。

地球人都知道,理论上,理论跟实际是没有差别的,但实际上,理论跟实际的差别是相当大滴。
回复

回到 “桌面特效”