Phrank deserves an award for coming up with this hack. NoCompiz uses Compiz-switch, a simple program that turns Compiz off if it is on and vice-versa.
NoCompiz will take one input – the name of a program – Turn off Compiz, run the program, then turn Compiz back on when the program exits.
This is very useful when you’re running Compiz all the time, but want to switch to a full-screen 3D game for awhile and not have to worry about Compiz messing with the game.
Just download noCompiz, unzip, and run the Install.sh installer from within Nautilus.
edit the menu entry of the programme you want to toggle.
eg, nocompiz kdenlive