Compiz

From MEPIS Documentation Wiki

Jump to: navigation, search

!!! Warning! The info contained in this article pertains to older versions of MEPIS !!!

Contents

Introduction

Compiz is a compositing window manager for MEPIS that uses 3D graphics hardware to create fast compositing desktop effects such as a minimization effect and a cube workspace.

NOTE: Compiz Fusion requires a capable video card and driver. For more information please visit the Compiz website.

Installation

MEPIS 8.0

Compiz packages are in the repos, along with additional plugins developed by Compiz Fusion. The setup is pretty straightforward:

  1. Open Synaptic and search on \"compiz".
  2. Check and install all packages found.
  3. Reboot the computer.
  4. Click on the new Compiz Fusion icon in the panel to start it.
  5. Right-click the icon to reload the window manager or configure Compiz.

That should do it! If you want Compiz to start on boot, create a link to /usr/bin/compiz in /home/UserName/.kde/Autostart

Alternative method

This method was worked out by Joany, Stevo,The Garage and others in posts on MEPIS Community forum. To install a more recent compiz-fusion on MEPIS 8:

1. Add Shame's Repository in /etc/apt/sources.list

deb http://download.tuxfamily.org/shames/debian-lenny/desktopfx/unstable/ ./

2. Get the keys for Shame's Repository by executing this (as root):

wget http://download.tuxfamily.org/shames/A42A6CF5.gpg -O- apt-key add -

We are sorry to note that Shame's repository will not receive updates, since he recently passed on.

Edit: reports of his demise may be somewhat exaggerated: http://forum.compiz-fusion.org/showpost.php?p=70117&postcount=371 however Shame has stated he will no longer be updating his repo: http://forum.compiz-fusion.org/showpost.php?p=68448&postcount=362 and his site confusingly states "R.I.P Shame ( a.k.a. Shane Lee ) 9/10/1973 to 26/12/2008" but was posted in November?? Any clarification would be useful.

3. Use Aptitude to install compiz-fusion-kde and fusion-icon by executing this (as root) (Aptitude is not installed with Mepis, the first line will install it if necessary):

apt-get install aptitude
aptitude update
aptitude install compiz-fusion-kde fusion-icon


4. If you have a NVidia GPU and are using the NVidia driver, there's a fix that solves the Disappearing Window Decorations bug. Execute this as root:

nvidia-xconfig -add-argb-glx-visuals -d 24 -composite -allow-glx-with-composite

The above code will modify /etc/X11/xorg.conf (so save a backup copy in case something goes wrong).

You should have a Compiz Fusion Icon in KMenu > System. Click on that, and the icon will be located in the Kicker Panel. Right click on the icon and Select Window Manager --> Compiz to launch the 3D desktop.

To configure Compiz, right click on the Compiz Fusion Icon and select Settings Manager. Alternatively, you can use the Simple CCSM application to configure Compiz. That icon didn't appear in my KMenu, but it can be launched with the terminal command simple-ccsm.

The Emerald Theme Manager can be accessed from the Compiz Fusion Icon also.

The default Settings Manager can be overwhelming at first, but installing simple-ccsm along with the above two packages will add a simpler configuration manager.

aptitude install compiz-fusion-kde fusion-icon simple-ccsm

When installing compiz-fusion-kde, answer "yes" to the first solution that aptitude suggests for dependency fixes. If aptitude warns you that it is going to uninstall a very large number of packages, stop right there! Somewhere, perhaps because of a typo, something has gone wrong...perhaps it's time to double-check your work.

MEPIS 7.0

1. Download all compiz packages from the Mepis repo via Synaptic. (Do a search on compiz).

2. Download python-ctypes via Synaptic from default 7.0 debian repos.

3. Launch the Compiz-Fusion icon from kmenu> System.

That should do it. You can then right click on the compiz icon in your task bar and configure compiz.

Alternative method

Add Shame's Repository in /etc/apt/sources.list

deb http://download.tuxfamily.org/shames/debian-lenny/desktopfx/stable/ ./

Then follow the steps as outlined under MEPIS 8.

Troubleshooting

1. When using the package from Mepis 8, some users have reported that they get an error message, when executing both simply compiz and with the --replace parameter, indicating that there is window manager already running. The output is similar as the following

compiz --replace &
Checking for Xgl: not present.
Detected PCI ID for VGA: 00:02.0 0300: 8086:2562 (rev 03) (prog-if 00 [VGA controller])
Checking for texture_from_pixmap: not present.
Trying again with indirect rendering:
Checking for texture_from_pixmap: present.
Checking for non power of two support: present.
Checking for Composite extension: present.
Comparing resolution (1024x76 to maximum 3D texture size (204: Passed.
Checking for nVidia: not present.
Checking for FBConfig: present.
Checking for Xgl: not present.
Starting kde-window-decorator
/usr/bin/compiz.real (core) - Error: Another window manager is already running on screen: 0
/usr/bin/compiz.real (core) - Fatal: No manageable screens found on display :0.0 

To solve that problem we have just to go to "Settings->Desktop->Behavior" and selecting "Show icons on desktop".

[Note: The above cmd switched to the 'compiz window manager'. To switch back to KDE's, use the cmd:]

 kwin --replace &

Tips and tricks

  • <Ctrl><Alt> + left mouse click will activate the cube.

Links

Personal tools
In other languages