Questions tagged [focus]

In a windowed GUI, the window that is currently active is said to have "focus"

In a windowed GUI, the window that is currently active is said to have focus. This is the window to which most keystrokes are sent if the user types something on the keyboard. Clicking on another window will normally transfer focus to that window (and usually bring it to the foreground if it was partly covered by another window). In some configurations, a window may receive focus when the mouse pointer is simply moved onto it.

Focus can also be transferred using keyboard shortcuts such as Alt+Tab

Sometimes a non-selected window pops to the foreground and becomes the window with focus; this is referred to as stealing focus.

173 questions
152
votes
4 answers

How do I set focus follows mouse?

Is there a way to set up "focus follows mouse" behavior in Unity?
dharmatech
  • 2,573
73
votes
4 answers

How to prevent new windows from stealing focus?

Typical situation is that I type something (worst case is my password) in some application, when some other application pops up a window and steals the focus, so my typing (password) goes to something else. I would like to prevent this, at least…
47
votes
16 answers

Gnome Shell: Move windows to front on launch (No more "... is ready to use" notifications)

I've been using Gnome Shell with Ubuntu for few days now and have experienced really annoying behaviour with new windows. Sometimes when I use another window and press e.g. Alt+Ctrl +T to open new terminal window, the new window is not brought to…
grafthez
  • 661
  • 1
  • 6
  • 6
34
votes
2 answers

What's the difference between "mouse" and "sloppy"?

From the GConf key description: 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…
Yishu Fang
  • 2,615
33
votes
1 answer

How do I set focus follows mouse in Ubuntu 17.10 and later with GNOME 3?

I found multiple answers on askUbuntu about this topic. But none of them suites to Ubuntu 17.10. So I need to ask again: How do I set focus follows mouse in Ubuntu 17.10?
eDeviser
  • 2,149
  • 7
  • 24
  • 37
31
votes
4 answers

Prevent windows from stealing focus

I'm using Maverick with Compiz enabled. I've searched AskUbuntu and Google. AskUbuntu doesn't have anything on this topic and everything Google turns up is a couple years old. I'm doing browser tests and my tests are constantly spawning new Firefox…
Joel
  • 727
25
votes
5 answers

How to recover focus after losing it while using Wine

Sometimes when using Wine, specially with Games, doing ALT+TAB will make the system loose either keyboard or mouse focus over the current active window. With this I mean that for example, if I do ALT+TAB from the Wine game to Nautilus, Empathy or…
Luis Alvarado
  • 216,643
24
votes
4 answers

How to make Chrome browser "Save as" dialog to be on focus when opening under Ubuntu 21.04?

I use Ubuntu 21.04 and bumped exactly in the issue that seem to be solved long ago... under 14.04 version. But now it's back. I use Chrome 94.0.4606.61(Official Build)and when open "Save as..." dialog, I'd rather prefer to just hit Enter button to…
username
  • 403
19
votes
1 answer

How to prevent notifications from grabbing focus in 18.04

I updated from 16.04 LTS to 18.04 last year, and the Gnome notifications are a nuisance. In 16.04 with Unity, notifications would not grab focus, they'd just appear as an overlay in the corner -- you couldn't even click on them. In 18.04 with…
Salda007
  • 333
16
votes
1 answer

Ubuntu 14.04 Calculator does not get focus when opened from keyboard shortcut

I am using a Microsoft Natural® Ergonomic Keyboard 4000 on my Ubuntu 14.04 x64 and since I upgraded from Ubuntu 13.10 I noticed that the Calculator application does not get focus when started from the keyboard shortcut. It gets started like the last…
Alex Burdusel
  • 1,663
  • 2
  • 18
  • 25
16
votes
4 answers

Non-focused windows not responding to mouse clicks

I am encountering a problem wherein, after using Ubuntu 20.04 for awhile, non-focused windows stop responding to mouse clicks (and thus do not gain focus). Furthermore the title bar of even the focused window doesn't recognize the mouse, so I…
16
votes
2 answers

Raise a window in 20.04 by clicking without clicking any of the buttons inside it (disable "click-through")

I would like to configure Ubuntu 20.04 (with Gnome shell) so that if I click a window which does not have focus, that click raises the window and does nothing else; in particular, that click to raise the window does not actually have an effect on…
sil
  • 4,282
15
votes
3 answers

Is there software which time- tracks window & application usage?

Is there a software which keeps time of my activities and gives a report? Based on focused window and window title. Report would just show time spent for specific window and its title like: Application Title …
ambi
  • 193
15
votes
1 answer

How to automatically bring an activated window to the foreground?

When I have a file browser and an image viewer opened and I double click a photo, the image viewer doesn't jump to the foreground, its icon just shakes a bit and acquires a glow around it, and I have to manually click on it to actually see the…
isarandi
  • 407
  • 4
  • 11
13
votes
3 answers

Window focus confusion in unity

I like having focus prevention set to high, so that I don't have some stupid auto-launched app steal my typing in the middle of something else. Unfortunately, Unity keeps focus on the right window while raising the new one. A number of times, this…
Bryan Agee
  • 3,376
1
2 3
11 12