Skip navigation.

Posts tagged with "compiz"

How to install Compiz Fusion in Ubuntu ☜

, , ,

What is Compiz

Compiz Fusion is the result of the re-unification of the Beryl-project and the community around the Compiz Window Manager. It seeks to provide an easy and fun-to-use windowing environment, allowing use of the graphics hardware to provide impressive effects, amazing speed and usefulness.




First you have to enable your graphic card to run 3D effects, go to System > Administration > Hardware Drivers. Type in your password (if it ask you for it) The Hardware Drivers tool should show your graphic card, check the box. A little window should pop up you just hit enable. Now it should start downloading and installing the driver for your video card.
If you get an error message saying "Desktop effects could not be enabled" look here

Next close the Change Applied box. After you closed the windows it will ask you to restart the computer do it.

restart

You should see something like this in the top bar after rebooting

and then another window like this one will let you know that proprietary drivers are being use to make this computer work properly

if you got the drivers install now you're ready to use compiz.

Compiz Fusion is install by default in Ubuntu all you need is compiz config-settings-manager.
Type this in a terminal:
 sudo apt-get install compiz config-settings-manager  

or open Synaptic Package Manager. Go to System > Administration > Synaptic Package Manager, on the search box type

compiz config-settings-manager

If you get this error Couldn't find package compizconfig-settings manager
Open up System->Administration->Software Sources and make sure "Community-maintained Open Source software (universe)" is selected

Click on the boxes and select Mark for installation the packages will have dependencies so accept the dependencies by clicking Mark button. Now click the Apply button. The packages should be downloaded and installed. After the packages are installed close the Synaptic Package Manager and go to System>preferences>Appearance>Visual Effects and hit (Normal or Extra) to activate the "Effects" also you need to make sure you have selected 4 workspaces at the bottom right of your desktop if you haven't click on it select preferences and select 4 columns 1 row.

How to get the "Cube"
next go to System > Preferences > Advanced Desktop Effects Settings or it may also say "Compiz Configuration manager"
under Desktop tab you should see "rotate cube" and "desktop cube", activate both and follow the prompts to disable the desktop wall, the default key to rotate the Cube is Ctrl+Alt+<Arrow Left> or Ctrl+Alt+<Arrow Right>


COMPIZ SETTINGS MANAGER

Use Compiz Settings Manager to customize Compiz. Go to System > Preferences > Advanced Desktop Effects Settings/Compiz Settings Manager

Click on the different plugins to reveal more settings I suggest starting with the (Desktop cube and Animation plugins).
guide on "how to use some of the plugins in Compiz Settings Manager"HERE

To have your desktop rotate as a Cylinder/Sphere just do the following:

Upgrade to the latest version of Compiz, to do so add the repository to your sources.list
In terminal type:
gksu gedit /etc/apt/sources.list

Add the this line to the end save and close the file:
deb http://ppa.launchpad.net/compiz/ubuntu hardy main


next type this commands to update:
sudo apt-get update 

 sudo apt-get upgrade

Restart your X (By pressing Ctrl + Alt + backspace)
log back in and go to System >Preferences > Compiz Manager, scroll to "Effects" section until you see "Cube reflection and deformation"



Compiz Extra Plugins
How to install extra plugins for compiz fusion:plugin guide or even better just click this link it should automatically install.

Also install "Fusion Icon" which is a tray icon that let you manage compiz fusion and windows decorators like "Metacity or "Emerald".
just go to "Synaptic Package Manager" and search for and install "Fusion Icon"

after you installed it you can find it under Applications > System tools > Fusion Icon

once you launch it you'll see the icon on the top right of your screen

COMPIZ SHORTCUTS

ALT+SCROLL WHEEL ON THE MOUSE= transparent screen
CTRL+ALT+DRAG LEFT MOUSE = rotate cube
CTRL+ALT+LEFT ARROW = rotate cube
CTRL+ALT+DOWN ARROW = flat desktop
SUPER+SHIFT+DRAG LEFT MOUSE = draw fire
SUPER+SHIFT+C = clear fire
CTRL+ALT+DOWN = unfold cube
ALT+TAB = window switch
SUPER+TAB = flip switcher or ring switcher
SHIFT+F9 = water effect
ALT+F7 = initiate move windows
SHIFT+F10 = slow animations

