The system crash dialog is annoying me, how can I turn it off? I'd also like to know how to turn it back on just in case I need it to report a problem.
You need to edit
Graphical: Open a terminal with (CTRL+ALT+T) and type this:
and then push ENTER. You password is being typed, but will not display as dots.
A file editor is now open. Change enabled from "0" to a "1" so it looks like this:
To turn it off make it:
Now save your changes and close the file editor. Apport will now no longer start at boot. If you want to turn it off immediately without rebooting, run
You can also use
See also :
The above script should stop apport, then take a backup of its configuration file, disable apport on boot, and lastly moves the backup to your home directory.
Don't disable apport. One of these days, you might have a sequence of crashes and never know it except for system bad behavior or some application-specific symptom.
The /var/crash directory is there to record any mishap. You might need it some day.
The repetitive crash pop-up behavior should now be gone. Also, the crash reports that you saved might be valuable in reporting a bug to launchpad.
On newer versions of ubuntu (15.04+)
To stop the service:
To disable the service at startup:
To check the status of the service:
Finally, you can also prevent the startup of a systemd service by masking it. The service will not be able to start (even manually) unless unmasked.
This should create symlink from /etc/systemd/system/apport.service to /dev/null. fedoraproject.org