Home | Looking for something? Sign In | New here? Sign Up | Log out

Sunday, 12 December 2010

Ubuntu Magic Lamp Effect 0 wave

/ On : 22:29/ Thank's For Visiting
The magic lamp effect is my favorite when it comes to minimizing windows, but there’s one problem with it, you cannot configure the “Magic Lamp Max Waves” to zero due to some copyright crap from apple (since they think they invented the effect or something). Fortunately there’s a cure for this, you can patch compiz to make the effect look something like this:

This is how to do it:
1. Use Hex editor to open “/usr/lib/compiz/libanimation.so”
sudo ghex2 /usr/lib/compiz/libanimation.so
If you don’t have HexEditor already, you can install it by opening Applications->AddRemove and serching for “hex editor” or entering the next command in a terminal:
sudo apt-get install ghex
2. Find “magic_lamp_max_waves”, look for the following “3”, change 3 to 0

3. Save, Close

4. Use Text Editor to open “/usr/share/compiz/animation.xml”
sudo gedit /usr/share/compiz/animation.xml
5. Find “magic_lamp_max_waves”, scroll down about 50 lines until you see this: “3” and, in the next line “3” change “3″ to “0″ in both lines. So it looks like this “0” and “0”

6. Save, Close

7. Restart GDM if the 3D desktop is currently running (or restart your computer).
sudo /etc/init.d/gdm restart
8. In compizConfig Settings Manager, go to Effects -> Animations -> Minimize Animation and set Minimization effect to “Magic Lamp”. It should be configured to zero waves by default, if you want to change this value then go to the Effect Settings tab and change Max Waves to your value



Post a Comment

Don't forget to comment


appeareance (2) design (1) gimp (1) GPL (2) Graphic (2) Laptop (1) linux (5) office (1) opensource (3) ubuntu (4)