CTRL+ALT+D = show desktop
SUPER+S = select single window
SUPER+T = tab group
SUPER+Left = change left tab
SUPER+Right = change right tab
SUPER+G = group windows
SUPER+R = remove group window
SUPER+C = close group
SUPER+X = ignore group
SUPER button (Windows key)

How to use Compiz Settings Manager ☺

,





(This blog is under construction)
I feel there isn't enough information out there on how to use the (CompizConfig Settings Manager)'s settings so I decided to help.
The Compiz plugins are divided into 8 categories:

General: This contains the core options

Accessibility: This category contains plugins to make your desktop easier to use, especially if you have a reading or viewing disability

Desktop: This category contains plugins to configure how your desktop behaves, like the Desktop Cube and Desktop Wall

Effects: This category contains plugins to configure various animations and effects, such as the 'Wobbly Windows' plugins or the 'Animation' plugin

Extras: This category contains plugins that serve a minor or ambiance purpose, like water and annotate

Image Loading: This category contains plugins that allow various image formats to be loaded

Utility: This category contains plugins that provide internal functionality, or small but useful features, like DBUS and Resize Info.

Window Management: This category contains plugins that provide basic to advanced window management functionality, like moving windows to grouping and tabbing windows.

In this blog I will only go over the (DESKTOP CUBE and ANIMATIONS) plugins because I think is a good place to start since most people that want to use compiz want to get into the effects right away, under (Animations) you will find all the effects: burn or fire, beam up, airplane, explode, magic lamp, vacuum etc. hopefully you can get an idea on how things work the rest I encourage to discover on your own. This guide will be most useful to someone who's new to Ubuntu and Compiz

If you haven't install CompizConfig Settings Manager go
here
Now go to System > Preferences > Compizconfig settings manager to explore all the settings:
DESKTOP CATEGORY

scroll to desktop cube plug in.

The Desktop Cube plugin is one of the choices for using multiple workspaces in compiz
click on it one time to reveal more settings

-GENERAL TAB-

UNFOLD: this shortcut will unfold the cube flat on the screen <control><alt><down> if you click on the shortcut itself it will pop up a window were you can change it if you want, if you don't like it hit default.

NEXT SLIDE: by default is disabled but you can click on (disabled) to assign a shortcut.

PREV SLIDE: by default is also disabled but you can click on (disabled) to assign a shortcut hit default button to return.

MIPMAP: In 3D computer graphics texture filtering, MIP maps (also mipmaps) are pre-calculated, optimized collections of bitmap images that accompany a main texture, intended to increase rendering speed and reduce artifacts is check by default and I see no reason to touch it.

MULTI OUTPUT MODE: has 3 settings automatic,multiple cubes, and one big cube, unless you have two monitors you should use automatic.

-APPEARANCE TAB-

CUBE COLOR: here you can change the color of the top and bottom of the cube by clicking on the color box on the right, if you don't like the result hit the default button

CUBE CAPS: click on the little arrow in front of it to reveal the options menu

SCALE IMAGE: if you add a picture to the top of the cube you will want this selected or the image will repeat.
to add a picture to the top of the cube click new the edit dialog will come up now you can browse your computer for the file, make sure is a (png or svg) or they won't show up, after you select the file and it loads into the edit box hit close and the file path will show up in the white area under “image files”
note: you can have multiple images, load them the same way and use the up and down buttons to toggle between images.

SKYDOME: The skydome is an optional background for the virtual space in which the cube is located (visible when the cube is zoomed out, such as when it is being rotated with the mouse).

If you choose to enable the skydome, you can select your own Skydome Image to be placed behind the cube by clicking the little browsing icon Or, if you prefer, you can set it to a simple gradient my favorite by selecting the Skydome Gradient Start (top half of screen)and End(bottom half of screen) colors for the gradient. Additionally, you can enable the Animate Skydome option, which makes the image or gradient stretch into a 360° panorama, the viewing angle shifting as you rotate the cube.

-BEHAVIOR TAB-

INSIDE CUBE: check this option if you want to be inside the cube when you rotate it

ACCELERATION: Acceleration refers to how much more speed the cube gains when rotating

SPEED: Speed refers to how fast the cube rotates in general

