How do you disable the new "is not responding" prompts for frozen apps?

Developers

I see 7 is now super keen on terminating unresponse apps.
Which is great, unless you're trying to debug them.

Elementary now repeatedly flashes a dialog in front of you, stealing focus every few seconds, and if you try to drag it out of the way to ignore it, it terminates your app anyway after a small delay, destroying your session.

How do you turn this off, so you can develop and debug applications in peace?

Posted Feb 13, 2023, 2:58 AM UTC

12
SuAlfons•

Hmm... had the same on Manjaro GNOME.... maybe its a Gnome thing that transpires to eOS, too.

​

I found the tip to increase the timeout for Mutter through gsettings, maybe it is something that is applicable to eOS, too (as Pantheon still share some base with Gnome).

gsettings set org.gnome.mutter check-alive-timeout 20000

3
ProPukeOP•

Cheers, that seems like the ticket!

Seems weird there doesn't seem to be any mechanism for checking if the process is being debugged by gdb or something else at the time, and avoiding this auto-termination.
Just changing mutter globally doesn't feel ideal, but it is a solution, so I'll take it.

Cheers!

1