How-To Install XGL/Beryl On Ubuntu and Kubuntu 6.06.1 LTS
How-To Install XGL/Beryl On Ubuntu and Kubuntu 6.06.1 LTS
6.06.1 LTS
Posted in Ubuntu, XGL, How-to's by VemeC on the October 3rd, 2006
Xgl and Beryl are alpha software so it isn’t recommended that you install this software
on a production machine.
This guide is only to users with video cards that can’t run Aixgl.
Introduction
In order to check if you 3d acceleration is working you sould execute this command:
If it gives the same but then with “No”, hardware 3d acceleration is disabled and all
rendering will be done on the CPU (’software’ rendering).
Installation
Make sure that you have the proper repositories configured. You need the Universe and
Multiverse repositories as well as either the followings non-Ubuntu repository:
Then you need to download the public keys for those repositories :
And now update the package list, type following commands in a terminal:
When all packages are update, we need to install the xserver-xgl and everything more,
type this into the terminal to install it:
Now we need to start the xserver-xgl to do this we can create a session on Login
Window, typing the following command in a terminal:
sudo vi /usr/bin/startxgl.sh
Note: Kubuntu users must replace “exec gnome-session” with “exec startkde”
Save this file, and close the editor, and make the script executable with the following
command:
Now we’ll add an option to the Gnome/KDE login manager so that we can choose to
log into our new Xgl-gnome/Xgl-kde session. Create an Xsession file like so:
sudo vi /usr/share/xsessions/xgl.desktop
[Desktop Entry]
Encoding=UTF-8
Name=Xgl
Exec=/usr/bin/startxgl.sh
Icon=
Type=Application
To log into Xgl, logout of your current session, and from the login screen click
“Options” and “Session chooser” and select “Xgl” from the Session menu.
When you are in the Xgl Session open a console and run:
beryl-manager
To start automatically. In Gnome, go: System > Preferences > Sessions > Startup
Programs Then add these two entries:
xmodmap /usr/share/xmodmap/xmodmap.us
beryl-manager
In KDE (Kubuntu), you can add a simple script to the “~/.kde/Autostart/” directory that
activates those commands.
Enjoy!
Share This
2. Alexandre said,
3. Omegatron said,
This wiki entry covers the same installation instructions, but should always stay
up to date:
http://wiki.beryl-project.org/index.php/Install/Ubuntu/Dapper/XGL
4. Paul D. said,
5. Paul D. said,
I meant, i´d like to change my system to linux (if ever possible) and first i´d
need to know the how-to´s.
Thanks.
6. Arun said,
7. dfs said,
hey thanks for the clear and well-structured tutorial! And thanks again that you
also INCLUDE US AMD64 users ! Well done.
8. myself337 said,
i have an old dell with integrated intel graphics and ubuntu installed. looks good
but kinda slow. works better than vista on the same machine.
COMO:Xgl en Dapper
Enviado por wraith el Jue, 02/03/2006 - 19:15 Gnome
Lo primero es tener ubuntu actualizada a dapper. Para ello aseguraos que en el fichero
/etc/apt/sources.list en todas las líneas que corresponden a los repositorios de ubuntu
ponga dapper en lugar de breezy(u hoary o warty si andais muy anticuados XD).
Bien ya hemos actualizado ubuntu a la version dapper mas reciente, pasemos a instalar
las Xgl:
Con esto cambiamos el link simbolico que hay en /etx/X11/X para que apunte a Xgl en
lugar de a Xorg.
IMPOTANTE ANTES DE SEGUIR:(LEER COMENTARIO (1) AL FINAL DEL
COMO)
Para activar Compiz cuando arranque GNOME y asi poder usar el escritorio cubico
entre otras cosas:
Escribir en un terminal:
$echo "compiz --replace gconf decoration wobbly fade minimize cube rotate zoom scale
move resize place switcher" >> ~/.gnomerc
$echo "nohup gnome-window-decorator &" >> ~/.gnomerc
Salu2!
3.- Terminar la sesión gráfica, entrar a una terminal (ctrl-alt+f1) y detener las x (sudo
/etc/init.d/gdm stop).
7.- Instalar cabezeras del núcleo, estoy usando el kernel 2.6.15-22-k7 así que necesito
instalar las cabezeras del mismo, si usan otro kernel deben instalar las cabezeras que le
correspondan (apt-get install linux-headers-2.6.15-22-k7)
8.- Una vez instalados esos tres paquetes ahora si podemos correr sin fallas la
instalación de los drivers de Nvidia con sh NVIDIA-Linux-x86-1.0-8756-pkg1.run ,
ojo, debemos seleccionar que SI modifique el archivo xorg.conf
Al terminar la instalación salimos de root tecleando (exit), ahora sólo volvemos a correr
las x con (sudo /etc/init.d/gdm start)
3.- Terminar la sesión gráfica, entrar a una terminal (ctrl-alt+f1) y detener las x (sudo
/etc/init.d/gdm stop).
7.- Instalar cabezeras del núcleo, estoy usando el kernel 2.6.15-22-k7 así que necesito
instalar las cabezeras del mismo, si usan otro kernel deben instalar las cabezeras que le
correspondan (apt-get install linux-headers-2.6.15-22-k7)
8.- Una vez instalados esos tres paquetes ahora si podemos correr sin fallas la
instalación de los drivers de Nvidia con sh NVIDIA-Linux-x86-1.0-8756-pkg1.run ,
ojo, debemos seleccionar que SI modifique el archivo xorg.conf
Al terminar la instalación salimos de root tecleando (exit), ahora sólo volvemos a correr
las x con (sudo /etc/init.d/gdm start)