Is there a way to configure every desktop app to open in gdb with debuginfo?

Quite the unusual request, I expect you’re thinking. However, I have quite simple, but I believe sensible, rationale — when testing something like SDB:KDE repositories - openSUSE Wiki, drkonqi doesn’t always appear when a segfault occurs. In fact, in my experience, more frequently than not, it doesn’t. Consequently, I’d like to be able to automatically route all .desktop files I invoke the Application Launcher Plasmoids via gdb with debuginfod enabled.

There’s no need, if an application segfaults on a decent distribution - you should be able to use coredumpctl gdb to inspect the coredump.

1 Like

Thanks, @redstrate. I’ll try that the next time this occurs, and confirm here whether that works.