Hopefully the title sums it up, but I'm looking for a way of being able to switch the Appearance Preferences' Visual Effects option to 'None', from a terminal/script (and optionally later to be able to switch back to 'Normal', though that's not such a big deal).
I'm a total Ubuntu-noob, so I can't tell you which window manager/widget-set/whatever I am using (Gnome 2.30.0?). It's on Ubuntu 10.4 patched up to date as of late July 2010.
If all you need to do is to disable and enable effects this is fairly easy done with
to disable effects and
to enable effects. This is scriptable too.