Ubuntu:Edgy Sp/EyeCandy
From
Current revision as of 11:27, 17 December 2006
Contents |
Eye Candy
Cómo instalar Xgl/Compiz (Nvidia)
- Para una información completa sobre cómo instalar XGL sobre diferentes tarjetas y algunos trucos mira: http://ubuntuforums.org/showthread.php?t=148351
sudo cp /etc/X11/xorg.conf /etc/X11/xorg.conf_backup gksudo gedit /etc/X11/xorg.conf
- Busca esta sección
Section "Module" Load "i2c" Load "bitmap" ... Load "type1" Load "vbe" EndSection
- Comenta dri y GLcore (si esta presente)
# Load "dri" # Load "GLcore"
- Asegurate de que el modulo glx esta cargado
Load "glx"
- Busca esta sección (tus valores pueden cambiar)
Section "Device" Identifier "NVIDIA Corporation NV34M [GeForce FX Go5200]" Driver "nv" BusID "PCI:1:0:0" EndSection
- Sustituye por las siguientes lineas, dejando el Identifier y BusID como esto
Section "Device" ... Driver "nvidia" ... Option "RenderAccel" "true" Option "AllowGLXWithComposite" "true" EndSection
- Busca esta sección
Section "Screen" Identifier "Default Screen" Device "NVIDIA Corporation NV34M [GeForce FX Go5200]" Monitor "Generic Monitor" DefaultDepth 16
- Asegurate que DefaultDepth esta en 24, si ya no lo estaba
DefaultDepth 24
- Guarda el fichero editado
- Instala Xgl/Compiz
sudo apt-get install compiz xserver-xgl libgl1-mesa xserver-xorg libglitz-glx1 compiz-gnome sudo cp /etc/gdm/gdm.conf-custom /etc/gdm/gdm.conf-custom-backup gksudo gedit /etc/gdm/gdm.conf-custom
- Sustituye todo por las siguientes lineas
# GDM Configuration Customization file. # # This file is the appropriate place for specifying your customizations to the # GDM configuration. If you run gdmsetup, it will automatically edit this # file for you and will cause the daemon and any running GDM GUI programs to # automatically update with the new configuration. Not all configuration # options are supported by gdmsetup, so to modify some values it may be # necessary to modify this file directly by hand. # # To hand-edit this file, simply add or modify the key=value combination in # the appropriate section in the template below. Refer to the comments in the # gdm.conf file for information about each option. Also refer to the reference # documentation. # # If you hand edit a GDM configuration file, you should run the following # command to get the GDM daemon to notice the change. Any running GDM GUI # programs will also be notified to update with the new configuration. # # gdmflexiserver --command="UPDATE_CONFIG <configuration key>" # # For example, the "Enable" key in the "[debug]" section would be specified by # "debug/Enable". # # You can also run gdm-restart or gdm-safe-restart to cause GDM to restart and # re-read the new configuration settings. You can also restart GDM by sending # a HUP or USR1 signal to the daemon. HUP behaves like gdm-restart and causes # any user session started by GDM to exit immediately while USR1 behaves like # gdm-safe-restart and will wait until all users log out before restarting GDM. # # For full reference documentation see the gnome help browser under # GNOME|System category. You can also find the docs in HTML form on # http://www.gnome.org/projects/gdm/ # # NOTE: Lines that begin with "#" are considered comments. # # Have fun! [daemon] [security] [xdmcp] [gui] [greeter] [chooser] [debug] [servers]# Override display 1 to use Xgl 0=Xgl [server-Xgl] name=Xgl server command=/usr/bin/Xgl :0 -fullscreen -ac -accel glx:pbuffer -accel xv:fbo flexible=true
- Crea un script que Xgl/Compiz al arranque
gksudo gedit /usr/bin/thefuture
- Inserta las siguiente lineas en un nuevo fichero. Sustituye .us por el valor apropiado de teclado de tu región. Ejemplo .gb para el Reino Unido, .sp para España. Para una lista de valores de teclado, escribe ls /usr/share/xmodmap en un terminal. Si no estas seguro, deja .us (Stados Unidos)
#!/bin/bash gnome-window-decorator & compiz --replace gconf decoration wobbly fade minimize cube rotate zoom scale move resize place switcher & xmodmap /usr/share/xmodmap/xmodmap.us
- Guarda el fichero
sudo chmod 755 /usr/bin/thefuture
- Ejecutar compiz para esta sesión
thefuture
- Tener compiz cargado al inicio
- Sistema -> Preferencias -> Sesiones
- Programas al comienzo -> Añadir
/usr/bin/thefuture
- Click Ok, y cierra
- Lee #Cómo reiniciar GNOME sin reinicar el ordenador
- Resolución de problemas
- Si Xgl/Compiz no parece funcionar, o obtienes errores, simplemente reinicia después de añadir "thefuture" a los programas del comienzo.
- Si al mover ventanas se relentiza el sistema, ejecuta gconf-editor desde el terminal. Busca apps/compiz/general/screen0/options. Desabilita detect_refresh_rate y establece refresh rate a 60. Todo debería funcionar ahora...
- Si estas usando el teclado que no viene por defecto (otro lenguaje), tendrías que revertirlo si el teclado se comporta de forma rar en Sistema/Opciones/Teclado
- También puedes mapear la tecla Super en la tecla windows aquí.
- Si no quieres "panel extendido de botones", escribe "killall gnome-panel" en una terminal.
- Atajos
- Cambiar entre ventanas = Alt + Tab
- Ordenar y ver todas las ventanas = F12 activa o desactiva; haciendo click en una ventana la traera al frente
- Cambiar entre escritorios en el cubo = Ctrl + Alt + Flecha Izda/Dcha
- Cambiar entre escritorios - con seguimiento activo de ventana = Ctrl + Shift + Alt + Left/Right Arrow
- Rota el cubo manualmente = Ctrl + Alt + left-click
- Hacer una ventana opaca/translucida = actualmente solo es posible con la utilidad "transset"
- Acercarse de una vez = Tecla windows click en el botón derecho del ratón
- Acercarse manualmente = Tecla windows + rueda del ratón arriba
- Alejarse manualmente = Tecla windows + rueda del ratón abajo
- Mueve ventana = Alt + click izquierdo
- Mover ventana bruscamente (con bordes pegados) = Ctrl + Alt + click izquierdo
- Redimensionar ventana = Alt + click derecho
Cómo instalar Xgl/Beryl (ATI)
(De Foros de Beryl)
Primero asegurate de que tienes aceleración 3d en una sesion normal de gnome. Hay muchas guias para esto, si necesitas alguna ayuda con esto Google puede ayudarte. Así que si glxinfo muestra direct rendering: yes , entonces puedes hacerlo. Si no xgl y Beryl no funcionaran!
- Actualiza tu sistema
sudo apt-get update sudo apt-get dist-upgrade
- Prepara y actualiza repositorios
sudo gedit /etc/apt/sources.list
- Añade repositorios de quinstorms y reggaemanus a /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
- Bajate e instala la clave gpg para los repositorios de quinnstorms
wget http://www.beerorkid.com/compiz/quinn.key.asc -O - | sudo apt-key add -
- Actualiza las fuentes
sudo apt-get update
- Instala los paquetes necesitados
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
- Haz un script pra el comienzo en xgl
sudo gedit /usr/bin/startxgl.sh
- Añade al script
Xgl -fullscreen :1 -ac -accel glx:pbuffer -accel xv:pbuffer & sleep 2 && DISPLAY=:1 # Start GNOME exec gnome-session
- Haz el script ejecutable
sudo chmod 755 /usr/bin/startxgl.sh
- Crea una sesión xg para el gestor de login
sudo gedit /usr/share/xsessions/xgl.desktop
- Añade a la sesión
[Desktop Entry] Encoding=UTF-8 Name=XGl Exec=/usr/bin/startxgl.sh Icon= Type=Application
- Añade
beryl emerald
a los programas de inicio de gnome. (ve a sistema, preferencias, sesiones y selecciona la pestaña de programas de inicio)
- Reinicia
- En el gestor de login ahora puedes elegir una sesión llamada Xgl
- Responde a la pregunta que quieres usar Xgl solo para esta sesión solo (Si algo sale mal la próxima vez entraras usando una la sesión de siempre
- Si todo va bien, puedes establecerla como por defecto, recuerda que siempre puedes entrar en una sesión normal de gnome si quieres.
- Si posees una radeon de la serie X y tienes problemas, lee este post:
http://ubuntuforums.org/showthread.php?t=150854
Nota para todas las tarjetas: glxinfo mostrará que direct rendering no va, no te preocupes eso es normal cuando tu estas ejecutando xgl.
Cómo instalar Beryl/AIGLX (Nvidia)
(De Ubuntu Forums)
- Lee #Notas Generales
- Lee #Cómo instalar Controladora Grafica Beta (NVIDIA)
- Read #Cómo agregar repositorios
- Asegurate de que tienes todos los paquetes actualizados
Instala *ubuntu-desktop metapackage specific to your DE, ejemplo sudo apt-get install ubuntu-desktop sudo apt-get update sudo apt-get upgrade sudo apt-get dist-upgrade
- Añade repositorios
gksudo gedit /etc/apt/sources.list
- Añade la siguiente lienas al final del fichero (x86 y amd64):
deb http://beryl.lupine.me.uk/ edgy main
- Añade clave
wget http://beryl.lupine.me.uk/1609B551.gpg -O- | sudo apt-key add -
- Guarda el fichero editado
sudo apt-get update
- Instala Beryl
sudo apt-get install beryl emerald-themes
- Haz una copia de seguridad de xorg.conf
sudo cp /etc/X11/xorg.conf /etc/X11/xorg.conf_backup gksudo gedit /etc/X11/xorg.conf
- Añade esta linea a xorg.conf en la sección "Screen"
# Enable 32-bit ARGB GLX Visuals
Option "AddARGBGLXVisuals" "True"
# If you are using an older version of compiz that
# does not support rendering into the Composite
# Overlay Window, you will need to disable clipping
# of GLX rendering to the X Root window with this
# option, or you will get a blank screen after
# starting compiz:
Option "DisableGLXRootClipping" "True"
- Añade esto a xorg.conf en la sección "Device"
Option "TripleBuffer" "true"
- Reinicia X con ctrl+alt+backspace
- Arranca Beryl (si no aparece por si solo)
beryl-manager
- Arranca Emerald (si no lo hace por si solo)
emerald --replace
Cómo instalar Beryl/AIGLX (Intel i915)
Sigue la guia de beryl project wiki.
Si eso no funciona, compruba que tienes direct rendering habilitado (escribe en una terminal):
glxinfo | grep direct
La salida debería ser:
direct rendering: Yes
Si la salida pone No, comprueba que tienes el gestor dedirect rendering cargado:
lsmod|grep 915
En la salida debería aparecer:
i915 21632 3 drm 74644 4 i915 tsdev 9152 0
Si solo muestra la linea tsdev, puedes intentar configurar xsorg.conf con el driver i810, reinicia, CTRL-ALT-F1 en una sesión con terminal y configurar xorg.conf, para volver a usar i915. Eso me ayudo.
Cómo instalar una imagen de arranque alternativa
- Lee #Notas Generales
- Esto instala una imagen de arranque minimalista que aparece cuando el ordnador es arrancando y apagandose. Esta desprovisto de cualquier mensaje de texto.
wget -c http://www.users.on.net/~stubby/usplash-minimalistic_0.1.deb sudo dpkg -i usplash-minimalistic_0.1.deb sudo update-alternatives --config usplash-artwork.so
- Selecciona la alternativa minimalista (/usr/local/lib/usplash/minimalastic.so) escrbiendo el numero correspondiente. Si quieres volver a como estaba la imagen original, selecciona la imagen por defecto (/usr/lib/usplash/usplash-default.so)
- Reinicia para ver los cambios
- Mira la Guia Oficial para personalizar el USplash para más opciones.
BlogMarks
del.icio.us
digg
Fark
Furl
Newsvine
reddit
Segnalo
Simpy
Slashdot
smarking
Spurl
Wists
