This guide has specifically been written for the latest versions of Compiz and Compiz Fusion, which can be found in e.g. Ubuntu 8.04 Hardy Heron.
If you are looking for a guide to set up older versions of both projects (the current stable versions are 0.6.2/0.6.0) go
here.
Although this guide mentions the default settings in Hardy from time to time, it is mostly distribution-independent and should be suitable for every Linux install.
Configure Compiz and its plugins
Ubuntu has some unusual default configurations that makes you miss (among other things) the "infamous" cube.
If you like them, you can, of course, leave them as they are but here are some tips to advance Compiz' configurations. If you don't like them, you will at least get familiar with the settings manager.

CompizConfig Settings Manager
This guide makes use of the CompizConfig Settings Manager (ccsm) provided by the Compiz Fusion project.
So if you do not have it already installed, you need to install it first. On Ubuntu the required package is called compizconfig-settings-manager. In order to install it on Hardy (using Firefox), all you have to do is click here: apt:compizconfig-settings-manager
Now let's start the settings manager via
System → Preferences → Advanced Desktop Effects Settings
Or simply type in the terminal (or [Alt]+[F2]):
ccsm
Since there are so many plugins, it's sometimes tricky to find the plugin you want. That's why there's the Filter in the top left corner of the application.
So don't waste your time looking for the plugins all the time – just type the initial letters in there and it will get much clearer.
Getting the cube
1. Enable the following plugins (by checking the box next to them):
 |
Desktop Cube You may have to disable another plugin (just follow the popup) |
 |
Rotate Cube This plugin is necessary to spin the cube |
2. |
Increase the number of the virtual desktops to 4 at General Options → Desktop Size → Horizontal Virtual Size (the other two options have to be left at 1 – it should look like this then) |
Now we can switch desktops via [Ctrl]+[Alt]+[Left]/[Right] and spin the cube via [Ctrl]+[Alt]+[Left Mousebutton] – hold the mousebutton clicked, then move the mouse around.
Optional cube plugins
 |
Viewport Switcher In case you want to change desktops with the mousewheel |
 |
Cube Caps Lets you use images on top and bottom of the cube |
 |
Cube Reflection Cube on a glossy plane |
 |
3D Windows Raises windows above while rotating |
Configuring the Cube
-
Change the cube's color
Go to Cube Caps → Appearance → Cube Top/Bottom Color and choose a color for each option that fits best to your wallpaper.
- Many transparency-related tweaks and plugins are following below.

Getting windows to wobble
- First of all you obviously have to enable Wobbly Windows
- Then, if you want your panel menu wobble as well, choose Shiver in the dropdown menu at Map Effect in Wobbly Windows
- And you might want to disable Snap Inverted there as well, to prevent windows from adhering to screen edges.

Bind useful plugins to screen corners
Display all active windows at once when moving the mouse pointer to the top right corner of the screen
 |
Make sure Scale is enabled and go to its Bindings tab. There you look for the screen icons, click on the button next to Initiate Window Picker For All Windows and choose the top right corner. |
Display all virtual desktops when moving the mouse pointer to the top left corner of the screen
 |
Make sure Expo is enabled and choose the top left corner in the Bindings tab under Expo Edge. |
Tips & Tricks for Scale and Expo
1. |
If you enable the Scale Addons and Scale Window Title Filter plugins, it enhances your Scale mode: |

|
- Right-clicking a window lets you have a look at the application
- You can close a window via [Middle Mouseclick]
- And if you are looking for a certain application, just type the first letters of the window title
|
2. While in Expo mode
- You can change the desktop by right-clicking on a different one
- And you can even drag the windows from one desktop to another

Nicer window switchers
While the default [Alt]+[Tab] window switcher that comes with Compiz is certainly nicer than the one that came with your desktop environment, Compiz Fusion has much nicer ones, which can be initiated via [Super]+[Tab] (with "Super" being the win-key).

