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