Allow new windows to steal focus in GNOME 3
GNOME 3 generally works well for me but it has some quirks. One of those quirks is that new windows don’t actually pop up on the screen with focus as they do in Windows and OS X. When opening a new window, you get a “[Windowname] is ready” notification:
My preference is for new windows to pop in front and steal focus. I can see why that’s not the default since it might cause you to type something in another window where you weren’t expecting to. Fortunately, you can enable what GNOME calls strict window focus with a quick trip to
dconf-editor is easy:
# RHEL/CentOS 7 and Fedora 21 yum -y install dconf-editor # Fedora 22 dnf -y install dconf-editor
dconf-editor and navigate to org -> gnome -> desktop -> wm -> preferences.
Once you’re there, look for focus-new-windows. The default setting is smart which will keep new windows in the background and alert you via a notification. If you click on smart, a drop down will appear and you can select strict. That will enable functionality similar to OS X and Windows where new windows will pop up in the front and steal your focus.
The new setting takes effect immediately and there’s no need to logout or close and reopen windows.
UPDATE: If you’d like to avoid installing
dconf-editor, use Alexander’s suggestion below and simply run:
gsettings set org.gnome.desktop.wm.preferences focus-new-windows 'strict'
#centos #fedora #gnome #red hat