Usando Beryl

19 02 2007
  • Alternar Entre Janelas = Alt + Tab
  • Arranjar e Ver Todas as Janelas = F12 liga e desliga; clicar uma janela irá fazer zoom e pô-la-a à frente
  • Alternar Ambientes de Trabalho no cubo = Ctrl + Alt + Seta Esquerda/Direita
  • Alternar Ambientes de Trabalho no cubo – com a janela activa seguindo = Ctrl + Shift + Alt + Seta Esquerda/Direita
  • Rodar o cubo manualmente = Ctrl + Alt + clique esquerdo
  • Fazer janela translúcida/opaca = actualmente só possível com o utilitário “transset”
  • Fazer Zoom-in uma vez = Super-key + clique direito
  • Fazer Zoom-in manualmente = Super-key + roda do rato para cima
  • Fazer Zoom-out manualmente = Super-key + roda do rato para baixo
  • Mover janela = Alt + clique esquerdo
  • Snap Move window (will stick to borders) = Ctrl + Alt + left-click
  • Redimensionar janela = Alt + clique direito

Mais dicas:

Some commands to get you started (all of them are configurable through the Settings Manager):

  • General Option
Alt+Mouse wheel Make window translucent/opaque
  • Application Switcher
Alt+Tab switch between windows from current workspace
Ctrl+Alt+Tab switch between windows from all workspaces
  • Scale (Arrange and view all windows)
Bottom-Left (hot corner) All workspaces (clicking a window will zoom it to the front)
Top-right (hot corner) Current workspace
  • Show Desktop (View desktop of current cube face )
Bottom-right (hot corner) Turns on or off;
  • Rotate cube
Ctrl+Alt+Left/Right Arrow Switch desktops on cube;
Ctrl+Shift+Alt+Left/Right Arrow Send the active window to the left/right workspace
Ctrl+Alt+Left-click and grab Rotate cube manually
  • Zoom
Super-key+Right-click Zoom in once
Super-key+Mouse wheel up/down Zoom in/out manually
  • Move Window
Alt+Left-click Move window
Ctrl+Shift+Left-click Snap move window (will stick to borders)
  • Resize window
Alt+Middle-click
  • Water
Hold Ctrl+Super key and move mouse Your pointer is moving on water (Disabled by default)
Shift-F9 Rain is falling on your screen
  • Blur
Add some blur under transparent windows (will slow down your computer!)
  • Minimize Effect
Animations when creating or closing windows (works also for menu but then you have to select “Unknown”! “Menu” alone doesn’t work)
  • Negative
Super Key+m Inverse color of the screen
Super Key+n Inverse color of the current window
  • Reflection
Add somes textures to decoration (mostly visible when transparent)
  • Screenshot
Super Key+Left Click and grab Take a screenshot of the selected area (picture saved on the desktop)
  • Trail focus
Older windows are more transparent
  • Wobbly
Makes windows, menus,… like chewing-gum
  • Brightness and Saturation
Ctrl+Mouse wheel down/up Desaturate/Resaturate (works also for desktop)
Shift+Mouse wheel down/up Less/more Brightness (works also for desktop)
  • Put
Super Key+Keypad 1..9 Quickly place a window on a screen (1=top left, 2=top center,…). On a laptop (i.e if you don’t have a numeric keypad, use Super Key+Fn Key+Virtual Keypad)
  • Bring up the window below the top window (I don’t know that plugin?)

Reminder: Super-Key = Windows Key





Instalando o GAlternatives

16 02 2007

sudo apt-get install galternatives





Recompilando o kernel do driver ATI

10 02 2007

A cada atualização de kernel no Linux, faz-se necessário uma recompilação do kernel fglrx

Primeiro, instalamos as ferramentas necessárias:

sudo apt-get update
sudo apt-get install module-assistant build-essential
sudo apt-get install fakeroot dh-make debconf libstdc++5 linux-headers-$(uname -r)

Antes de recompilar o kernel fglrx, certificar que o fgrlx-kernel-source e o fglrx-sources estejam instalados (pode ser pelo Synaptic)

