Focus

Peter Flynn peter at silmaril.ie
Tue Nov 3 00:28:58 UTC 2020


On 02/11/2020 16:11, Jonesy via ubuntu-users wrote:
> On Sun, 1 Nov 2020 21:11:54 +0000, Peter Flynn wrote:
>> Does anyone know if there is a setting in any of the window management
>> implementations that will force focus to the only window open in a
>> desktop when there is only one window open in it.
[...]
> Well, you asked for "window management implementations" (without
> specifying  what you've tried), so here's my input:

My apologies, I thought I'd added that. I'm using Cinnamon but I've also 
tried Xfce and MATE (under Mint at the moment).

> I run Ubuntu with Trinity Desktop

That's new to me, thank you.

> However, the mouse position remains in the same position throughout any
> rolling through all desktops.  

So the window gets focus but the mouse might not be within it?

> (After all, how should the WM know where
> to properly place the mouse in any given window.... ?)

Correct, but at least somewhere within the window, rather than outside 
it. Or the last position used, if that window has been visited before.

This is very useful, thank you.

On 02/11/2020 17:15, Colin Watson wrote:
[...]
> If I'm understanding you correctly, this is how it works for me with 
> Ubuntu 20.04 and GNOME Shell.
> [...] I use "Focus on Hover", but IIRC the default is "Click to
> Focus" and both of those behave the way you ask.
Indeed click-to-focus would do so because in clicking you give the 
location where you want the pointer.

 > Only "Secondary-Click" leaves the desktop focused in the situation
 > you describe.

That does indeed equate to sloppy, and that seems to fix it, thank you 
(I last used sloppy many years ago, and I must have dismissed it for 
some other reason, because I was convinced I'd already tried it.

Thank you both.

P




More information about the ubuntu-users mailing list