1
0
mirror of https://github.com/tommytran732/Linux-Setup-Scripts synced 2024-09-19 13:44:43 -04:00

Update Ubuntu-22.04-Desktop.sh

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

View File

@ -31,6 +31,10 @@ sudo curl https://raw.githubusercontent.com/GrapheneOS/infrastructure/main/syste
echo "GSSAPIAuthentication no" | sudo tee /etc/ssh/ssh_config.d/10-custom.conf echo "GSSAPIAuthentication no" | sudo tee /etc/ssh/ssh_config.d/10-custom.conf
echo "VerifyHostKeyDNS yes" | sudo tee -a /etc/ssh/ssh_config.d/10-custom.conf echo "VerifyHostKeyDNS yes" | sudo tee -a /etc/ssh/ssh_config.d/10-custom.conf
#Setup NTS
rm -rf /etc/chrony/chrony.conf
curl https://raw.githubusercontent.com/GrapheneOS/infrastructure/main/chrony.conf -o /etc/chrony/chrony.conf
#Disable crash reports #Disable crash reports
gsettings set com.ubuntu.update-notifier show-apport-crashes false gsettings set com.ubuntu.update-notifier show-apport-crashes false
ubuntu-report -f send no ubuntu-report -f send no
@ -41,6 +45,14 @@ sudo systemctl stop whoopsie.service
sudo systemctl disable whoopsie.service sudo systemctl disable whoopsie.service
sudo systemctl mask whoopsie.service sudo systemctl mask whoopsie.service
#Update packages and firmware
sudo apt update -y
sudo apt full-upgrade -y
sudo fwupdmgr get-devices
sudo fwupdmgr refresh --force
sudo fwupdmgr get-updates -y
sudo fwupdmgr update -y
#Remove unneeded packages #Remove unneeded packages
apt purge -y gnome-calculator apt purge -y gnome-calculator