Differences between revisions 6 and 64 (spanning 58 versions)
Revision 6 as of 2006-10-24 16:37:29
Size: 3276
Editor: ?MatheusMorais
Comment:
Revision 64 as of 2018-01-30 12:04:39
Size: 6726
Comment: Add Compiz-devel link
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
- A small word about Compiz #language en
~-[[DebianWiki/EditorGuide#translation|Translation(s)]]: English - [[it/Compiz|Italiano]] - [[ru/Compiz|Русский]] -~
----
Line 3: Line 5:
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."
 '''Warning: The information in this page may be outdated (as of 2017-10). If you review and update the page, please remove this warning. Thanks! '''
Line 6: Line 7:
"...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." This page is for users, the page for developers is on [[Compiz-devel]]
Line 8: Line 9:
At september Compiz integrated with AIGLX in X.org server 7.1 was accepted into unstable. It currently maintained by Debian X Strike Force. == A short introduction about Compiz ==
From Wikipedia:
Line 10: Line 12:
Here is a small document about how to set up your X.org with AIGLX enabled and Compiz integrated with Gnome. ''"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 6.0 "Squeeze" ==

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

{{{
# apt-get install compiz compizconfig-settings-manager compiz-fusion-plugins-main compiz-gnome compiz-gtk
}}}

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
}}}

