Differences between revisions 37 and 38
Revision 37 as of 2009-03-16 03:33:06
Size: 5142
Editor: anonymous
Comment: converted to 1.6 markup
Revision 38 as of 2009-04-13 18:23:39
Size: 4586
Editor: SeanFinney
Comment:
Deletions are marked like this. Additions are marked like this.
Line 6: Line 6:
''"...Compiz works with modifications on the standard X.Org server, with AIGLX enabled. With AIGLX, Intel cards can also be used with Compiz. Even mobile cards work there."'' == How to install compiz on debian (for lenny or later) ==
Line 8: Line 8:
In September 2006, X.org 7.1 (AIGLX merged) and Compiz were accepted
into Debian unstable and are present in etch (and should be present in
future stable releases). It is currently maintained by the Debian
[[XStrikeForce]].
To install a standard gnome based compiz setup with some standard fusion plugins:
Line 13: Line 10:
== Debian compiz + AIGLX HOWTO ==
First, you should verify if your video card is supported. Check the list of supported cards below (on other cards, Compiz would need Xgl):
{{{
apt-get install compiz compizconfig-settings-manager compiz-fusion-plugins-main
}}}
Line 16: Line 14:
 * Intel i830 to i945 graphic cards
 * ATI Radeon cards up to X800 series
 * NVIDIA graphic cards are supported in the 9xxx-series proprietary driver
To install a standard kde-based compiz setup with some standard fusion plugins:
Line 20: Line 16:
You may need to obtain updated packages from testing or unstable; if
you are not currently running testing or unstable, you can either
upgrade to testing or unstable, or you can add a backports
sources.list entry. See DebianTesting, DebianUnstable and
[[Backports]].
{{{
apt-get install compiz-kde compizconfig-settings-manager compiz-fusion-plugins-main
}}}
Line 26: Line 20:
To install a minimal gtk-based compiz setup:
Line 27: Line 22:
Install the following packages: {{{
apt-get install compiz-gtk compizconfig-settings-manager
}}}
Line 29: Line 26:
 . xorg compiz
and

 . libgl1-mesa-dri

A short introduction about Compiz

From Wikipedia:

"Compiz is one of the first compositing window managers for the X Window System that is able to take advantage of OpenGL-acceleration. The integration allows it to perform compositing effects in window management, such as a minimization effect and a cube workspace. Compiz conforms to the ICCCM standard and as such can substitute for the default Metacity in GNOME or KWin in KDE. Compiz brings some of the features found in competitors, such as Exposé in Apple's Mac OS X and a new Alt-Tab application-switcher, similar to the one found in Microsoft's Windows Vista. Compiz is built on the Composite extension to X and the GLX_EXT_texture_from_pixmap extension to OpenGL. Compiz was released by Novell in January 2006 in the wake of a new Xgl version."

How to install compiz on debian (for lenny or later)

To install a standard gnome based compiz setup with some standard fusion plugins:

apt-get install compiz compizconfig-settings-manager compiz-fusion-plugins-main

To install a standard kde-based compiz setup with some standard fusion plugins:

apt-get install compiz-kde compizconfig-settings-manager compiz-fusion-plugins-main

To install a minimal gtk-based compiz setup:

apt-get install compiz-gtk compizconfig-settings-manager

Add the following options to the corresponding sections in the file /etc/X11/xorg.conf: (although note that auto-detection by xserver-xorg video drivers is always improving: with the latest version of the intel video driver, possibly no manual changes are needed to xorg.conf)

# Dedicated "Extensions" section (may not be present already)
Section "Extensions"
        Option "Composite" "enable"
EndSection
# Section "Device" of you graphic card
Section "Device"
        # Already contains
        # ...
        # Identifier "..."
        # Driver     "..."
        # ...
        # Add this option :
        Option "XAANoOffscreenPixmaps" "true"
EndSection

Nvidia user may also need:

Section "Device"
        Option "AllowGLXWithComposite" "true"
EndSection
Section "Screen"
        Option "AddARGBGLXVisuals" "True"
EndSection
Section "Module"
        #Load "dri"
        #Load "GLcore"
EndSection

Restart your X.org server and login into GNOME. Open a terminal and issue the following command:

compiz --replace

If everything is correct you will be able to use all compiz resources.
You may want to start your compiz automatically with GNOME:
Add "compiz --replace" to "Desktop -> Preferences -> Sessions -> Startup Programs", or

echo "export WINDOW_MANAGER=/usr/bin/compiz" >> ~/.gnomerc

Limitations

The water effect uses GL_ARB_fragment_program, which not currently work properly with the open source ATI drivers under AIGLX in X.org 7.1.

Troubleshooting

If you encounter problems with compiz, such as window title bars disappear, or cannot see any visual effects, refer to these web pages:

If something fail you could check /var/log/Xorg.0.log and search for possible problems with DRI and GLX. You also should verify if AIGLX was successfully loaded.

Default hot keys

  • Switch desktops on cube: Ctrl + Alt + Left/Right Arrow
  • Switch desktops on cube - with active window following: Ctrl + Shift + Alt + Left/Right Arrow
  • Rotate cube manually: Ctrl + Alt + left-click
  • Zoom-in once: Super-key + right-click
  • Zoom-in manually: Super-key + wheel mouse up
  • Zoom-out manually: Super-key + wheel mouse down
  • Move window: Alt + left-click
  • Slow-motion: Shift + F10
  • Transparency: Put mouse cursor over the window then press Alt + wheel mouse down
  • Expose effect: Ctrl + Alt + Up Arrow or Point the mouse in top right at screen
  • Take screenshot: Super-key + left-click drag