Because the games is always conflict with compiz, we need to turn off compiz every time we turn the games on, and you can play the games with more comfort
. And after you played the games, the compiz will automatically start. Here is the tutorial and the how-to:
1. Open text edit at Applications -> Accessories -> Text Editor
2. Type:
#!bin/bash
metacity –replace &
game_name(subtitute this code with your games code e.g: pingus)
compiz –replace
3. Save those file in “.sh” format. And change the permission to executeable (chmod +x yourfiles) by using the terminal or just simply right click -> properties -> permission and then just simply save those files at your favorite folders.
4. Try to run the script from the terminal, here is an example: ./pingus.sh
After one games run smoothly, you can be creative to change the other games name. Well, that’s solved our problem right? The next X.Org probably will have this problem fixed. If you have any problem, feel free to fill the comment form.


{ 3 comments… read them below or add one }
If you put the scripts into /usr/local/bin then you could run them from any directory without the leading dot-slash.
(I’d take issue with describing running Metacity as “disabling Compiz”, but that’s another matter…
)
Thanks for the suggestions, marnanel. Hope it will help people.
Great tip!