From 67a942b662e042c19f0e4eba9358e25b4e05620a Mon Sep 17 00:00:00 2001 From: Tommy Date: Mon, 5 Jun 2023 23:57:50 -0700 Subject: [PATCH] Update Ubuntu-22.04-Desktop.sh Signed-off-by: Tommy --- Ubuntu-22.04-Desktop.sh | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/Ubuntu-22.04-Desktop.sh b/Ubuntu-22.04-Desktop.sh index 6870455..a0be4e9 100644 --- a/Ubuntu-22.04-Desktop.sh +++ b/Ubuntu-22.04-Desktop.sh @@ -38,6 +38,16 @@ rm -rf /etc/chrony/chrony.conf sudo curl https://raw.githubusercontent.com/GrapheneOS/infrastructure/main/chrony.conf -o /etc/chrony/chrony.conf sudo systemctl restart chronyd +# Disable automount +echo '[org/gnome/desktop/media-handling] +automount=false +automount-open=false' | sudo tee /etc/dconf/db/local.d/automount-disable + +echo 'org/gnome/desktop/media-handling/automount +org/gnome/desktop/media-handling/automount-open' | sudo tee /etc/dconf/db/local.d/locks/automount-disable + +sudo dconf update + #Setup UFW sudo ufw enable