apport is registered as the file handler for .crash files so that one can copy a .crash file from a system which cannot submit the crash to one which can. However, I don't think that use crash is used very frequently and it is just as easy to manually submit the crash by using apport-cli so let's remove the file handler.
I tested the attached patch by rebuilding apport and installing it on an Artful system, this was enough to make .crash files open with a text editor instead of apport-gtk.
apport is registered as the file handler for .crash files so that one can copy a .crash file from a system which cannot submit the crash to one which can. However, I don't think that use crash is used very frequently and it is just as easy to manually submit the crash by using apport-cli so let's remove the file handler.
I tested the attached patch by rebuilding apport and installing it on an Artful system, this was enough to make .crash files open with a text editor instead of apport-gtk.