Disable new windows auto opening in background

Me too I suffered from app window shyness. I found how to fix it, though.

  1. get compizconfig-settings-manager

  2. Press Alt+F2 and type ccsm

  3. click on "General Options"

  4. Select the "Focus and Raise Behaviour" tab

  5. Check "Auto-raise" and set "Focus Prevention" level to Off

That fixed things up for me. Hope it does for you as well.