How-to Installing Beryl and Xgl on Ati Graphic Cards

this tutorial covers how-to install Beryl window manager to Ubuntu Edgy (6.10) cline way.

but before starting, should consider your ati graphic card working properly

how ?

The Xgl X server requires 3D video acceleration. Most graphics cards should automatically support 3D acceleration in Edgy Eft; some graphics cards might need some tweaking though.

You can check whether direct rendering is enabled by invoking

open up terminal > gnome menu > applications > accessories > terminal

$ glxinfo | grep direct

if something like:

direct rendering: Yes


then you're ready to install Xgl and Beryl. If it doesn't, this might help

enter these terminal window


$ sudo nano -w /etc/apt/sources.list #opening sources.list file


add the line to end of file

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

and exit editor > ctrl+x > save ? > yes


add beryl repo keys:

$ wget http://ubuntu.beryl-project.org/root@lupine.me.uk.gpg -O- | sudo apt-key add -
$ wget http://download.tuxfamily.org/3v1deb/DD800CD9.gpg -O- | sudo apt-key add -

$ sudo apt-get update #upgrade repo list



$ sudo apt-get install xserver-xgl #install xgl
$ sudo apt-get install beryl emerald-themes # install beryl and themes


$ sudo nano -w /usr/local/bin/startxgl.sh #setting startup script

copy paste into editor this:

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


close editor > ctrl+x > save? > yes

$ sudo chmod a+x /usr/local/bin/startxgl.sh # setting permissions newly created startup script


adding login entry:

$ sudo nano -w /usr/share/xsessions/xgl.desktop

copy paste into editor this:

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





the last changes we need is to get beryl to start up when logging in, this is done from the menu System -> Preferences -> Sessions under the tab Startup Programs we need to add the following entry

beryl-manager

you have completed ati-beryl install.

When you come to the login screen you will have to go down in the left corner and click sessions and select Xgl from the list and click Change Session.

Now you can login and try out Xgl and Beryl.




some flavour

0 comments: