Often you need to turn off Compiz desktop effects to play a game, run an incompatable application, or even to watch video on some Intel chipsets. Previously I used the fusion-icon tray icon, which was not updated for newer versions of Ubuntu and Compiz. Until today I used the Visual Effects tab of the Appearance Preferences dialog in Ubuntu 7.10 to start and stop Compiz. Now there’s a simpler solution.
Compiz-Switch does one of two things when it is run: When Compiz is running, it switches to Metacity (GNOME), Kwin (KDE), or Xfwm (Xfce). When Compiz is not running, it turns it on.