21

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 ?

5
  • I have this problem whenever I click on a link on any application other than a browser. For example, in a mail application, I click on a link, and instead of a browser appearing, I get this notification. I can't understand why it would be desirable to have a notification instead of the actual browser open... – kapace Nov 6 '14 at 19:09
  • Well the fact that when you disable notifications, those still appears annoys me to the highest possible point. – Depado Nov 7 '14 at 14:10
  • related – bummi Nov 7 '17 at 15:03
  • Appears to be caused by one of your windows having "always on top" set, even if it's minimized. – Cees Timmerman Mar 13 '20 at 10:53
  • This question is 6 years old, and has been long resolved by the new Gnome versions – Depado Mar 24 '20 at 9:36
4

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
}
3
  • Though I don't want the window to auto-focus. I just don't want to get notified. (Because it's just annoying) Is there a way to modify that extension so that it doesn't focus ? – Depado Oct 21 '13 at 14:30
  • It is but I don't have the knowledge to mofidy it myself. I understand JavaScript but I don't know much about Gnome Shell's JS API – Adonis K. Kakoulidis Oct 21 '13 at 15:20
  • 1
    Yeah me neither xD I'll just deal with it or wait until Gnome Developpers update the Notification stuff. Thanks for your help. I'll validate your answer. – Depado Oct 23 '13 at 7:46
7

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:

https://github.com/signalapp/Signal-Desktop/issues/3321

5

In Gnome 3.18, there is an option in gnome-tweak-tool to automatically focus on the window instead of displaying this annoying notifications.

3
  • 15
    Could you clarify which option this is? – Bert Peters Nov 22 '18 at 12:08
  • Works on Ubuntu 20.04. – ikurcubic Dec 4 '20 at 16:16
  • 1
    Not found in gnome-tweak with Ubuntu 20.04 – Pierre de LESPINAY Jan 7 at 13:38
5
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.

2
  • This worked for me on Pop!_OS 20.04 / gnome 3.36.8. – Mike Fischer Jan 12 at 7:32
  • Yes, this is the one, thanks. – Ista Apr 7 at 19:33
3

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/

2

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
  • It worked with Ubuntu 17.10 – Anwar Dec 29 '17 at 15:55

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.