Discussion:
Settings: focus when mouse over window?
(too old to reply)
Nicholas Papadonis
2023-06-01 04:00:01 UTC
Permalink
I installed Debian 11. Does anyone know how to get this functionality? I
looked through settings however didn't see an option.
Charles Curley
2023-06-01 04:10:02 UTC
Permalink
On Wed, 31 May 2023 23:53:35 -0400
Post by Nicholas Papadonis
I installed Debian 11. Does anyone know how to get this
functionality? I looked through settings however didn't see an
option.
That would depend on which desktop you installed. In XFCE, Settings ->
Window Manager -> Focus Model -> Focus follows mouse, and Raise on
focus.
--
Does anybody read signatures any more?

https://charlescurley.com
https://charlescurley.com/blog/
Nicholas Papadonis
2023-06-01 04:10:02 UTC
Permalink
I have the default Gnome WM installed. Does it provide a similar option?

On Thu, Jun 1, 2023 at 12:02 AM Charles Curley <
Post by Charles Curley
On Wed, 31 May 2023 23:53:35 -0400
Post by Nicholas Papadonis
I installed Debian 11. Does anyone know how to get this
functionality? I looked through settings however didn't see an
option.
That would depend on which desktop you installed. In XFCE, Settings ->
Window Manager -> Focus Model -> Focus follows mouse, and Raise on
focus.
--
Does anybody read signatures any more?
https://charlescurley.com
https://charlescurley.com/blog/
t***@tuxteam.de
2023-06-01 04:50:01 UTC
Permalink
On Thu, Jun 01, 2023 at 12:08:29AM -0400, Nicholas Papadonis wrote:

(please, don't top post: this makes mailing lists unreadable)
Post by Nicholas Papadonis
I have the default Gnome WM installed. Does it provide a similar option?
I did a web search (no, not the google) with the terms

gnome metacity "focus follows mouse"

(metacity is, AFAIK, Gnome's window manager) and the
answer seems to be... complex: it depends on whether
you use Wayland or not. It seems to "kind of work",
but in different ways.

Look also for "sloppy focus": in general you don't want
your focused window to lose focus when you move the
pointer to the "background window". But perhaps you do
want that.

That all said, back then (> 10 years, so take this with
two fists of salt), when I tried that with Gnome, I never
found a satisfying setup. It seems the devels themselves
don't try that out very much.

And oh, yet another thing: of course, these days, where
half of the life happens in lots of little badly written
"applications" whithin the browser, all of them with
their half-implemented window manager... be prepared
to have some... media discontinuities (I hate browsers
for that).

Cheers
--
t
Anders Andersson
2023-06-01 17:50:01 UTC
Permalink
Post by t***@tuxteam.de
Post by Nicholas Papadonis
I have the default Gnome WM installed. Does it provide a similar option?
I did a web search (no, not the google) with the terms
gnome metacity "focus follows mouse"
(metacity is, AFAIK, Gnome's window manager) and the
answer seems to be... complex: it depends on whether
you use Wayland or not. It seems to "kind of work",
but in different ways.
Look also for "sloppy focus": in general you don't want
your focused window to lose focus when you move the
pointer to the "background window". But perhaps you do
want that.
I don't know why you would force "metacity" in there, it's *not* the
window manager, so no wonder you get weird results.

Just enable "Focus on Hover" in the Gnome Tweaks settings: "Window is
focused when hovered with the pointer. Windows remain focused when the
desktop is hovered."

It has worked flawlessly for ages, as long as I've used Gnome 3 (the
default in debian for a long time), and there's no difference in
behaviour between wayland and xorg.
t***@tuxteam.de
2023-06-02 04:40:02 UTC
Permalink
Post by Anders Andersson
Post by t***@tuxteam.de
Post by Nicholas Papadonis
I have the default Gnome WM installed. Does it provide a similar option?
I did a web search (no, not the google) with the terms
gnome metacity "focus follows mouse"
(metacity is, AFAIK, Gnome's window manager) and the
answer seems to be... complex [...]
I don't know why you would force "metacity" in there, it's *not* the
window manager, so no wonder you get weird results.
[...]

As I said, my last interaction with Gnome is long time ago.
These days I don't use a desktop environment at all.

Cheers & thanks for the clarifications.
--
t
t***@tuxteam.de
2023-06-01 04:40:01 UTC
Permalink
Post by Charles Curley
On Wed, 31 May 2023 23:53:35 -0400
Post by Nicholas Papadonis
I installed Debian 11. Does anyone know how to get this
functionality? I looked through settings however didn't see an
option.
That would depend on which desktop you installed. In XFCE, Settings ->
Window Manager -> Focus Model -> Focus follows mouse, and Raise on
focus.
FWIW, I am one of those who have "focus follows mouse" and NOT "raise
on focus": I like typing into a terminal, for example, even when some
part of it is obscured. But then, I don't have XFCE, either :-)
Post by Charles Curley
Does anybody read signatures any more?
I think I've read this somewhere...

Cheers
--
t
Loading...