Unity, window management: how to raise?

Dave Howorth dhoworth at mrc-lmb.cam.ac.uk
Fri Jun 3 12:53:52 UTC 2016


On 2016-06-03 13:06, Peter Silva wrote:
> gsettings set org.gnome.desktop.wm.preferences focus-mode 'mouse'
> gsettings set org.gnome.desktop.wm.preferences auto-raise false
>
> That's how I set for mouse focus.  When you move the mouse around, the
> focus is on that window, so you just start typing, no need for any
> other action to select.  The window won't necessarily be raised, and
> that's exactly how I use it.  I type in partially obstructed or
> non-raised windows, where the foreground window has information I need
> to read.
>
> That's what mouse focus means, so I don't understand what the question is.
> If you want focus mouse, then the 'select' means moving the mouse there.
> If you want to bring a window to the foreground you click on it to
> raise it, or you can set auto-raise, but I find that excruciating
> (''hey! I was reading that!")

The OP asked about copying and pasting. If you use a mouse to do the 
copy selection then the initial mouse depression to start the copy 
selection also raises the window. If the destination position in the 
target window happens to be hidden then you need to click on that window 
as well so you can see where you are pasting. Which leads to lots of 
window raising.

I don't know of a way to avoid it apart from:
(a) use the keyboard for copy selection, or
(b) have enough screen real estate that you can separate the windows.

Cheers, Dave

> On Fri, Jun 3, 2016 at 4:30 AM, Colin Law <clanlaw at gmail.com> wrote:
>> On 3 June 2016 at 09:23, Jacques Beigbeder <Jacques.Beigbeder at ens.fr> wrote:
>>> Hello,
>>>
>>> As system administrator, I have several terminals opened
>>> on my screen. I use Unity setup with:
>>> * focus on mouse
>>> * raise on click. I hate this because when I copy/paste from
>>>    on one term to another, windows goes front one and the other
>>>    and one and the other...
>>>
>>> If I remove "raise on click", I just have autoraise. I don't like.
>>>
>>> And I have nothing else than autoraise and raise on click.
>>> Do I miss something? How to raise a window on my request?
>>
>> How are you setting those features?
>>
>> Colin




More information about the ubuntu-users mailing list