It's just annoying. I know what happens on my system and if I want to check a software, I can do it on my own. Though I don't know how to disable that. Turning off every notification panel doesn't change a single thing. Turning off notifications doesn't change anything. Does anyone have a solution ?
8 Answers
gsettings set org.gnome.desktop.wm.preferences auto-raise 'true'
For anyone viewing this question recently, and willing to accept the newly opened window to rise on top of other open windows.
- 339
- 2
- 3
The answer I arrived at is to install this Gnome Extension:
https://extensions.gnome.org/extension/1007/window-is-ready-notification-remover/
Discovered while participating in this issue:
- 401
You're observing GNOME's focus stealing prevention kicking it. A background app wants to steal the focus (i.e., put one of its windows in focus) but GNOME's heuristics determine that the request is not based on a current user interaction, so the currently focused window should keep its focus.
This GNOME extension will mute the notification:
https://extensions.gnome.org/extension/1007/window-is-ready-notification-remover/
If you instead would like to disable focus stealing prevention, i.e., you want the window mentioned in the notification to actually get the focus, then use this extension instead:
https://extensions.gnome.org/extension/2182/noannoyance/
For more background: https://gitlab.gnome.org/GNOME/mutter/-/issues/673
(The above comment was written by user real-or-random as a replacement for my answer - and then reverted back - when it should have just been added as another answer. I am posting it on their behalf so it's not lost.)
- 401
There is a gnome shell extension called Steal my Focus which disables this behavior but it doesn't seem to be supported by the developer anymore. You can make it work though by forking the git repository, editing the metadata.json file and adding your gnome-shell version in there. Here is mine:
{
"_generated": "Generated by SweetTooth, do not edit",
"description": "Let windows steal focus. Removes the annoying 'Window is ready' notification and focus window immediately",
"name": "Steal My Focus",
"original-authors": [
"kagesenshi.87@gmail.com"
],
"shell-version": [
"3.2","3.5.2","3.6","3.6.2","3.7","3.8","3.10","3.10.1"
],
"url": "https://github.com/kagesenshi/gnome-shell-extension-stealmyfocus",
"uuid": "steal-my-focus@kagesenshi.org",
"version": 1
}
Here is a similar extension that works on newer versions of gnome-shell (tested on 3.16) https://extensions.gnome.org/extension/1005/focus-my-window/
- 149
I've found another half-measure: another extension which is not stealing focus, but providing a keyboard shortcut for showing the "ready" application/dialog: https://github.com/awamper/window-demands-attention-shortcut
Default shortcut is Super-W and it is configurable in gnome-tweak-tool.
- 1,354
- 2
- 8
- 14
- Use dconf-editor
- Set property "/org/gnome/desktop/wm/preferences/focus-new-windows" to "strict"
- Apply changes
- Enjoy
- 101