Ubuntu – How To Disable the “Window not responding” Dialog


When debugging UI programs, I see frequently the "Wait or force quit" Dialog.

This is super annoying, since this dialog blocks basically everything. The whole graphical system is not usable anymore until I select one of the options.

I would like to disable this completely or at least have an option to ignore this window.

Best Answer

This is a known issue. See "Program" is not responding when debugging in gdb.

Judging from the other bug report <something> is not responding window is constantly showing when debugging a program, which appears to be related, the problem seems to be fixed in gnome-shell version 3.28.4.

Run apt-cache policy gnome-shell to know your installed version.

If you are using an old version, try to upgrade your Ubuntu18 by running:

sudo apt update
sudo apt dist-upgrade

However, this issue remains opened for gdb debugging.

As an alternative, delay "Window not responding" Dialog could be a good solution. How to increase waiting time for non responding programs? relates to this, but I couldn't find details on how to do it.

Related Question