sudo module-assistant prepare
sudo module-assistant update
sudo module-assistant build fglrx
sudo module-assistant install fglrx
sudo depmod -a





Placas ATI no Dapper

9 02 2007

Instalar

NOTA: O driver fglrx não suporta : FireGL 8800/9200, Radeon 8500/9000/9100/9200/9250, and Mobility Radeon 9000/9200.

Suporta Radeon 9500 até a Serie X X1900.

Se tens uma placa inferior vê #Placas abaixo da radeon 9500 ( Placas R200 ).

[edit]

Método 1 : Instalar o Driver (8.25.18)

Vejam se têm o repositorio restricted activado no /etc/apt/sources.list ou isto não ira funcionar. Vejam como adicionar repositorios no Guia do Dapper

sudo apt-get update

sudo apt-get install linux-restricted-modules-$(uname -r)

sudo apt-get install xorg-driver-fglrx

sudo aticonfig --initial

sudo aticonfig --overlay-type=Xv

Uma alternativa ao comando aticonfig –initial é editar o /etc/X11/xorg.conf e substituir a string “ati” por “fglrx” na secção “Device”. Desta forma não perdes as tuas configurações antigas do “Screen” e “Monitor”

Depois podes usar o aticonfig para definir o overlay etc.

Reiniciar

[edit]

Confirmar que funciona

$ fglrxinfo

display: :0.0  screen: 0

OpenGL vendor string: ATI Technologies Inc.

OpenGL renderer string: RADEON 9700 Generic

OpenGL version string: 2.0.5695 (8.23.7)[/code]

[edit]

Problemas Método 1

  • Pode ser necessario criar um symlink para ter acelaraçao OpenGL:
 sudo ln -s /usr/lib/dri /usr/lib/xorg/modules/dri
  • Podes forçar o aranque do modulo fglrx ao adiciona-lo a /etc/modules
  • Para ter a certesa que tens automaticamente a versão actual do linux-restricted-modules com os updates do kernel, deves instalar o pacote linux-restricted-modules-??? referente ao teu tipo de kernel (sem o numero da versão), ex. linux-restricted-modules-386, linux-restricted-modules-686 ou linux-restricted-modules-k7.
  • Pode ser preciso adicionar ao xorg.conf na secão "Device" : ( se depois de instalar ouvir som, mas nada de imagem )

Option "MonitorLayout" "LVDS,TMDS"

Método 2: Criar e Instalar pacotes Drivers 8.28.8 para o Ubuntu Dapper Manualmente

Important Change: Installation of this driver no longer requires removing the linux-restricted-modules package in order to work. There is a new blacklist feature in Ubuntu Dapper that you can use to go around this.

[edit]

Blacklist old fglrx module from linux-restricted-modules

As ubuntu's linux-restricted-modules package includes the fglrx module from an old driver version (8.25.18), we have to blacklist this module to make sure the new kernel module which is needed by the new driver will be used instead.

sudo gedit /etc/default/linux-restricted-modules-common

Altera o DISABLED_MODULES para incluir o fglrx

DISABLED_MODULES="fglrx"

[edit]

Instalar o Novo Driver

Download the ATI driver installer: ati-driver-installer-8.28.8.run (this installer is for 32bit and 64bit systems)

This guide refers to the 32bit version of the driver. The installation procedure for 64bit should be the same as for 32bit, except the filenames of the created .deb packages will differ slightly and you have to install the ia32-libs package which can be done with apt-get or synaptic.

Change to the download directory. Make sure that you have the universe and multiverse repositories enabled in /etc/apt/sources.list before doing these steps.

Instalar pacores necessários:

sudo apt-get update

sudo apt-get install module-assistant build-essential

sudo apt-get install fakeroot dh-make debconf libstdc++5 linux-headers-$(uname -r)

Create .deb packages:

bash ati-driver-installer-8.28.8.run --buildpkg Ubuntu/dapper

Instalar pacotes .deb:

Arquitetura 34 bits

sudo dpkg -i xorg-driver-fglrx_8.28.8-1_i386.deb

sudo dpkg -i fglrx-kernel-source_8.28.8-1_i386.deb

