PDA

View Full Version : Compiz Script Idea


chronusdark
November 6th, 2007, 05:19 PM
I have an idea and if its already made then AWESOME, here it is

what if someone was to make a script that would launch any game given as an argument and disable compiz while the game was running and reenable it when the game was closed

does something like this exist?
could someone make it?

tell me what you think

chronusdark
November 6th, 2007, 08:43 PM
i hate to bump my own thread but does anyone know if something like this exists already?

KuriKai
March 3rd, 2008, 07:16 AM
I'm trying to work on one such script now. But am having trouble with replacing compiz with metacity.
The the script to start metacity doesn't stop. so It never moves onto the next part of the script

KuriKai
March 3rd, 2008, 07:31 AM
Fixed it
here is my script

metacity --replace --sm-disable &
done
exit 0
wine /home/dave/.wine/drive_c/Program\ Files/Warcraft\ III/war3.exe -opengl
compiz --replace --sm-disable --ignore-desktop-hints ccp --loose-binding --indirect-rendering

Then I have a link to the script in the gnome panel