TIMESTEP: Timestep refers to how often the cube's speed is recalculated. A high timestep will cause the cube to overshoot and bounce back and a low timestep will cause the cube to come slowly to a stop-

TRANSPARENT CUBE TAB:

The Transparent Cube section contains options for changing the cube's opacity. You can set its Opacity During Rotation, its Opacity When Not Rotating, and the Fade Time when transitioning between the two opacities.

You can also enable Transparency Only on Mouse Rotate so that the cube does not change opacity when rotated using keyboard shortcuts, or when it is automatically rotated to show a newly focused window on a different viewport. Note that if you set your desktop cube to be transparent when not rotating, you may experience slight visual glitches with some animations and effects. The Lighting option under General Options -> Display Settings can also affect the appearance of windows on other sides of the cube. Also you may need the cube to be transparent to see other plugins like the Gear plugin.

EFFECTS CATEGORY
-ANIMATIONS PLUGIN: click on it to reveal settings


Click on ANIMATION SELECTION and RANDOM EFFECTS to expand the settings

MAIN EFFECTS:
AIRPLANE: The window is folded into an airplane before it flies away

BEAM UP:Beams up the window

BURN: Burns the window away with fire

CURVED FOLD: The window is bent into a curve

DOMINO: The window is broken gradually into rows of 3D blocks which topple into a position perpendicular

DREAM: The window becomes wavy and fades away.

EXPLODE:The window explodes in a mass of 3D blocks; the number of blocks is determined by the dimensions of the Window Grid set in the options

FOLD: The window folds inward on itself like a sheet of paper, shrinking until it disappears.

GLIDE 1: The window flies out towards the viewer until it goes past and disappears off the screen.

HORIZONTAL FOLDS: Similar to Curved Fold, except the window is creased horizontally

LEAF SPREAD: Starting from the top-left corner, the window gradually disintegrates into 3D blocks that scatter outwards before fading from view. There are no options for this effect.

MAGIC LAMP: The window bends into a curved, with a "tail" which is sucked into a small point

RAZR: The window peels off the screen in thin rows or columns of 3D blocks which topple and fold in on themselves.

SIDEKICK: The window rotates clockwise while shrinking into the distance

SKEWER: The window is cut up into pieces which fly apart. The number of pieces is determined by the width and height of the grid which is used to divide the window

VACUUM: This is almost identical to Magic Lamp, except that it does not have customizable waves; whereas Magic Lamp has a fixed minimum of 3 waves, the number of waves in Vacuum is fixed at 1

ZOOM: A simple effect, similar to Sidekick but with no rotation. The window shrinks into the distance, or zooms in from the distance
......................................................................................................................................................................
ANIMATION SELECTION:

Make sure you have (CLOSE ANIMATION) selected.
If you don't see any of the effects or it says (none 50) click on NEW.
You should see a box pop up that looks like this:


From the (close effect) pull down menu choose any of the effects, you can change the duration and also you can play around with (window Matching) check this link for more info on it:
http://wiki.compiz-fusion.org/WindowMatching
Hit close, now you should have an effect to select:

note: you can choose more than one effect and switch any of them any time you one.

RANDOM EFFECT:

To select Random Animation click on new, the edit menu will pop up choose Random from the pull down menu.

-EFFECT SETTINGS TAB:
Random animations for all events

ANIMATION TIME STEP:The amount of time in milliseconds between each render of the animation. The higher the number the shakier the movement becomes.

ANIMATION TIME STEP FOR INTENSE EFFECTS: The amount of time in milliseconds between each render of the Intense animation(burn,ex and beam). The higher the number the shakier the movement becomes.

-AIRPLANE
-Airplane Flying Path Length: The distance the airplane flies before disappearing.

-Fly to TaskBar on Minimize: Whether or not the window flies to its button in the Window List or Dock when minimizing.

-BEAM
-Beam Width: The width of the light beams, proportional to the width of the window.

-Beam Spacing: The spacing between the beams.

-Beam Color: Opens a standard color selection dialog.

-Beam Slowdown: The amount of slowdown on the beam effect.

-Beam Life: The lifespan of the beams.

-CURVED FOLD
-Curved Fold Amplitude: The amplitude of the curve.