sudo dpkg -i fglrx-control_8.28.8-1_i386.deb

Arquitetura 64 bits

sudo dpkg -i xorg-driver-fglrx_8.28.8-1_amd64.deb

sudo dpkg -i xorg-driver-fglrx-dev_8.28.8-1_amd64.deb

sudo dpkg -i fglrx-kernel-source_8.28.8-1_amd64.deb

sudo dpkg -i fglrx-sources_8.28.8-1_amd64.deb

sudo dpkg -i fglrx-control_8.28.8-1_amd64.deb

Remove any old fglrx debs from /usr/src/:

sudo rm /usr/src/fglrx-kernel*.deb

Compile the kernel module:

sudo module-assistant prepare

sudo module-assistant update

sudo module-assistant build fglrx

sudo module-assistant install fglrx

sudo depmod -a

Note: You have to recompile the kernel module after each kernel update!

Update the xorg.conf file:

sudo aticonfig --initial

sudo aticonfig --overlay-type=Xv

Reboot:

sudo shutdown -r now

[edit]

Confirm that it worked

$ fglrxinfo

display: :0.0  screen: 0

OpenGL vendor string: ATI Technologies Inc.

OpenGL renderer string: RADEON 9700 Generic

OpenGL version string: 2.0.6011 (8.28.8)

[edit]

Placas abaixo da radeon 9500 ( Placas R200 )

Se tens uma placa abaixo da 9500 (9200 por exemplo), depois de seguir os passos anteriores, deve instalar as drivers antigas ou usar as OpenSource 'ATI' que vêm de base configuradas no Ubuntu.

Para tal, faça o download de http://www.guiaubuntupt.org/files/libGL.so.1.2 para a sua pasta pessoal.

wget http://www.guiaubuntupt.org/files/libGL.so.1.2

E substitua as drivers recentes pelas antigas.

sudo cp libGL.so.1.2 /usr/lib/libGL.so.1.2

Se tudo correr bem, ao fazer fglrxinfo, deve aparecer o seguinte por exemplo:

k@carai:~$ fglrxinfo

display: :0.0  screen: 0

OpenGL vendor string: ATI Technologies Inc.

OpenGL renderer string: RADEON 9250/9200 Series DDR Generic

OpenGL version string: 1.3.1072 (X4.3.0-8.25.18)
Fonte: http://www.guiaubuntupt.org/wiki/index.php?title=Xgl_Dapper




Repositórios Compiz para Ubuntu

7 02 2007

DAPPER DRAKE (inserir no sources.list um desses mirrors):

deb http://www.beerorkid.com/compiz dapper main
deb http://media.blutkind.org/xgl/ dapper main
deb http://compiz-mirror.lupine.me.uk/ dapper main
deb http://ubuntu.compiz.net/ dapper main

EDGY EFT (inserir no sources.list um desses mirrors):

deb http://www.beerorkid.com/compiz edgy main-edgy
deb http://media.blutkind.org/xgl/ edgy main-edgy
deb http://compiz-mirror.lupine.me.uk/ edgy main-edgy
deb http://ubuntu.compiz.net/ edgy main-edgy

Depois pegue a chave (segue a ordem dos mirrors acima):

wget http://www.beerorkid.com/compiz/quinn.key.asc -O – | sudo apt-key add -
wget http://media.blutkind.org/xgl/quinn.key.asc -O – | sudo apt-key add -
wget http://compiz-mirror.lupine.me.uk/quinn.key.asc -O – | sudo apt-key add -
wget http://ubuntu.compiz.net/quinn.key.asc -O – | sudo apt-key add -

Pacotes sugeridos:

compiz, compiz-gnome, cgwd, and cgwd-themes





Listando informações da CPU no Ubuntu

6 02 2007

No terminal:

cat /proc/cpuinfo





DVD playback no Ubuntu

6 02 2007

Instalar a biblioteca libdvdread3

sudo apt-get install libdvdread3

Rode o script:

sudo /usr/share/doc/libdvdread3/install-css.sh

