[Bug 51242] Re: New windows shouldn't steal focus

Koresko koresko at ipac.caltech.edu
Mon Jul 31 00:35:28 UTC 2006


This message indicates that the focus behavior for new windows should be
controlled by the setting of a gconf key called
/apps/metacity/general/focus_new_windows:

https://lists.ubuntu.com/archives/dapper-changes/2006-April/009538.html

According to the above, if one issues the command

gconftool-2 --set /apps/metacity/general/focus_new_windows --type string
strict

then new windows won't get focus unless they appear under the mouse
pointer.  The long description in gconf is "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."

However, on my system (Dapper, with focus_mode set to "mouse") newly-
created windows always get the focus even when focus_new_windows is set
to "strict").  For example, typing 'xterm' in a gnome-terminal causes an
xterm to pop up, and the focus goes to the new xterm even though the
mouse pointer is at the original gnome-terminal.

-- 
New windows shouldn't steal focus
https://launchpad.net/bugs/51242




More information about the desktop-bugs mailing list