I found the cause and solution to this problem. Quoting the answer given on Ask Ubuntu question 75967 "Nautilus windows are not focused when launched via hotkeys":
It's a focus prevention issue. Launch CompizConfig Settings Manager and got to General Options → Focus tab. In the Focus Prevention Windows field, put : !(class=Nautilus) A user mentioned that this bug is a known issue in Compiz and may have been fixed upstream, but I cannot find the bug report. -- You received this bug notification because you are a member of compiz packagers, which is subscribed to compiz in Ubuntu. https://bugs.launchpad.net/bugs/817246 Title: Nautilus windows are not focused when launched from 'Run a command' To manage notifications about this bug go to: https://bugs.launchpad.net/unity/+bug/817246/+subscriptions _______________________________________________ Mailing list: https://launchpad.net/~compiz Post to : [email protected] Unsubscribe : https://launchpad.net/~compiz More help : https://help.launchpad.net/ListHelp

