Compiz is a compositing window manager for Windows which uses a 3D graphics hardware for window management by creating rapid compositing desktop effects. These effects, like cube workspace and minimization effect, are implemented as loadable plug-ins. Compiz uses small programs called decorators to draw window borders with maximize, minimize and close buttons. The reduction of windows in MAC is very fluid. You can have the same effect under Linux with Compiz. Compiz brings a variety of visual effects which make Linux desktop more powerful, easy to use, intuitive and more accessible for users with specific requirements.
On a Mac, the reduction of windows is very fluid. You can get the same thing under Linux with Compiz. The trouble is that by default, it is not possible to get this effect: the number of waves is 3 and here there is only one. The reason for this is that Apple filed a patent on this feature. There is still a way to do this: edit some system files... This tutorial is inspired by this video
Above all, we must temporarily disable Compiz: right click on desktop> Change the background> tab "Visual Effects"> check the box "No".
- Then, install the hex editor. Open a terminal and type:
sudo apt-get install ghex
- Press"Enter" and type your password. The software installs.
- Make a backup of the files you will change.
In the terminal, type the following 3 commands:
sudo cp /usr/lib/compiz/libanimation.so /usr/lib/compiz/libanimation.so.bak
sudo cp /usr/lib/compiz/libanimation.a /usr/lib/compiz/libanimation.a.bak
sudo cp /usr/share/compiz/animation.xml /usr/share/compiz/animation.xml.bak
Tweaking the system files is tricky, but here it will be very easy. Above all, follow these tips and it will work.
In Terminal, type:
sudo ghex2 /usr/lib/compiz/libanimation.so
The hex editor opens: refer to the video
Go to Edit> Find then in the window in the right box, type (do not pay attention to the point that appears when you click): magic_lamp_max_waves and do "Find Next".
Normally, there is something (that is highlighted in red). Just below it you should see <min>3</min .
Then replace the "3" with a "0" (zero, not the letter o).
Once done, save: File> Save.
In Terminal, type:
sudo ghex2 /usr/lib/compiz/libanimation.a
Then do the same thing: search for "magic_lamp_max_waves" and replacing 3 by a 0 and save.
In the terminal:
sudo gedit /usr/share/compiz/animation.xml
The text editor opens. Make Search> Search and set the same thing: magic_lamp_max_waves.
You should see below a list of languages. Go down (just the list under magic_lamp_max_waves).
You should get this:
< default >3< /default >
< min >3< /min >
< max >50< /max >
Replace < min >3< /min > by < min >0< /min > and save.
Enable the option in Compiz
All that is left is to activate the option in Compiz. Re-activate Compiz (right click on desktop> change the desktop background> tab "Visual Effects"> check "Total".
- Then open the configuration editor: Compiz Config (System> Preferences> Configuration Manager CompizConfig).
- Click on "Animation". Under the "Animation at the cut," put "Magic Lamp" and a duration of 400ms.
- Then go into the last tab (Setup tab effect ) for this purpose.
- Find the line "Magic Lamp" and put the cursor "Number of waves up to the Magic Lamp" to 0.
Now you can set it to 0.
- Gotbletu for his video on YouTube.
- le hollandais volant for the explanations
Published by jak58
Latest update on November 8, 2012 at 04:36 PM by Jeff.