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.
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 enabled=1
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:
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