From 70cb68ea835c46cd093415d279be9ac6ab7772ac Mon Sep 17 00:00:00 2001 From: Tommy Date: Thu, 22 Jun 2023 04:43:34 -0700 Subject: [PATCH] Lock disable crash reports in dconf Signed-off-by: Tommy --- Ubuntu-22.04-Desktop.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Ubuntu-22.04-Desktop.sh b/Ubuntu-22.04-Desktop.sh index cb42c24..0772c56 100644 --- a/Ubuntu-22.04-Desktop.sh +++ b/Ubuntu-22.04-Desktop.sh @@ -66,7 +66,11 @@ sudo snap install ufw sudo ufw enable #Disable crash reports -gsettings set com.ubuntu.update-notifier show-apport-crashes false +echo '[com/ubuntu/update-notifier] +show-apport-crashes=false' | sudo tee /etc/dconf/db/local.d/disable-apport-crashes + +echo 'com/ubuntu/update-notifier/show-apport-crashes' | sudo tee /etc/dconf/db/local.d/locks/disable-apport-crashes + ubuntu-report -f send no sudo systemctl stop apport.service sudo systemctl disable apport.service