33

On Ubunto Focal Fossa 20.4, for most of the apps, for example by searching for VeraCrypt and pressing Enter, Ubuntu displays a notification at the top of my screen which says something like "VeraCrypt is ready". I have to click on this notification so that the app I wanted to open comes to the foreground. Is there a way to change this default behavior?

Thomas
  • 531
  • 4
  • 10
  • 1
    The notification replaces an older behavior. That older behavior, commonly called "window-stealing,' was a common source of user confusion and complaints. – user535733 Oct 23 '20 at 12:35
  • 3
    @user535733 Why didn't Ubuntu just change that behavior by only allowing applications that were manually opened by the user to be focused? – Thomas Oct 23 '20 at 19:58
  • 2
    Ubuntu did not change the behavior. Gnome did. Feel free to ask the Gnome developers (whom we are not). – user535733 Oct 23 '20 at 20:57

2 Answers2

15

There are some Gnome extensions that do exactly that:

pLumo
  • 26,204
  • 2
  • 57
  • 87
9

Windows is Ready - Notification Remover <-- only removes notification, does not focus the open window

Focus my window <-- incompatible

Here, this works best on Ubuntu 22.04

https://extensions.gnome.org/extension/5410/grand-theft-focus/

Yusuf
  • 91
  • 1
  • 2
  • Grand Theft Focus worked for me. I didn't test the others because of this answer. I used the NoAnnoyance extension initially but it didn't seem to work on 22.04. – Rafael Eyng Jan 01 '23 at 22:34
  • This is more maintained than "Focus my window" ("Focus my window" does not work is 43). – Ahmad Ismail Aug 12 '23 at 18:36