OS X Magic Lamp Genie Effect!!!!!!!!!!1

Here is what you will need.

Install “ghex” through yast software management. A text editor like kate or gedit.

Before starting turn off compiz fusion…

Open a konsole and type “su” and your password.

  1. type ghex2 to open editor as root

  2. use ghex2 to open “/usr/lib/compiz/libanimation.so”

  3. find “magic_lamp_max_waves”, look for following “<min>3</min>”, change “3″ to “0″

  4. save it and close ghex2.

  5. in the konsole with root access type: kate /usr/share/compiz/animation.xml

  6. find “magic_lamp_max_waves”, look for following “<min>3</min>”, change “3″ to “0″

  7. save it and close.

  8. type exit in konsole and then close it.

Now restart compiz fusion, and open compiz fusion settings manager and go to animations

In the minimize animation choose magic lamp and set the duration. In the effect settings tab change the minimum number of waves to 0.

Congratulations, you now have the authentic OS X Genie Effect!

Please note that without any major architectural changes to Compiz Fusion, this patch will almost be guaranteed to work in any future versions. So if it breaks in next upgrade, fix it!

Enjoy! :slight_smile:

This is a warning.
This may violate Apple’s patents, you are freely able to do this in countries that do not enforce software patents, but otherwise USE AT YOUR OWN RISK.

Don’t come to us if the FBI comes knocking at your door.

Oh yeah it does, sorry I forgot to mention that, but how is Apple going to find out…:wink:

many thanks, snakeeyes, works like a charm and finally stops me wondering how the f*** I can make this happen :wink: Genie looks soo much cooler than a 3-wave magic lamp!

Cheers, LOthar

http://img120.imageshack.us/img120/7650/fbispyingbm2.th.jpg](http://img120.imageshack.us/my.php?image=fbispyingbm2.jpg)
Hope your not wearing very reflective glasses… :cool:

lol :stuck_out_tongue:

think about it though, whats the FBI going to do?

(FBI knocks on the door)

FBI: r u snakeeyes?

me: yes, why? :confused:

FBI: u r under arrest for using genie effect…

that would be funny

What a load of rubbish! It’s not violating any patents, the guy isn’t selling this as a piece of software.

Some people need to use some common sense sometimes!

Violation of a software patent, is where someone or an organization knowingly, or unknowingly, writes a piece of code that performs a function or algorithm using the same described process or algorithm as stated by a patent.

In reality, software patents are a waste of time, and anyone can write a piece of code and not be sure they are in violation.

Re-configuring Compiz to produce an effect similar to Apples, is:
a. Not writing code or software,
b. Not an algorithm,
c. Impossible to be in violation of a software patent, or any other patent.

However Compiz may somewhere unknowingly contain an algorithm for drawing pixels on a screen, that some idiot has patented.

Regards

Ah so that means I shouldn’t be worried about the FBI breaking down my home’s door? What a relief…:D;)

Nope, Apple patented the genie ‘idea’, why do think vacuum exists? It is the exact same as magic lamp, but without the limitation, and cannot be used in minimization. This is editing code. However configuring is also penatalizable.

Hopefully that cleared things up.

yes but I doubt its breaking the law if u have just modified something to produce the same effect, no body can say anything to u for that

It is (unless you don’t live in the US, or a different country that enforces software patents)

Also, it’s a warning, as long as it’s there, no one can sue you (for this specific topic) http://forum.compiz-fusion.org/images/smilies/pidgin-smilies/wink.png

yes, these are pidgin smilies stolen from the compiz fusion forums http://forum.compiz-fusion.org/images/smilies/pidgin-smilies/shock.png

ah ok I get it, so I actually haven’t done anything wrong that means? :slight_smile:

I still think that what some-guy is saying is rubbish.

Anyway, still the situation surrounding software patenting is frustrating, leaving many many people confused and unsure of what violates and what doesn’t.

Reconfiguring a piece of software isn’t coding, and for personal use can definitely not come into violation of an Apple patent.

Apple’s aggressive patenting, and marketing is in some respects almost worse than that seen by Microsofts. Apple produce tightly closed systems like the iPhone, which for someone who loves technology is the worst thing ever.

Regards

ok thanks again then :slight_smile:

The reason for the min being set to 3 is because of this! Otherwise, they would set the min 0 and set the default to 3.

How isn’t this understandable. Also editing the binary or source, whether or not it’s one letter, is essentially hacking the program

I didn’t want to reply, but I believe users need to know the consequences of using this guide.

(of course writing this guide is perfectly legal ;))

well back to the topic: I tried the guide and I can’t say I’ve seen any change vs. the previous behaviour of Compiz.

did u reduce the number of waves to 0?

The reason for the min being set to 3 is because of this! Otherwise, they would set the min 0 and set the default to 3.

How isn’t this understandable. Also editing the binary or source, whether or not it’s one letter, is essentially hacking the program

I didn’t want to reply, but I believe users need to know the consequences of using this guide.

(of course writing this guide is perfectly legal

oh well at least the guide is legal, if it isn’t then I think the mods should delete it :slight_smile:

@jameswalmsley
You are right, this can never be considered a patent violation. Fortunately I also do not live in a country that restricts people this way.

@some-guy
I suggest you read some more about patents on Groklaw: Groklaw - Digging for Truth very educational.

Yes I did, but to no avail.

Or maybe it does the job, but it does it extremely fast, I cannot really see the effect :confused:

disable fading windows and increase animation time