In order to use compiz add the following options to the corresponding sections in the file {{{/etc/X11/xorg.conf}}}: (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 users 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 use the !CompizConfig Settings Manager to enable effects and configure keybinding (run ccsm from a terminal, or System -> Preferences -> !CompizConfig Settings Manager).
Line 13: Line 76:
- The Procedure == Start compiz instead of the default Gnome Window Manager ==
Change the gconf key with
{{{
gconftool-2 --type string --set /desktop/gnome/session/required_components/windowmanager compiz
}}}
You can go back to the default Gnome Metacity window manager with
{{{
gconftool-2 --type string --set /desktop/gnome/session/required_components/windowmanager gnome-wm
}}}
If this fails (as it did for me) You can simply add compiz --replace to your startup applications. Name the entry what you want, give it whatever description you want, but make the command
{{{
compiz --replace
}}}
== Limitations ==
The water effect uses GL_ARB_fragment_program, which currently does not work properly with the open source ATI drivers under AIGLX in X.org 7.1.
Line 15: Line 92:
First, you should verify if your video card is supported. Check the list of supported cards below. == Troubleshooting ==
Line 17: Line 94:
Intel i830 through i945 graphics cards
ATI Radeon cards up to X800 series
NVIDIA graphics card which is supported in the 9xxx-series proprietary driver
'''When I run compiz --replace, it says that XGL is not present.'''
This message is just informing you that XGL is not present. It is not a requirement to run Compiz.
Line 21: Line 97:
We will need to fetch some packages from unstable, so point Debian official Unstable repository in your sources.list. (deb http://ftp.debian.org main unstable) and update it. '''glxinfo claims that DRI is active, yet software rendering kicks in'''
If you see issues similiar to those in [[http://lists.debian.org/debian-user/2012/02/msg00894.html|this post]], especially when using the proprietary nvidia driver, try to disable the additional options in your xorg.conf, i. e. revert it to
Line 23: Line 100:
Use aptitude to get the follow packages: {{{
$ cat /etc/X11/xorg.conf
Section "Device"
 Identifier "Configured Video Device"
 Driver "nvidia"
EndSection
}}}
'''I've followed the instructions on this page, but when I run compiz, all the windows have lost their borders and title bars. There are no effects, and all the windows seem unusable.'''
Window borders, resizing windows and moving windows are all plugins, which are initially disabled by default.
To fix this, run the ccsm utility (from a terminal, or System -> Preferences -> !CompizConfig Settings Manager).
Go to the Effects Section and place a tick in the window decoration option.
Go to the Window Management section and place a tick in the Resize Window and Move Window options.
Line 25: Line 113:
xserver-xorg
xserver-xorg-core
libglitz1
libglitz-glx1
libdrm2
libgl1-mesa-dri
libgl1-mesa-glx
compiz
compiz-core
compiz-plugins
compiz-gtk
compiz-gnome
mesa-utils
'''If you still encounter problems with compiz, such as window title bars disappear, or cannot see any visual effects, refer to these web pages:'''
Line 39: Line 115:
Now edit your /etc/X11/xorg.conf adding the section Extensions as you can see below:  * [[http://bgoglin.livejournal.com/11253.html|Where are Compiz shiny effects?]]
 * [[http://wiki.compiz-fusion.org/Hardware/NVIDIA|Hardware/NVIDIA - Compiz Fusion Wiki]]
 * [[http://technowizah.com/2006/10/debian-how-to-aiglx-compiz.html|Technowizah-Debian howto-AIGLX compiz]]
Line 41: Line 119:
Section "Extensions"
            Option "Composite" "enable"
EndSection
If something fails check /var/log/Xorg.0.log and search for possible problems with DRI and GLX. You also should verify if AIGLX was successfully loaded.
Line 45: Line 121:
Also, you will need to add "XAANoOffscreenPixmaps" option in section "Device":

Option "XAANoOffscreenPixmaps" "true"

Restart your X.org server and login into Gnome. Open terminal window and type the following command:

compiz --replace

If everything is correct you will be able to use all compiz resources.


- Limitations

The water resource wich use GL_ARB_fragment_program, doesnt work propely using AIGLX in X.org 7.1


- Troubleshoting

If something fail you could check /var/log/Xorg.0.log and search for possible problems with DRI and GLX. Verify if AIGLX is successfully loaded.


- 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

Exposé effect: Ctrl + Alt + Up Arrow or Point the mouse in top right at screen
== 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
== External Links ==
 * [[http://technowizah.com/2006/10/debian-how-to-aiglx-compiz.html|Debian HOW-TO : AIGLX + Compiz]]
 * [[http://www.compiz.org|Compiz Official page]]
 * [[http://forum.compiz.org/|Compiz Community Forums]]
 * [[http://nixser.com/2007/06/04/debian-compiz-on-kde-installation-how-to/|Debian: Compiz on KDE Installation How-To]]
----
CategoryObsolete

Translation(s): English - Italiano - Русский


  • Warning: The information in this page may be outdated (as of 2017-10). If you review and update the page, please remove this warning. Thanks!

This page is for users, the page for developers is on Compiz-devel

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 6.0 "Squeeze"

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

# apt-get install compiz compizconfig-settings-manager compiz-fusion-plugins-main compiz-gnome compiz-gtk

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

In order to use compiz add the following options to the corresponding sections in the file /etc/X11/xorg.conf: (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 users 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 use the CompizConfig Settings Manager to enable effects and configure keybinding (run ccsm from a terminal, or System -> Preferences -> CompizConfig Settings Manager).

Start compiz instead of the default Gnome Window Manager

Change the gconf key with

gconftool-2 --type string --set /desktop/gnome/session/required_components/windowmanager compiz

You can go back to the default Gnome Metacity window manager with

gconftool-2 --type string --set /desktop/gnome/session/required_components/windowmanager gnome-wm

If this fails (as it did for me) You can simply add compiz --replace to your startup applications. Name the entry what you want, give it whatever description you want, but make the command

compiz --replace

Limitations

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

Troubleshooting

When I run compiz --replace, it says that XGL is not present. This message is just informing you that XGL is not present. It is not a requirement to run Compiz.

glxinfo claims that DRI is active, yet software rendering kicks in If you see issues similiar to those in this post, especially when using the proprietary nvidia driver, try to disable the additional options in your xorg.conf, i. e. revert it to

$ cat /etc/X11/xorg.conf
Section "Device"
        Identifier      "Configured Video Device"
        Driver          "nvidia"
EndSection

I've followed the instructions on this page, but when I run compiz, all the windows have lost their borders and title bars. There are no effects, and all the windows seem unusable. Window borders, resizing windows and moving windows are all plugins, which are initially disabled by default. To fix this, run the ccsm utility (from a terminal, or System -> Preferences -> CompizConfig Settings Manager). Go to the Effects Section and place a tick in the window decoration option. Go to the Window Management section and place a tick in the Resize Window and Move Window options.

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

If something fails 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


CategoryObsolete