From 5d8b2dca8855dbd34cf470da29e3e7bc127a60da Mon Sep 17 00:00:00 2001 From: Tommy Date: Mon, 5 Jun 2023 22:45:31 -0700 Subject: [PATCH] Create Ubuntu-22.04-Desktop Signed-off-by: Tommy --- Ubuntu-22.04-Desktop | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 Ubuntu-22.04-Desktop diff --git a/Ubuntu-22.04-Desktop b/Ubuntu-22.04-Desktop new file mode 100644 index 0000000..1701214 --- /dev/null +++ b/Ubuntu-22.04-Desktop @@ -0,0 +1,14 @@ +#!/bin/bash + +#Please note that this is how I PERSONALLY setup my computer - I do some stuff such as not using anything to download GNOME extensions from extensions.gnome.org and installing the extensions as a package instead +#Customize it to your liking +#Run this script as your admin user, NOT root + +#Setting umask to 077 +umask 077 +sudo sed -ie '/^DIR_MODE=/ s/=[0-9]*\+/=0700/' /etc/adduser.conf +sudo sed -ie '/^UMASK\s\+/ s/022/077/' /etc/login.defs +sudo sed -i 's/USERGROUPS_ENAB yes/USERGROUPS_ENAB no/g' /etc/login.defs +echo "umask 077" | sudo tee --append /etc/profile + +apt purge -y gnome-calculator