参考的文档我记不清哪下的了，好像也是beryl 的 wiki
How-to install Beryl with AIGLX on Edgy
As of october 2006, AIGLX should work out of the box in edgy, provided your graphics card supports it.
How-to install Beryl with AIGLX on Dapper
Edit the sources.list file:
sudo nano /etc/apt/sources.list
Add this line:
dapper main aiglx
Make sure to get the public key for the repository:
-O - | sudo apt-key add -
Update the package list and upgrade your system before installing
sudo apt-get update
sudo apt-get dist-upgrade
Install the new X server (called xserver-xorg-air):
sudo apt-get install xserver-xorg-air-core linux-dri-modules-common linux-dri-modules-`uname -r`
There's a small glitch with xserver-xorg-air-core: it doesn't install its own modules for input and video drivers. The workaround is to point to the Xorg modules instead:
sudo ln -s /usr/lib/xorg/modules/drivers/ /usr/lib/xorg-air/modules/
sudo ln -s /usr/lib/xorg/modules/input/ /usr/lib/xorg-air/modules/
Modify /etc/X11/xorg.conf - maybe it is a good advice to make a copy before editing because in any problem, you might not be able to login again in the graphic session! So first, make a backup
sudo cp /etc/X11/xorg.conf /etc/X11/xorg.conf.old
The modifications : Needs to be in the Screen section:
Make sure these are all there, and GLcore is commented out:
# Load "GLcore"
Exactly like this (depends on your graphic chip): (IF there is no Option "XAANoOffscreenPixmaps". Add it! for 855GM)
Identifier "Intel Corporation Intel Default Card"
Add this under Section "ServerLayout"
Option "AIGLX" "true"
You must have composite exstension enabled (if not, add it):
Option "Composite" "Enable"
Now modify gdm's config to use AIGLX the next time you boot: Modify the file /etc/gdm/gdm.conf-custom and make it look like this:
sudo nano /etc/gdm/gdm.conf-custom
All these modifications will be effective the next time you boot!
sudo apt-get install beryl
That's too easy !
You'll also need themes for the decorations
sudo apt-get install emerald-themes
Beryl is a metapackage that will install all the dependencies (beryl-core, beryl-plugins, beryl-manager, beryl-settings) and also the decoration themes (emerald but not emerald-themes). Make sure you have all!
Starting Beryl (and AIGLX)
You need first to start AIGLX. Just close all your windows, logout and press Ctrl + Alt + Backspace. That will stop and restart your X server. If the login screen doesn't show up, try to reboot. If you still have some trouble, restore your backup copy (/etc/X11/xorg.conf.old). If the login screen shows up, cool! AIGLX seems to works.
To start Beryl, you might just type beryl but it is more usefull to use the manager instead, so type
You'll see an ermald icon in your panel which helps you to manage beryl and the decorations.
To start beryl at each session, go in Gnome Menu > System > Preferences > Sessions > Startup Programs and add beryl-manager.
Specific instructions for Kubuntu (Dapper)
Changing KDE's x-server
Follow the same instructions until the modification of gdm.
To set the x-server that KDE will use with, open up /etc/kde3/kdm/kdmrc in an editor:
sudo vim /etc/kde3/kdm/kdmrc
and change the ServerCmd (somewhere around line #465) to read :
KDE start-up script
Create a start-up script named beryl.start in ~/.kde/Autostart :
and enter the following contents into it :
save the file and then make it executable :
chmod +x ~/.kde/Autostart/beryl.start
If you find it too slow then open up Compiz Settings Manager and remove the blur effect -- as of this writing (Sept. 2006) it really slows things down. Some commands to get you started (all of them are configurable through the Settings Manager):
Alt+Mouse wheel Make window translucent/opaque
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) Tturns on or off;
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
Super-key+Right-click Zoom in once
Super-key+Mouse wheel up/down Zoom in/out manually
Alt+Left-click Move window
Ctrl+Shift+Left-click Snap move window (will stick to borders)
Hold Ctrl+Super key and move mouse Your pointer is moving on water (Disabled by default)
Shift-F9 Rain is falling on your screen
Add some blur under transparent windows (will slow down your computer!)
Animations when creating or closing windows (works also for menu but then you have to select "Unknown"! "Menu" alone doesn't work)
Super Key+m Inverse color of the screen
Super Key+n Inverse color of the current window
Add somes textures to decoration (mostly visible when transparent)
Super Key+Left Click and grab Take a screenshot of the selected area (picture saved on the desktop)
Older windows are more transparent
Makes windows, menus,... like chewing-um
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)
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?)