PDA

Ver la Versión Completa Con Imagenes : SuSE Linux 10.1 con XGL


Ayudante De Santa
06-11-2015, 22:19:08
Los mejores licores
El_Lubi
11-10-2006, 19:23:24
Estuve probando SuSE Linux 10.1 y kede encantado con la tecnologia XGL de novel...porke mi monitor se convierte en un cubo tridimensional con 4 escritorios virtuales, tambien el poder usar transparencias, y todas esas cosas.

Aki esta el video de las funciones del nuevo SuSE 10.1

http://www.youtube.com/watch?v=1n-6oEcAZ80#

PD: Le doy un 10 :laughing9:

Ayudante De Santa
06-11-2015, 22:19:08
Los mejores licores
Macarron
31-10-2006, 21:03:03
pero yo vi uno hace poquito que no solo venian los cuatro escritorios si no que tambien se veian las otras dos caras de linux, es decir convirtiendo en 6 escritorios, creo no toy seguro

MrXceLL
20-11-2006, 21:58:54
Estuve probando SuSE Linux 10.1 y kede encantado con la tecnologia XGL de novel...porke mi monitor se convierte en un cubo tridimensional con 4 escritorios virtuales, tambien el poder usar transparencias, y todas esas cosas.

Aki esta el video de las funciones del nuevo SuSE 10.1

http://www.youtube.com/watch?v=1n-6oEcAZ80#

PD: Le doy un 10 :laughing9:

Parzzz alguna info en cuanto a requerimientos minimos de hardware para este inetrfaz XGL ???

KYNTERO
24-11-2006, 10:35:11
nececita tarjeta aceleradora, es como lo unico asi en especial que pide

MrXceLL
26-11-2006, 17:11:55
Estuve probando SuSE Linux 10.1 y kede encantado con la tecnologia XGL de novel...porke mi monitor se convierte en un cubo tridimensional con 4 escritorios virtuales, tambien el poder usar transparencias, y todas esas cosas.

Aki esta el video de las funciones del nuevo SuSE 10.1

http://www.youtube.com/watch?v=1n-6oEcAZ80#

PD: Le doy un 10 :laughing9:

Parzz no he podido montar ese marik XGL tenes algun documento de como lo montaste ?? :Scream_Emoticon:

El_Lubi
11-12-2006, 12:31:43
XGL no viene preinstalado con la distribucion. Debes instalarlo manualmente con YAST.

MrXceLL
11-12-2006, 13:32:29
XGL no viene preinstalado con la distribucion. Debes instalarlo manualmente con YAST.

Mijo si eso ya lo se, pero algunos tipsitos de como montar la interfaz grafica XGL con el Yast ??? :)

El_Lubi
12-12-2006, 16:20:06
Estamos suponiendo que ya tenemos todo instalado:

xgl-cvs
compiz
libsvg-cairo
libsvg
xgl-compat100

pues todo eso lo trae el mismo Suse 10.1 menos el xgl-compat100 aunque este es opcional, ahora todo lo demas es facil, solo tienes que hacer esto

como usuario normal o como usuario root como quieras es tu decicion, yo lo hice como usuario normal, porque se que todo el XGL esta aun en fase de beta y puede ocacionarte problemas como caidas de la X y cosas asi.

tienes que seguir este arbol ramificado para hacer este paso:

YaST -->
Sistema -->
Editor para los archivos de /etc/sysconfig -->

Ahora en la proxima ventana de este arbol :

Desktop -->
Display Manager -->
DISPLAYMANAGER_XSERVER:

Solo tienes que cambiar el (Xorg) por (Xgl)

Luego mas abajo hay otra opcion:

DISPLAYMANAGER_XGL_OPTS:

Poner esto:

-accel glx:pbuffer -accel xv:pbuffer

Luego de hacer esto, tienes que agregarles estas lineas al "/etc/X11/xorg.conf" en la seccion del Dispositivo (Section "Device")
------------------------------------------------------------ -------------------
Option "RenderAccel" "true"
Option "AllowGLXWithComposite" "true"
------------------------------------------------------------ ---------------------
y luego agregar esto en la ultima linea
------------------------------------------------------------ --------------------------------------------------------
Section "Extensions"
Option "Composite" "Enable"
EndSection
--------------------------------------------------------- ------------------------
y si en la seccion modulos (Section "Module") tienes cargados los "DRI" Y "GLcore" tienes que comentarlos para que no sean cargados por la targeta
------------------------------------------------------------ -------------------------
# Load "GLcore"
# Load "dri"
------------------------------------------------------------ -------------------------
Ahora solo tienes que reiniciar tu X y entrar en tu Escritorio favorito sea KDE o GNOME........

