Disable Apport Error Messages - 'The application [app] has closed unexpectedly.'

Getting frustrated with the number of Apport error messages that keep popping up, like in the image below telling you 'The application [app] has closed unexpectedly.'? Follow these simple steps to disable the messages.

2 min read

  1. Open The Apport Configuration File

    Open up a terminal (Ctrl+Alt+t) and enter the following command:

    sudo nano /etc/default/apport

    You should see the contents of the file which will look like this:

    # set this to 0 to disable apport, or to 1 to enable it
    # you can temporarily override this with
    # sudo service apport start force_start=1
  2. Edit The File

    Using the arrows on the keyboard navigate to the end on the file and change the '1' to a '0' like below:

  3. Save The Changes

    Press Ctrl+x then hit Y followed by Enter to confirm you want to save the changes.

    The changes will take effect either after a reboot or running the following command:

    sudo restart apport

Thank you for reading this article. Please share if you liked it.