gconftool-2 -s -t string /apps/metacity/general/focus_new_windows strict
To be useful - when that's set, new windows never take focus away from
a window that looks like a terminal window. (This is assuming the above
opens a new window. If it changes an existing window, then "focus_new_windows"
won't affect the behavior.)
Doesn't work. I set this, then started gedit from gnome-terminal. The gedit
window got focus.
D.