Si, no creas que con esto vas estar girando cubos en 3D pues no, ahora biene lo bueno, en la shell ejecutas estos comandos:

$ SuSEconfig --module xdm
$compiz --replace gconf decoration wobbly fade minimize cube rotate zoom scale move resize place switcher
$gnome-window-decorator

ahora puedes crear un "Scripts" apra que inicie cada vez que entres en KDE y ponerlo en $HOME/.kde/Autostart

y en GNOME pues creo que tiene un STARTUP para que lo carges desde ahi.....

Y AAAAAAADDDDDIIIIIISSSSSSSSSFFFFFFFFRRRRRRUUUUUUUUTTTTAAAARRR RR

Pero esto es solo para la targeta NVIDIA pero creo que para ATI no varia mucho la configuarcion..............

El_Lubi
12-12-2006, 16:26:03
Install xgl and compiz

Now that we have the NVidia driver installed, we can proceed to install xgl and compiz, the programs that make all the coolness possible.
To do this, we'll open up YAST, providing our root password. When it comes up, click on SOFTWARE on the left, and SOFTWARE MANAGEMENT on the right:
http://www.novell.com/coolsolutions/img/17174-01.png
Search for xgl. When it appears in the results on the right side, check the box next to it:
http://www.novell.com/coolsolutions/img/17174-09.png
Then, we'll search for compiz. When it appears in the results on the right side, check the box next to it:
http://www.novell.com/coolsolutions/img/17174-10.png
Now, to finalize the deal, click on ACCEPT in the lower-right corner of the window.
Just like before, YAST asks you for the proper CDs. When it's done, it asks if you want to install other packages. Click NO.
Edit Config Files

Now, we have to edit some configuration files.
First off, open up a terminal window.
Switch to superuser (type 'su' and press ENTER):
linux-lab:~ $ su
Password:
linux-lab:/home/scott $ Now, we're going to open /etc/X11/xorg.conf. I'm going to use gedit, but you could just as easily use kate, vim, emacs, or whatever text editor you want:
linux-lab:~ $ gedit /etc/X11/xorg.conf
Look through the file for the "Device" section. It will look something like this:
Section "Device"
BoardName "GeForce4 MX 440 with AGP8X"
BusID "PCI:1@0:0:0"
Driver "nvidia"
Identifier "Device[0]"
VendorName "NVidia"
EndSection
We need to add one line to this section. That line will say: Option "NoFlip" "True", as in the following example:
Section "Device"
BoardName "GeForce4 MX 440 with AGP8X"
BusID "PCI:1@0:0:0"
Driver "nvidia"
Identifier "Device[0]"
VendorName "NVidia"
Option "NoFlip" "True"
EndSection
Note: Some people report that adding this line is not necessary. However, my sources at Novell recommend doing it, so I'm suggesting it here.
Don't close the file, yet. We need to add one more thing to it. Go down to the very bottom of the file and add this section:
Section "Extensions"
Option "Composite" "off"
EndSection
Now, you can save and close the file. Do not close the terminal window, however.
We have one more file to edit, /etc/sysconfig/displaymanager. Again, feel free to open this file with whatever text editor you wish. Open the file as root:
linux-lab:~ $ gedit /etc/sysconfig/displaymanager
Find the line that says DISPLAYMANAGER_XSERVER="Xorg". Instead of Xorg, we're going to tell it to use Xgl. So, change it to read thus:
DISPLAYMANAGER_XSERVER="Xgl" Now, find the line that says DISPLAYMANAGER_XGL_OPTS="-accel glx:pbuffer -accel xv:pbuffer". We're going to change the pbuffer there at the very end to say fbo. So, it will look like this:
DISPLAYMANAGER_XGL_OPTS="-accel glx:pbuffer -accel xv:fbo"
Save and close the file, but not the terminal window. As superuser still, run SuSEconfig:
linux-lab:~ $ SuSEconfig
You'll see a bunch of output scrolling up the screen.
When that is finished, we have to remove a symbolic link and then create a new one. This is accomplished by running the following two commands:
linux-lab:~ $ rm /var/X11R6/bin/X
linux-lab:~ $ ln -s /usr/X11R6/bin/Xgl /var/X11R6/bin/X
linux-lab:~ $ You can now close the terminal window.
We have done a lot of work to get this far, but none of it has been very difficult. We are now done installing Xgl and compiz and configuring the system. Now, we need to configure your desktop environment to run Xgl and compiz when it starts up. The following sections correspond to some of the major desktop environments and window managers. Skip straight to the one that interests you and proceed.
Configuring Gnome to Run Xgl

