Um Compiz zB während Spielen abzuschalten kann man mit einem kleinen Script temporär Compiz deaktivieren.
#!/bin/bash
CHANGE=0
if ps -e | grep compiz; then
CHANGE=1
fi
if [ $CHANGE == 1 ]; then
/usr/bin/metacity --replace &
fi
# --hier eigentliches programm starten--
wait $!
if [ $CHANGE == 1 ]; then
/usr/bin/compiz --replace &
fivon http://ubuntuforums.org/showpost.php?p=5770830&postcount=6
---
Alternativ kann auch das Programm Compiz-Switch verwendet werden: