I'm doing automated testing with Sikuli and it's important that the stuff being tested is visible on the screen. Lately, the apps/windows keep opening in the background, behind whatever is currently in focus, with the notification "[application] is ready". How do I tell Ubuntu to stop doing this?
2 Answers
Gnome Shell, which is used by Ubuntu, has the feature that launched applications are opened in the background. While this may be desirable in some workflows, many users will consider this an annoyance. A gnome Shell extension, appropriately named "No Annoyance", changes this behavior, and makes sure a launched application is immediately raised.
Install the extension with the command sudo apt install gnome-shell-extension-no-annoyance
, or using Synaptic Manager (not installed by default) or even using "Software". To enable the extension after installation, you can use "Gnome Tweaks" (not installed by default).

- 88,010
-
Thank you, this is a life saver. Testing it to see how well it works. – Tannalein Nov 28 '19 at 15:13
-
-
This work for Skype on Ubuntu 19.04 but not work on Ubuntu 19.10. On every skype message i see "windows is ready". How do i fix it? – tagplus5 Dec 17 '19 at 12:15
-
3It is not a feature. It is a mistake in the design. If someone need to write a "no-annoyance" program that something is very wrong with the original system...
And yes' it seems much worse in 19.10.
– QT-1 Jan 01 '20 at 10:35
There is an option in dconf-editor.
org / gnome / desktop / wm / preferences / auto-raise
It is possible that activating this option helps. It is hard for me to tell as I tried several things and I am not sure if it works consistently.
Another hack I am trying is to set org / gnome / desktop / wm / preferences / auto-raise-delay to 2000.
I would appreciate comments about the reflectivity of this setting.

- 1,402
-
This does not provide an answer to the question. To critique or request clarification from an author, leave a comment below their post. - From Review – guntbert Dec 16 '19 at 22:43
-
1Unfortunately the behavior after application of this change is not clear. It claims to solve the situation yet it seems to do so only sometimes. I would actually appriciate a further clarification.. – QT-1 Dec 17 '19 at 20:01
Alt
+Tab
to quickly bring into focus until someone comes up with a better solution. – WinEunuuchs2Unix Nov 27 '19 at 11:36