First, go ahead and log into Gnome.
Open up a terminal window and run the gnome-session-properties command:
linux-lab:~ $ gnome-session-properties You'll see the SESSIONS window come up. Click on the STARTUP PROGRAMS tab:
http://www.novell.com/coolsolutions/img/17174-11.png
Click on the ADD button. Type compiz --replace gconf into the box and click OK:
http://www.novell.com/coolsolutions/img/17174-12.png
Again, click ADD. Type gnome-window-decorator into the box and click OK:
http://www.novell.com/coolsolutions/img/17174-13.png
You should now see the two new additions in the SESSIONS window:
http://www.novell.com/coolsolutions/img/17174-14.png
You can now close the SESSIONS window.
Once you're back in the terminal window, run the gconf-editor command:
linux-lab:~ $ gconf-editor The CONFIGURATION EDITOR window appears:
http://www.novell.com/coolsolutions/img/17174-15.png
In the left pane of this window, double-click to open each of the following items in this order: apps => compiz => general => allscreens => options. Then, in the right pane, double-click the ACTIVE_PLUGINS item to open it. We just want to make sure that the plugins are all set to load. You should see a list similar to this:
http://www.novell.com/coolsolutions/img/17174-16.png
If you do not, you can add them all manually.
Now that we are sure all of the plugins are set to load, you should be able to log out of Gnome and then log back in. Once you do, you should be able to access the features of Xgl. To test this, open a window and move it around the screen. If it "wobbles", you are good to go.
When I have set this up, at this stage, I have to do a hard restart in X to get all of the settings to take properly. I have heard that this is not necessary. However, if you do not see Xgl working right here, you may need to do this, as well. To hard restart X, you just log out of Gnome. When you are logged out, press CTRL + ALT + BACKSPACE. X will shut down and restart. You can then log back in and everything should be full of coolness. Also, rebooting the computer may help things get freshly loaded and start up properly.
Congratulations. Your Gnome desktop environment should now be sporting all the great features of Xgl. To find out more about what Xgl can do, skip down to the XGL SHORTCUTS section, below.
Configuring KDE to run Xgl

First, make sure you are logged into KDE just like normal. We are going to create a quick config file so that KDE knows to load up compiz when X starts up. Open up your favorite editor. Copy and paste the following into a new text document:
[Desktop Entry]
Encoding=UTF-8
Exec=compiz --replace decoration wobbly fade minimize cube rotate zoom scale move resize place switcher & gnome-window-decorator &
GenericName[en_US]=
StartupNotify=false
Terminal=false
TerminalOptions=
Type=Application
X-KDE-autostart-after=kdesktop Now, we just need to save it. You will need to save it in your /home/user/.kde/Autostart folder, where 'user' is your username. Name the file compiz.desktop. Once this is done, log out of KDE and log back in. You should have functioning Xgl on your shiny new K Desktop Environment.
Xgl Shortcuts

Some of the features of Xgl are executed when you perform certain functions. Mostly, this is some kind of key combination on your keyboard in addition to some button press and/or movement of your mouse. Below, I have provided a table with the different Xgl options and how to execute each one.
Window Operations Move Window ALT + Left-Click and Drag Move Window - Snap to screen CTRL + ALT + Left-Click and Drag Resize Window ALT + Right-Click and Drag Switch Windows ALT + TAB Switch Windows (Scale Mode) F11 Wobbly Windows Left-Click Window and Drag Translucency ALT + Mouse Up / Mouse Down Cube Rotate Cube - Next Desktop CTRL + ALT + Left or Right Arrow Rotate Cube - Next Desktop Move Mouse cursor to extreme edge of desktop Rotate Cube - Take Active Window CTRL + SHIFT + ALT + Left or Right Arrow Manually Rotate Cube CTRL + SHIFT + Left-Click on Desktop and Drag Zoom Zoom Once Super-Key (Windows Key) Zoom In Manually Mouse Wheel Scroll Up + Super-Key (Windows Key) Zoom Out Manually Mouse Wheel Scroll Down + Super-Key (Windows Key)