Prevent Notification steal focus on Ubuntu 18.04

On Ubuntu, some times notifications steal focus from current application. This annoying when you are working on terminal. This is due to start focus feature of gnome when your mouse is over the notification area.

boby@sok-01:~$ gsettings get org.gnome.desktop.wm.preferences focus-new-windows
'smart'
boby@sok-01:~$

We need to change the value of focus-new-windows from smart to strict. This can be done with command

gsettings set org.gnome.desktop.wm.preferences focus-new-windows 'strict'
Advertisement
Add a comment

Leave a Reply

Your email address will not be published. Required fields are marked *

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use
Advertisement