You Got A Question? Ask    GNOME Community!


How to set Focus-Follows-Mouse in GNOME 3 (windows)

This post was made with an older stylesheet

Not sure how useful is this (specially in GNOME 3 and the way that treats windows), but it seems that many people like it and some window managers have it as default.

Whats

Focus-Follows-Mouse (FFM) enables windows to get focus or get focus and get raised on mouse over, instead of the default “on click” behavior.


How-to

One way is just to give you 3 <gsettings> commands to do that, but it isn’t very nice when people copy things without understand what they really do, and they will possibly need to Google around -later- to revert changes or do it again.

Instead is better to install <dconf-editor> and make all those changes in a documented UI.

For Fedora

$ sudo yum install dconf-editor

For Arch

$ sudo pacman -S dconf-tools

For Ubuntu

$ sudo apt-get install dconf-tools

(Please correct me if I have gave bad instructions for Arch and Ubuntu)


The Schema you need is the

org.gnome.desktop.wm.preferences

Therefore open Dconf-Editor and Navigate to

org-> gnome-> desktop-> wm-> preferences

ffm-settings

From there you need to “play” with 3 options and figure out the best solution for you. Changes are applied instantly and can easily be reverted with the “Set to Default” button.

Auto Raise: If set to true, and the focus mode is either “sloppy” or “mouse” then the focused window will be automatically raised after a delay specified by the auto-raise-delay key. This is not related to clicking on a window to raise it, nor to entering a window during drag-and-drop.

Auto Raise Delay: The time delay before raising a window if auto-raise is set to true. The delay is given in thousandths of a second.

Focus Mode: The window focus mode indicates how windows are activated. It has three possible values; “click” means windows must be clicked in order to focus them, “sloppy” means windows are focused when the mouse enters the window, and “mouse” means windows are focused when the mouse enters the window and unfocused when the mouse leaves the window.

There is also the Focus New Windows: This option provides additional control over how newly created windows get focus. It has two possible values; “smart” applies the user’s normal focus mode, and “strict” results in windows started from a terminal not being given focus.


 
  We can't watch comments unless G+ provides an API or if you send a notification, e.g +World Of Gnome
     Sometimes is better to place your questions on GNOME Community