# Disable new windows auto-focus in GNOME

``` bash
gsettings set org.gnome.desktop.wm.preferences focus-new-windows 'strict'
```

optionally:

``` bash
gsettings set org.gnome.desktop.wm.preferences auto-raise 'true'
```

see also dconf-editor GUI.