How to install Xgl/Beryl (ATI)(我按照这里的办法装了效果没有。。怎么卸载?)

各种窗口管理器和美化相关
回复
oczero
帖子: 39
注册时间: 2006-11-24 16:50

How to install Xgl/Beryl (ATI)(我按照这里的办法装了效果没有。。怎么卸载?)

#1

帖子 oczero » 2006-11-27 21:36

How to install Xgl/Beryl (ATI)

(From Beryl Forums)

* Read #General Notes
* Read #How to install Graphics Driver (ATI)

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

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

* Prepare and update repositories

sudo gedit /etc/apt/sources.list

* Add quinstorms' and reggaemanus' repositories to /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

* Download and import the gpg key for quinnstorms repository

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

* Update your sources

sudo apt-get update

* Install needed packages

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

sudo gedit /usr/bin/startxgl.sh

* Add to script

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

* Make the script executable

sudo chmod 755 /usr/bin/startxgl.sh

* Make a xgl session for the login manager

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

* Add to session

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

* add

beryl
emerald

to gnome session startup programs. ( go to system , preferences , sessions and select the startup programs tab )

* 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.

* 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. )
头像
zhuqin_83
帖子: 10606
注册时间: 2006-05-13 4:02
联系:

#2

帖子 zhuqin_83 » 2006-11-28 3:59

逆向操作呗,你怎么做的就怎么删。
HP Pavilion DV6-2064CA: AMD Turion II Ultra Dual-Core Mobile M640, HD4650, 2GBx2 DDR2-800, Seagate 500GB 7200RPM SATA, BD-ROM
DELL UltraSharp 2209WA
Arch64, Testing repo
oczero
帖子: 39
注册时间: 2006-11-24 16:50

#3

帖子 oczero » 2006-11-28 10:42

逆向操作会把GNOME里的很多东西也删了

所以后来我看不对,就自己想了一个
sudo apt-get install gnome
哈哈,真的好多东西需要装的。。
然后重启还是进不去图形界面
然后再把原来的xorg.conf恢复一下就搞定了。。。

最后进去gnome里面,少了“添加卸载”和其他几个程序。。。再安装一下就OK了,基本恢复正常
回复