EyeCandy
Eye Candy
Como instalar o Xgl/Compiz (Nvidia)
sudo cp /etc/X11/xorg.conf /etc/X11/xorg.conf_backup sudo gedit /etc/X11/xorg.conf
- Procure por esta seção:
Section "Module" Load "i2c" Load "bitmap" ... Load "type1" Load "vbe" EndSection Comente as linhas contendo as palavras dri e GLcore (se presentes, adicionando um # no início da linha).
# Load "dri" # Load "GLcore"
Certifique-se que o módulo glx está carregado, procurando pela seguinte linha:
Load "glx"
- Procure por esta seção (o seu conteúdo pode ser um pouco diferente):
Section "Device" Identifier "NVIDIA Corporation NV34M [GeForce FX Go5200]" Driver "nv" BusID "PCI:1:0:0" EndSection Substitua com as seguintes linhas, deixando o Identifier e BusID como estão no seu arquivo original:
Section "Device" ... Driver "nvidia" ... Option "RenderAccel" "true" Option "AllowGLXWithComposite" "true" EndSection- Procure por esta seção:
Section "Screen" Identifier "Default Screen" Device "NVIDIA Corporation NV34M [GeForce FX Go5200]" Monitor "Generic Monitor" DefaultDepth 16 Certifique-se que a diretriz DefaultDepth está ajustada com o valor 24, caso ainda não esteja.
DefaultDepth 24
- Salve o arquivo editado.
- Instale 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 sudo gedit /etc/gdm/gdm.conf-custom
- Substitua o conteúdo do arquivo com as seguintes linhas:
# 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-Leia 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|Sistema 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
- Crie um script para executar o Xgl/Compiz no início de uma sessão:
sudo gedit /usr/bin/thefuture
Insira as seguintes linhas no novo arquivo. Substitua .us com a associação de teclado apropriada para a sua região (ex: .uk para o Reino Unido). Em caso de dúvida, deixe como .us.
gnome-window-decorator & compiz --replace gconf decoration wobbly fade minimize cube rotate zoom scale move resize place switcher & xmodmap /usr/share/xmodmap/xmodmap.us
- Salve o arquivo, feche o gEdit, e modifique suas permissões:
sudo chmod 755 /usr/bin/thefuture
- Para executar compiz para esta sessão:
thefuture
- Para compiz carregar no início de uma sessão:
Sistema -> Preferências -> Sessõess
Programas de Inicialização -> Add
/usr/bin/thefuture
- Clique em Ok, e depois Fechar.
Leia "Como reiniciar o GNOME sem reiniciar o computador" Dicas:
- Alternar janelas = Alt + Tab
- Organizar e Visualizar Todas Janelas = F12 liga ou desliga este recurso; clicando em uma janela a trará para o primeiro plano.
- Alternar desktops em um cubo = Ctrl + Alt + Setas Esquerda/Direita.
- Alternar desktops em um cubo - com a janela atual acompanhando = Ctrl + Shift + Alt + Setas Esquerda/Direita.
- Rodar cubo manualmente = Ctrl + Alt + clique com o botão esquerdo do mouse.
- Tornar janela transparente/opaca = atualmente somente possi´vel com a utilidade "transset".
- Ampliar uma vez = Super-tecla + clique com o botão direito do mouse.
- Ampliar manualmente = Super-tecla + roda do mouse para cima.
- Ampliar manualmente = Super-tecla + roda do mouse para baixo.
- Mover janela = Alt + clique com o botão esquerdo do mouse.
- Mover janela com encaixamento (para encaixar nas bordas) = Ctrl + Alt + clique com o botão esquerdo do mouse.
- Modificar o tamanho de uma janela = Alt + clique com o botão direito do mouse.
Quer saber mais sobre o Eye Candy?
EyeCandy (last edited 2011-09-19 23:21:06 by localhost)