Instalando codecs:
Habilite os repositórios “Universe” e “Multiverse” e instale os pacotes (pode ser feito pelo Synaptic Package Manager):

gstreamer0.10-plugins-ugly
gstreamer0.10-plugins-ugly-multiverse
gstreamer0.10-plugins-bad
gstreamer0.10-plugins-bad-multiverse
gstreamer0.10-ffmpeg





Instalar Looking glass no Ubuntu

6 02 2007

Sun Microsystems is contributing Project Looking Glass, based on Java™ technology, to the open source community.
Project Looking Glass is an exploratory project to bring innovative 3D features to the desktop environment. The desktop interface will offer an intuitive, new 3D environment to interact with desktop applications featuring window transparency, rotation, zoom, multiple desktop workspaces, and miniaturization. Project Looking Glass offers a platform to realize a far richer and more entertaining user experience for existing and new applications in 2D or 3D. The technology enables developers to build highly visual 3D desktops and applications that will run on Linux systems such as Sun’s Java Desktop System. The Solaris™ environment will be supported in the near future.

Install Looking glass in Ubuntu

There are 3 LG3D repositories. The stable repository has the latest stable releases (0.8.1, 1.0 etc.). The testing repository has the pre-release builds (alpha, beta etc.) for the latest version and the unstable repsoitory has the nightly builds.

Edit the /etc/apt/sources.list file

sudo vi /etc/apt/sources.list

and add the following line which is suitable for you save the file and exit.

# LG3D repsoitories

#For stable

#deb http://javadesktop.org/lg3d/debian stable contrib

#For testing

# deb http://javadesktop.org/lg3d/debian testing contrib

#For Unstable

# deb http://javadesktop.org/lg3d/debian unstable contrib

Uncomment the desired one.
Suggested one is stable one

Now you need to update the repositories using the following command

sudo apt-get update

Install looking glass using the following command

sudo apt-get install lg3d-core

This will install all the required packages for looking glass desktop environment.

If you want to access the Looking glass Desktop environment logout from the existing session and now you are on ubuntu
login screen in this you need to select options—> selectsession





Desabilitar o IPV6 no Ubuntu

6 02 2007

If you disable IPv6 and get reasonable Internet connection & DNS speeds

You need to edit the aliases file using the following command

sudo vi /etc/modprobe.d/aliases

Find the line: alias net-pf-10 ipv6

change to alias net-pf-10 off

If the above change is not working you need to change the following one

alias net-pf-10 off ipv6

Save the file and reboot
Ubuntu Geek





Firefox 2.0 no Ubuntu Dapper

6 02 2007

Segue um breve tutorial que segui para atualizar o Firefox no Dapper para a versão 2.0

1 – Verificar se o libstdc++5 e a versão antiga do Firefox estão instalados:

sudo apt-get -y install firefox libstdc++5

2 – Fazer backup das antigas preferências da antiga versão:

cp -R ~/.mozilla ~/.mozilla_backup

3 – Ir para o diretório home:

cd

4 – Fazer download da nova versão:

wget -c http://releases.mozilla.org/pub/mozilla.org/firefox/releases/2.0/linux-i686/en-GB/firefox-2.0.tar.gz

5 – Descompactar o arquivo .tar.gz:

sudo tar -C /opt -x -z -v -f firefox-2.0.tar.gz

6 – Remover o arquivo .tar.gz:

rm firefox-2.0.tar.gz

7 – Linkar os plugins:

cd /opt/firefox/plugins/
sudo ln -s /usr/lib/mozilla-firefox/plugins/* .

8 – Linkar o atalho para o novo Firefox:

sudo dpkg-divert –divert /usr/bin/firefox.ubuntu –rename /usr/bin/firefox
sudo ln -s /opt/firefox/firefox /usr/bin/firefox
sudo dpkg-divert –divert /usr/bin/mozilla-firefox.ubuntu –rename /usr/bin/mozilla-firefox
sudo ln -s /opt/firefox/firefox /usr/bin/mozilla-firefox

Fonte: http://everythingelse.wordpress.com/2006/07/15/howto-install-firefox-20-bon-echo-in-ubuntu/