Turn off Linux (Ubuntu) error reporting

About bug reports

Checked online, Ubuntu (including elementary, elementary is based on Ubuntu) desktop version comes pre-installed with Apport, which is a bug collection system that collects software crashes, unhandled exceptions and others, including program bugs, and generates them for debugging purposes crash report. When an application crashes or has a bug, Apport will warn the user through a pop-up window and ask the user whether to submit a crash report.

Seems like only Ubuntu in Linux distributions has this bug report? For whatever reason, I found this thing annoying so I turned it off

  • Temporary shutdown
    sudo service apport stop
    This will not work after rebooting the system.
  • Permanently close
    I like this because I feel like this thing is useless, it may be mine.
    sudo gedit /etc/default/apport
    Modify enabled=0, restart to take effect
  • There is another way, but I personally feel that it is not necessary, that is to permanently remove this function
    sudo apt-get purge apport

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=324550316&siteId=291194637