Differences between revisions 50 and 65 (spanning 15 versions)
Revision 50 as of 2011-02-23 03:20:07
Size: 5913
Comment:
Revision 65 as of 2020-07-13 10:51:13
Size: 4005
Comment: Revive page with an almost complete rewrite to reflect Compiz's current state in Debian. Much more work remains but this gives the page a basic and up-to-date body of essential info for users.
Deletions are marked like this. Additions are marked like this.
Line 2: Line 2:
||<tablestyle="width: 100%;" style="border: 0px hidden">~-[[DebianWiki/EditorGuide#translation|Translation(s)]]: English - [[it/Compiz|Italiano]] - [[ru/Compiz|Русский]] -~||<style="text-align: right;border: 0px hidden"> (!) [[/Discussion|Discussion]]|| ~-[[DebianWiki/EditorGuide#translation|Translation(s)]]: English - [[it/Compiz|Italiano]] - [[ru/Compiz|Русский]] -~
Line 4: Line 4:
== A short introduction about Compiz ==
From Wikipedia:
Compiz is one of the oldest compositing window managers for Xorg,
and though it has become less popular over time,
it still has remarkable performance and a very large featureset.
Effects are implemented as loadable plugins,
and Compiz can be used as a drop-in replacement for the default window managers and compositors of most other desktops.
Line 7: Line 10:
''"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."'' Two versions of Compiz are in existence, Compiz 0.9.0 and Compiz 0.8.0.
The former is a rewrite of Compiz in C++ and the latter is the continued-development of the C version of Compiz by the Compiz Reloaded project.
Both are adequately maintained,
but while Ubuntu carries and develops Compiz 0.9,
the package in Debian is the Compiz 0.8 "Reloaded" version.
The difference between the two is primarily how many plugins are supported,
as the 0.9 rewrite had to exclude many of them.
Compiz 0.8 is also popularly considered to be faster and more stable.
<<TableOfContents(2)>>
= Installation =
== Compiz ==
A regular install of Compiz with the Compizconfig Settings Manager and the default plugin collection can be added simply by installing the DebianPkg:compiz package.
Line 9: Line 23:
== How to install compiz on debian (for lenny or later) == More plugins can be found in the DebianPkg:compiz-plugins-extra package,
and even more plugins (albeit unsupported ones) can be found in the DebianPkg:compiz-plugins-experimental package.
Line 11: Line 26:
To install a standard gnome based compiz setup with some standard fusion plugins: The desktop-specific pieces, if you're looking to integrate it into another environment,
can be found in the DebianPkg:compiz-gnome or DebianPkg:compiz-mate packages depending on which you're using.
Line 13: Line 29:
{{{
aptitude install compiz compizconfig-settings-manager compiz-fusion-plugins-main compiz-gnome compiz-gtk
}}}
== Extras ==
DebianPkg:emerald is a window decorator for Compiz with a custom theme format that is highly customizable.
It, in addition to the DebianPkg:emerald-themes package, may be interesting to some.
Line 17: Line 33:
To install a standard kde-based compiz setup with some standard fusion plugins: DebianPkg:fusion-icon is another useful package that offers a convenient tray icon that allows you to easily enable, disable and restart Compiz,
and change the currently used window manager and/or window decorator.
Line 19: Line 36:
{{{
aptitude install compiz-kde compizconfig-settings-manager compiz-fusion-plugins-main
}}}
On Debian 11 and newer, the DebianPkg:compiz-boxmenu package provides a number of different menus to Compiz.
It is composed of a daemon that caches the different menus from various sources,
following desktop standards and a number of clients to ask the daemon for a specific type of menu,
clients that can be bound to different key-chords and mouse events using the Compizconfig Settings Manager.
----
= Usage =
== Configuration ==
Before starting Compiz, it's important to configure it, otherwise it'll be impossible to interact with it.
Use the Compizconfig Settings Manager to, at least,
activate the Window Decoration, Move Window, Resize Window, Place Window,
and Application Switcher plugins.
Line 23: Line 48:
To install a minimal gtk-based compiz setup:

{{{
aptitude install compiz-gtk compizconfig-settings-manager
}}}
There are two ways to use compiz:
Way 1.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:
== Starting Compiz ==
''fusion-icon'' may be a useful tool for starting and stopping Compiz,
however on a default setup, you can start Compiz by running:
Line 66: Line 54:
If everything is correct you will be able to use all compiz resources.

Way 2.install fusion-icon.
Then add {{{fusion-icon}}} in /etc/X11/xinit/xinitrc or ~/.xinitrc,reboot your X server,enjoy.
== Start compiz instead of the default Gnome Window Manager ==
Change the gconf key with
And view more options by running:
Line 73: Line 56:
gconftool-2 --type string --set /desktop/gnome/session/required_components/windowmanager compiz compiz --help
Line 75: Line 58:
You can revert back to the default Gnome Metacity window manager with
{{{
gconftool-2 --type string --set /desktop/gnome/session/required_components/windowmanager gnome-wm
}}}

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

'''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.

'''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:'''

 * [[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]]

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 ==
----
= Default hot keys =
Line 114: Line 71:
== External Links ==
 * [[http://technowizah.com/2006/10/debian-how-to-aiglx-compiz.html|Debian HOW-TO : AIGLX + Compiz]]
 * [[http://www.go-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]]
----
= Development =
Information regarding the packaging status of Compiz in Debian should be found on the [[Compiz-devel]] page,
however the page is currently very out-of-date relative to the package's current state in Debian.
----
CategorySoftware | CategoryDesktopEnvironment

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


Compiz is one of the oldest compositing window managers for Xorg, and though it has become less popular over time, it still has remarkable performance and a very large featureset. Effects are implemented as loadable plugins, and Compiz can be used as a drop-in replacement for the default window managers and compositors of most other desktops.

Two versions of Compiz are in existence, Compiz 0.9.0 and Compiz 0.8.0. The former is a rewrite of Compiz in C++ and the latter is the continued-development of the C version of Compiz by the Compiz Reloaded project. Both are adequately maintained, but while Ubuntu carries and develops Compiz 0.9, the package in Debian is the Compiz 0.8 "Reloaded" version. The difference between the two is primarily how many plugins are supported, as the 0.9 rewrite had to exclude many of them. Compiz 0.8 is also popularly considered to be faster and more stable.

Installation

Compiz

A regular install of Compiz with the Compizconfig Settings Manager and the default plugin collection can be added simply by installing the compiz package.

More plugins can be found in the compiz-plugins-extra package, and even more plugins (albeit unsupported ones) can be found in the compiz-plugins-experimental package.

The desktop-specific pieces, if you're looking to integrate it into another environment, can be found in the compiz-gnome or compiz-mate packages depending on which you're using.

Extras

emerald is a window decorator for Compiz with a custom theme format that is highly customizable. It, in addition to the emerald-themes package, may be interesting to some.

fusion-icon is another useful package that offers a convenient tray icon that allows you to easily enable, disable and restart Compiz, and change the currently used window manager and/or window decorator.

On Debian 11 and newer, the compiz-boxmenu package provides a number of different menus to Compiz. It is composed of a daemon that caches the different menus from various sources, following desktop standards and a number of clients to ask the daemon for a specific type of menu, clients that can be bound to different key-chords and mouse events using the Compizconfig Settings Manager.


Usage

Configuration

Before starting Compiz, it's important to configure it, otherwise it'll be impossible to interact with it. Use the Compizconfig Settings Manager to, at least, activate the Window Decoration, Move Window, Resize Window, Place Window, and Application Switcher plugins.

Starting Compiz

fusion-icon may be a useful tool for starting and stopping Compiz, however on a default setup, you can start Compiz by running:

compiz --replace

And view more options by running:

compiz --help


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


Development

Information regarding the packaging status of Compiz in Debian should be found on the Compiz-devel page, however the page is currently very out-of-date relative to the package's current state in Debian.


CategorySoftware | CategoryDesktopEnvironment