Funny, doing the 'sleep 5; nautilus' *and* typing in another window is the first case of things (sort of) behaving correctly. Any process other than nautilus steals the focus. If I try the same with xterm, gnome-terminal, konsole, gimp, ... the new window steals the focus. Clearly, it should be the WM's responsability to enforce sane focus policies, or else we'll end up filing thousands of upstream bugs. Even if it worked, one second timeout isn't very useful because it typically takes more than that between the time you type "ssh remote.machine.net" and the time you type your password.
Funny, doing the 'sleep 5; nautilus' *and* typing in another window is the first case of things (sort of) behaving correctly. Any process other than nautilus steals the focus. If I try the same with xterm, gnome-terminal, konsole, gimp, ... the new window steals the focus. Clearly, it should be the WM's responsability to enforce sane focus policies, or else we'll end up filing thousands of upstream bugs. Even if it worked, one second timeout isn't very useful because it typically takes more than that between the time you type "ssh remote.machine.net" and the time you type your password.