hey guys, I made a simple script that boost Compiz by giving it less nice value. which helps for people like me with lousy Graphic cards (i.e, Intel !!) to reduce compiz laggs while doing heavy processing.
the script is targeted to be executed at init.d, so it'll run automatically after each restart. it takes only two steps to apply it:
Step 1: in terminal, write this:
then copy and paste the following code in the text editor:
gksu gedit /usr/bin/comboost
save and close, then in the terminal write this:
until [ "$compiz" != "" ];
renice -10 -p $compiz
Step 2: in the terminal write this:
sudo chmod +x /usr/bin/comboost
and before the last line (that says "exit 0") add this:
sudo gedit /etc/init.d/rc
so finally it'll appear like this:
now you're done
you can execute it right away from terminal:
or restart your PC.
it should work with any linux distro.