Do

Comment 5 for bug 321742

Revision history for this message
Bryan Goldstein (bsg-csh) wrote : Re: Should detect when Composite has been enabled/disabled.

I have a temporary fix for this that I just started using. It isn't the best practice and couldn't be put into a release, but for people who only use gnome-do with compiz it should work fine.

Add this to the top of your /usr/bin/gnome-do file:

pgrep -u "`id -un`" '^compiz$'
while [ $? = 1 ]; do
 sleep 2
 pgrep -u "`id -un`" '^compiz$'
done

It makes gnome-do wait for compiz to start before running.

Grab the attachment if you just want to download the whole script.