|
-
Cover Switch – if you enable the Shift Switcher this will be the default mode
-
Flip 3D
choose Flip in Shift Switcher → Switcher Mode
- Or enable the Ring Switcher plugin
(You have to disable the Shift Switcher first, because it's bound to the same keys)
|
You can bind those to different key combinations, if you like and have three different window switchers at a time (the "usual" one, one of the Shift Switcher ones and the Ring Switcher).
Additionally you can use them for different needs, e.g. the Ring Switcher for the current workspace and a Shift Switcher for all active windows – just set them the way you like in the plugin's Key bindings.

Window Animations
There's nothing particularly wrong with the settings provided by Ubuntu but some of them can get quite annoying and it's always fun to fiddle with that part of Compiz.
All of the following options are located at the Animations plugin.
Reasonable window effects
-
Close Animation
Double-click on the first entry ("Glide 2" by default) and pick Zoom in the drop-down menu.
Additionally, double the Duration to 400 (that's obviously not the most reasonable thing to do but it's such a nice effect)
-
Minimize Animation
Double-click on the first entry ("Zoom" by default) and pick Magic Lamp
-
Open Animation
Double-click on the first entry ("Glide 1" by default) and pick Glide 2
-
Focus Animation (optional)
I don't recommend changing the effect, just increase it's duration to 300 or 400 to actually see the nice effect.
Popular/exciting window effects
Just like in the section before, all of the effects mentioned here can be found in the dropdown menu after you double-clicked the first entry of the respective animation tab.
Also keep in mind to increase the respective Duration to e.g. 400, so you can see the animation in all its glory.
-
Close Animation
The most sought after effect is definitely the one where the windows go up in flames when you close them – this effect is called Burn.
Other animations that make people go "awesome" include:
Beam Up |
If you consider yourself a "Trekkie", this one's definitely for you. |
| Explode |
Bursts your windows to pieces. |
Leaf Spread |
Similar to Explode but the blocks scatter from top to bottom. |
-
Minimize Animation
Magic Lamp is pretty much the best effect for this one already.
If you are looking for something incredibly cool (and silly) though, choose Airplane – this folds your window into a paper plane which will then travel to your window list.
-
Open Animation
Vacuum may be the perfect choice here – this effect "swooshes" the window out of your cursor, it's particularly fitting when opening applications from panel icons.
Other interesting choices would be the cartoonish Dream and the (in this case) "Matrix" like Razr.
-
Focus Animation
If you're a wobbly fanatic, change the Focus Effect to Wave.
But the most popular (and – if you ask me – annoying) effect here would be Dodge, which will make your windows shuffle.
Transparency
One of the main reasons for me, why I wanted to try Compiz, was the fact that you could have real transparency (and not just the fake one, where you can't see what's actually going on below your window). It's still one of the most impressive effects to me, that you are able to move a transparent window over your desktop and it's like, well, an actual window, where you can look right through.
General transparency tweaks
-
Real transparency in the GNOME-Terminal
That's the easiest way to enjoy real transparency, since the GNOME-Terminal already supports it. All we have to do, is open the terminal and go to Edit → Current Profile → Effects and select Transparent background. You can change the level of opacity with the scrollbar, if you like.
-
Steplessly adjust window transparency
That's a basic feature of Compiz. Just press [Alt] and increase/decrease the level of opacity with the mousewheel while hovering over any window (even the panel).
-
Transparent panels and menus
Unlike the Xfce panel, the GNOME panel doesn't support real transparency. Therefore we have to adjust this manually:
- Go to General Options → Opacity Settings and choose Add. Then in the popup window type dock and for Opacity Window values type 85 (that means the transparency is set to 15% – you can set it higher or lower, of course – but I wouldn't recommend something lower than 75, because icons and the like get transparent too).
- Now that you have a transparent panel, the opaque menus doesn't fit too well. Click on Add again, this time type dropdownmenu and set the transparency the same way as your panel (if you are using the Main Menu, you have to type popupmenu instead of dropdownmenu – this will make your context menus transparent too!)
Window transparency plugins
 |
Go to the Move Window plugin and set Opacity to 85. Now the windows get 15% transparent every time you drag them. |
 |
The Trailfocus plugin makes windows more transparent the later you last focused them. |
 |
If you enable ADD Helper and set Misc. Options → Opacity to 85, all of your windows get 15% transparent except for the focused one (you may want to set the other options to 0). |

Cube related transparency options
Set the cube (semi-)transparent
Set Desktop Cube → Transparent Cube → Opacity During Rotation to 75.0000 (or whatever suits you best)
- Additionally you might want to disable Lighting in
General Options → Display Settings
Transparency related cube plugins
Those plugins make use of the ability to make the cube transparent, to see what's going on inside.
 |
Cube Gears Show the cube's engine |
 |
Atlantis Turns your cube into a fishtank |
There are obviously many other plugins and lots of additional options to explore and we haven't even mentioned the really useful effects like "rain on your desktop" and "setting your screen on fire" (OK, we already had the incredibly important gears) but I guess you should be experienced enough by now to find them yourself – and customizing everything on your own is much more fun.
Troubleshooting
No window boarders (titlebars)
Insert the window decorator of your choice (gtk-window-decorator, kde-window-decorator or emerald) in
CompizConfig Settings Manager → Window Decoration → Command
Additionally for Nvidia users
Make sure you have a nvidia-glx driver installed and use the following command to configure your xorg.conf:
sudo nvidia-xconfig --add-argb-glx-visuals -d 24
(you have to restart X to make it work)
16 Desktops instead of 4 (although configured correctly)
This can happen on KDE, try starting Compiz like this from now on:
compiz --replace --ignore-desktop-hints
Clicking on a window doesn't bring it to the front
Again, this is a known KDE problem
Go to CompizConfig Settings Manager → Preferences and disable Enable integration into the desktop environment
Can't drag windows around
Make sure the Move Window plugin is enabled.
No Cubecaps or Skydome
Make sure the JPEG and/or Png plugin(s) are enabled, depending on the image(s) you want to use.