1
0
mirror of https://github.com/tommytran732/Linux-Setup-Scripts synced 2024-12-25 00:01:59 -05:00

Update Ubuntu-22.04-Desktop.sh

Signed-off-by: Tommy <contact@tommytran.io>
This commit is contained in:
Tommy 2023-06-05 23:57:50 -07:00 committed by GitHub
parent 4f295ce789
commit 67a942b662
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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