Difference between revisions of "Compiz Fusion"

From ArchWiki
Jump to: navigation, search
(Installation)
Line 68: Line 68:
  
 
  $ su
 
  $ su
  # pacman -Sy compiz-fusion compiz-fusion-extra
+
  # pacman -Sy compiz-fusion-git
  
 
= Starting Compiz Fusion =
 
= Starting Compiz Fusion =

Revision as of 02:22, 14 August 2007


Introduction

Compiz Fusion is a window and composition manager. It is the merger of Compiz and Beryl. Compiz Fusion is currently unsupported or in development (git packages). I have created this page to get a howto started for archlinux. I am not sure if there is already one or not. If there is, please delete this one. If not, please feel free to edit this one to help others out getting Compiz Fusion installed on the various desktop environment. I am looking to get it installed on gnome. The Compiz Fusion Homepage is a good source of information. NOTE that there is currently no stable version yet.

Preparing /etc/xorg.conf (using nvidia proprietary driver)

Ensure the following options are in your xorg:

Comment out dri and GLcore (if present)under Section "Module"

Section  "Module"
#	Load	"dri"
#	Load	"GLcore"

Make sure the glx and extmod modules are loaded:

Section "Module"
Load	 "glx"
Load    "extmod"

Add these options to Section "Device"

Section  "Device"
Option         "RenderAccel" "true"
Option         "AllowGLXWithComposite" "true"
EndSection

And to Section "Screen"

Section  "Screen"
Option         "AddARGBGLXVisuals" "true"
Option         "DisableGLXRootClipping" "true"

Add this section to the end of xorg:

Section        "Extensions"
 Option        "Composite" "Enable"
EndSection

Pre-Installing Compiz Fusion

Uninstall Compiz or Beryl

Before you can install Compiz Fusion, you need to uninstall Compiz or Beryl.

For Beryl:

$ su
# pacman -Rc beryl-core

For Compiz:

$ su
# pacman -Rc compiz-core

Using "Texture from Pixmap" rendering

The GLX_EXT_texture_from_pixmap extension is needed by Compiz Fusion. This extension is currently provided by Xorg if you either use the nvidia drivers or the AIGLX extension. It is also provided by XGL. Refer to Configuring Xorg for Composite for more details.

Installing Compiz Fusion

Stable version

Coming Soon

Development (git) version

If you want to try the latest compiz fusion development version, edit /etc/pacman.conf and add one of the following to the end of the file:

i686

[compiz-fusion]
Server = http://arch.nesl247.org/compiz-fusion/i686

x86_64

[compiz-fusion]
Server = http://arch.nesl247.org/compiz-fusion/x86_64

Installation

Install compiz fusion by using the following commands:

$ su
# pacman -Sy compiz-fusion-git

Starting Compiz Fusion

Just try it

If you simply want to try Compiz Fusion, you can try (testing/working with gnome):

$ fusion-icon

This will start the "Compiz Fusion Icon" and launch Compiz Fusion. Right click on the icon in the panel and go to 'select window manager'. Choose "Compiz" if not already, and you should be set.

GNOME Desktop

The simplest way is to add "Compiz Fusion" (Name:) and "/usr/bin/fusion-icon" (Command:) to the applications that start with your session. You can do this by going to:

[System] -> [Preferences] -> [Sessions] -> [Startup Programs]

Adding "Compiz Fusion" to the list might be a good idea too so you can switch back to Metacity if need be.

KDE Desktop

The simplest way is to startup fusion-icon on KDE startup. You can do that by creating a file in ~/.kde/env with the following content:

KDEWM=/usr/bin/fusion-icon # tell kde about our different windowmanager

If something is not right, for example you don’t see borders for your window. Simply switch back to kwin with this command (be sure to comment out the above code if you don't want to start compiz-fusion again the next session):

  kwin --replace

Extras

Source: compiz fusion dev/unofficial repo

I had to force cairo to install on my i686 install:

$ su
# pacman -Rd cairo-git
# pacman -Sy cairo