How to properly Start Compiz in Gnome
Since I've upgraded to Debian Sid /
Squeeze e.g., Debian unstable I'm using compiz and the default
patched debian metacity to support it. Thus until today I've it
setupped to start up with
1. compiz --replace on each and every login session on my account.
Today I had my doubts that this is correct since I've noticed that
compiz terminates after some of the OpenGL games I have started.
After some Googling I found a blog post which was discussing the
issue. Here is the post
how to properly start compiz in gnome . As you could read in
the blog post it is wrong to start compiz with compiz --replace
cause in that case metacity starts for a couple of seconds during
gdm login screen as well as it has to replace metacity afterwards.
It is explained that the proper way to start compiz is via the
.gnomerc . BTW I was not aware that gnome had that
handy .gnomerc file which pretty much like the good old .bashrc. So
back to the proper way of running compiz.
Edit ~/.gnomerc in and put export WINDOW_MANAGER=/usr/bin/compiz
Congrats now you should have compiz to run properly.