当前时区为 UTC + 8 小时



发表新帖 回复这个主题  [ 1 篇帖子 ] 
作者 内容
1 楼 
 文章标题 : [分享]ati xpress 200 下的beryl配置
帖子发表于 : 2007-07-15 12:15 

注册: 2007-06-22 18:29
帖子: 55
送出感谢: 0 次
接收感谢: 0 次
一直以为我那集成显卡不能用beryl,昨晚在网上看到一篇文章,按照他的步骤,最后效果不错,贴出来分享分享,我的电脑情况如下:双核+1G 内存+ati xpress 200 +250G硬盘+三操作系统(ubuntu+solaris+windows)
文章如下:
This is very simple actually. It worked perfectly for me.

After installing Feisty, make sure your system is completely updated.
Code:

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

First step is getting your drivers set up. To do this use the Restricted Driver Manager.
Code:

System >> Administration >> Restricted Drivers Manager

and enable your ATI driver.
Reboot the computer and make sure fglrx loaded correctly. There should be an icon in the notification area telling you that you have restricted modules loaded. You may also need to add this to your xorg.conf file, I don't remember adding it by hand, I'm pretty sure the restricted modules manager did it for me but I'll put it here just in case.
Code:

Section "Extensions"
Option "Composite" "0"
EndSection

Now we need to install XGL.
Code:

sudo apt-get install xserver-xgl

the package in the Ubuntu repo works.

XGL won't load on its own so we need to write a few scripts to have it start.
Code:

sudo gedit /usr/local/bin/startxgl.sh

put this in your startxgl.sh file
Code:

#!/bin/sh
Xgl :1 -fullscreen -ac -accel xv:pbuffer -accel glx:pbuffer &
DISPLAY=:1
exec dbus-launch --exit-with-session gnome-session

if you experience a bug where you have no restart/shutdown button in the shutdown menu then you need to edit startxgl.sh to this
Code:

#!/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

now save and make the script executable
Code:

sudo chmod a+x /usr/local/bin/startxgl.sh

Now we need to create a way to login and launch that
Code:

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

put this test into that file
Code:

[Desktop Entry]
Encoding=UTF-8
Name=GNOME with XGL
Comment=
Exec=/usr/local/bin/startxgl.sh
Icon=
Type=Application

now make that script executable
Code:

sudo chmod a+x /usr/share/xsessions/xgl.desktop

Now test your login. Logout, click sessions and chose GNOME with XGL. If you get to the desktop you're now very close. If you have the universe repository enabled we need to disable it. The beryl that is in the universe does not work with xgl.
Code:

System >> Administration >> Software sources

now disable the universe repo and reload.
Now we need to add the beryl repo.
Code:

wget http://ubuntu.beryl-project.org/root@lupine.me.uk.gpg -O- | sudo apt-key add -

Now add this source to your Software sources via the Third party tab
Code:

deb http://ubuntu.beryl-project.org/ feisty main

reload sources and it's time to install!
Code:

sudo apt-get install beryl emerald-themes

Once that's finished installing you can launch beryl with
Code:

beryl-manager

That's it! Now if you want to enable the universe repo be careful not to update any beryl packages. They will break beryl as they do not have XGL support unfortunately, hopefully by release date this will be fixed. I don't think I left anything out but if I did please let me know! I'll do my best to answer any questions I can, as you can see it went very smoothly for me and i wish all of you the best of luck.
最后的确效果不错,我也装了avant,可惜觉的效果一般,不知大家有没有更好的 dock?


页首
 用户资料  
 
显示帖子 :  排序  
发表新帖 回复这个主题  [ 1 篇帖子 ] 

当前时区为 UTC + 8 小时


在线用户

正在浏览此版面的用户:Google [Bot] 和 4 位游客


不能 在这个版面发表主题
不能 在这个版面回复主题
不能 在这个版面编辑帖子
不能 在这个版面删除帖子
不能 在这个版面提交附件

前往 :  
本站点为公益性站点,用于推广开源自由软件,由 DiaHosting VPSBudgetVM VPS 提供服务。
我们认为:软件应可免费取得,软件工具在各种语言环境下皆可使用,且不会有任何功能上的差异;
人们应有定制和修改软件的自由,且方式不受限制,只要他们自认为合适。

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
简体中文语系由 王笑宇 翻译