49

On Ubuntu Focal Fossa 20.04, 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?

Flimm
  • 44,031
Thomas
  • 691

3 Answers3

23

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
  • 339
16

There are some Gnome extensions that do exactly that:

pLumo
  • 27,991
0

Another solution (tested on Ubuntu 24.04) which I don't see mentioned here is changing a setting using dconf-editor. Install it with: sudo apt install dconf-editor

Open dconf editor and search for /org/gnome/desktop/wm/preferences/focus-new-windows. Uncheck use default value and set it to 'strict' instead of the default 'smart'.

Vik
  • 71