-Zoom to TaskBar on Minimize: Whether or not the window zooms to its button in the Window List or Dock when minimizing.

-DODGE
-Dodge gap ratio: Ratio of gaps between dodge start times to focus duration.

-DOMINO
-Domino Piece Falling Direction: Automatic causes the rows to topple in the direction of the mouse cursor (if the window is closing) or away from the mouse cursor (if the window is opening).

-DREAM
-Zoom to TaskBar on Minimize: Whether or not the window zooms to its button in the Window List or Dock when minimizing.

-EXPLODE
-Window Grid Width: The number of columns in the grid.

-Window Grid Height: The number of rows in the grid.

-Thickness of Exploding Polygons: The thickness, in pixels, of the 3D blocks.

-Tessellation Type: The shape of the blocks. The default is Rectangular, although there is a Hexagonal option which is not yet implemented.

-FIRE
-Number Of Fire Particles: How many fire particles are rendered.

-Fire Particle Size: The size of the fire particles.

-Fire Particle Slowdown: The amount of slowdown for the fire effect.

-Fire Particle Life: The lifespan of the fire particles.

-Fire Particle Color: Opens a standard colour selection dialog.

-Fire direction: Automatic causes the fire to burn towards the end closest to the mouse cursor.

-Fire constant speed: Make the burning speed the same on all windows, instead of proportional to their size.

-Fire Smoke: Add smoke to the fire.

-Randomly Colored Fire: Particles are randomly coloured (individually, not all of them the same colour).

-FOLD
-Window Grid Width: The number of columns in the grid.

-Window Grid Height: The number of rows in the grid.

-Fold Direction: In (away from the camera), or Out (towards the camera).

-GLIDE 1
-Away Position: The position of the window at the end of the animation, relative to the camera.

-Away Angle: The angle at which the window is tilted at the end of the animation. During the animation, it will tilt until it reaches this angle.

-Thickness: The thickness, in pixels, of the window, when viewed from an angle.

-Zoom to TaskBar on Minimize: Whether or not the window zooms to its button in the Window List or Dock when minimizing.

-GLIDE 2
-Is the same as Glide 1 except the window flies inward (away from the viewer)

-HORIZONTAL FOLDS
-Horizontal Folds Amplitude: The amplitude (size) of the folds.

-Number of Horizontal Folds: The number of folds. They will always be evenly spaced, so their size is directly proportional to the size of the window.

-Zoom to TaskBar on Minimize: Whether or not the window zooms to its button in the Window List or Dock when minimizing.

-MAGIC LAMP
-Magic Lamp Open/Close Moving End: Whether or not the "tail" moves to follow the mouse cursor during the animation, when used for Open/Close events.

-Magic Lamp Grid Y Resolution: The smoothness of the curves. Higher values are more CPU-intensive.

-Magic Lamp Max Waves: The maximum number of waves. The actual number of waves is random each time.

-Magic Lamp Min Wave Amplitude: The minimum amplitude (size) of the waves.

-Magic Lamp Max Wave Amplitude: The maximum amplitude (size) of the waves.

-Magic Lamp Open Start Width: The width of the "tail".

-RAZR
-Razr Fold Opening Direction: Automatic causes the blocks to topple in the direction of the mouse cursor.

-ROLL UP
-Roll up fix interior: Fix window interior during the roll up animation.

-SIDEKICK
-Sidekick Number of Rotations: How many 360° rotations the window makes before disappearing. This does not have to be a whole number.

-Sidekick Springiness: How "bouncy" the animation is, ie. whether it moves a bit past its final position before retracting to that position.

-Zoom from Center: If Off, the window always zooms from/to the position of the mouse cursor (if created/closed). If On, it will always zoom from the center of the window's final position. This can also be set to Minimize/Unminimize Only or Open/Close Only.

-SKEWER
-Skewer Direction: The direction in which the pieces move.

-Tessellation Type: The shape of the pieces. They can be Rectangular or Hexagonal.

-Window Grid Width: The number of columns in the grid

-Window Grid Height: The number of rows in the grid.

-Thickness of Animated Polygons: The 3D thickness of the pieces when viewed from an angle.

-Rotation Angle: How many degrees the pieces should rotate before disappearing.


Download Opera, the fastest and most secure browser