From a9852e4600c9d34a286d04503dee6bf43ccd4039 Mon Sep 17 00:00:00 2001 From: Tommy Date: Wed, 22 May 2024 03:10:01 -0700 Subject: [PATCH] Cleanup Signed-off-by: Tommy --- debian-gnome/debian-gnome.sh | 22 ++++++++++++++++++---- fedora-gnome/fedora-gnome.sh | 3 --- 2 files changed, 18 insertions(+), 7 deletions(-) diff --git a/debian-gnome/debian-gnome.sh b/debian-gnome/debian-gnome.sh index 7523308..4ce17dd 100644 --- a/debian-gnome/debian-gnome.sh +++ b/debian-gnome/debian-gnome.sh @@ -62,7 +62,7 @@ sudo apt autoremove -y sudo apt purge gnome-software thunderbird keepassxc # Remove Network + hardware tools packages -sudo apt purge -y cups* '*nfs*' rygel '*smtp*' '*telnet*' +sudo apt purge -y avahi* cups* '*nfs*' rygel '*smtp*' system-config-printer* '*telnet*' # Remove support for some languages and spelling sudo apt purge -y '*speech*' @@ -73,16 +73,30 @@ sudo apt purge -y ImageMagick* sane* simple-scan # Remove Active Directory + Sysadmin + reporting tools sudo apt purge -y realmd +# Remove unnecessary network tools +sudo apt purge -y ifupdown mobile-broadband-provider-info modemmanager + # Remove Gnome apps -sudo apt purge -y baobab chrome-gnome-shell eog gnome-calculator gnome-calendar gnome-charaters gnome-clocks gnome-disk-utility gnome-font-viewer gnome-maps gnome-music gnome-remote-desktop gnome-tweaks gnome-user-share gnome-weather totem +sudo apt purge -y baobab chrome-gnome-shell eog gnome-calculator gnome-calendar gnome-characters gnome-clocks gnome-color-manager \ + gnome-contacts gnome-disk-utility gnome-font-viewer gnome-logs gnome-maps gnome-music gnome-remote-desktop gnome-shell-extensions \ + gnome-sound-recorder gnome-tweaks gnome-user-share gnome-weather totem # Remove apps -sudo apt purge -y cheese evince file-roller* firefox* libreoffice* yelp +sudo apt purge -y cheese evince evolution file-roller* firefox* libreoffice* seahorse shotwell synaptic* rhythmbox yelp + +# Remove other packages +sudo apt purge -y cron lvm2 lynx '*vmware*' xserver-xephyr xsettingsd -sudo apt purge -y system-config-printer* xsettingsd sudo apt autoremove -y sudo apt autoclean +# Add console group +sudo groupadd --system console +sudo usermod -aG console user + +# Add extrepo +sudo apt install -y extrepo + # Adding KickSecure's repo sudo http_proxy=http://127.0.0.1:8082 https_proxy=http://127.0.0.1:8082 extrepo enable kicksecure diff --git a/fedora-gnome/fedora-gnome.sh b/fedora-gnome/fedora-gnome.sh index 481f7b3..c5e5782 100644 --- a/fedora-gnome/fedora-gnome.sh +++ b/fedora-gnome/fedora-gnome.sh @@ -107,9 +107,6 @@ sudo dnf -y remove openh264 ImageMagick* sane* simple-scan # Remove Active Directory + Sysadmin + reporting tools sudo dnf -y remove 'sssd*' realmd cyrus-sasl-gssapi quota* dos2unix kpartx sos samba-client gvfs-smb -# Remove vm and virtual stuff -sudo dnf -y remove 'podman*' '*libvirt*' 'open-vm*' qemu-guest-agent 'hyperv*' spice-vdagent virtualbox-guest-additions vino xorg-x11-drv-vmware xorg-x11-drv-amdgpu - # Remove NetworkManager sudo dnf -y remove NetworkManager-pptp-gnome NetworkManager-ssh-gnome NetworkManager-openconnect-gnome NetworkManager-openvpn-gnome NetworkManager-vpnc-gnome ppp* ModemManager