On 01/ 4/10 05:43 PM, John Martin wrote: > On 01/ 4/10 04:39 PM, Paul Gress wrote: >> I have an application that requires I shut compiz off then on. These >> are the commands I use: >> >> >> metacity --replace & >> sleep 1 >> gtk-window-decorator --replace & >> sleep 1 >> compiz --replace gconf & >> >> I suppose you could put this in your .profile without starting compiz. > > Preferences -> Appearance -> Visual Effects -> None > should persist across logouts, reboots and (most) upgrades. > Under what conditions do you need to continue to disable it > manually? > > Pro-Engineer won't start with compiz enabled, but once started you can re-start compiz, Pro-Engineer doesn't care. It can now be shutdown and restarted with compiz enabled. I havent yet figured out the mechanism that won't allow it to start.
So my preference is to have compiz running all the time, so to start Pro-Engineer I use a wrapper script that shuts down and restarts compiz. So really the wrapper script starts Pro-Engineer just prior to toggling compiz off-on. /Disk1/Binaries/Pro-Engineer/WF5/bin/proe1 & sleep 5 metacity --replace & sleep 1 gtk-window-decorator --replace & sleep 1 compiz --replace gconf & -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.opensolaris.org/pipermail/desktop-discuss/attachments/20100104/f1413b29/attachment.html>