Setting up and stripping bloat from new Ubuntu desktop 20.10 on the Raspberry Pi
Install SSH
$ sudo apt-get install openssh-server -y
$ sudo nano /etc/ssh/sshd_config
open port 22 or whichever port you like
$ sudo ufw allow <port number you enabled>
$ sudo service ssh restart
Install Argon One Fan Controller
$ cd /tmp/
$ wget https://raw.githubusercontent.com/meuter/argon-one-case-ubuntu-20.04/master/argon1.sh
$ chmod a+x argon1.sh
$ sudo ./argon1.sh
$ argonone-tempmon (is the command that will show temps)
Install locate
$ sudo apt install mlocate
Uninstall Bloat:
$ sudo apt-get remove -yf --purge libreoffice* thunderbird* aisleriot brltty duplicity empathy* example-content gnome-accessibility-themes gnome-contacts gnome-mahjongg gnome-mines gnome-orca gnome-screensaver gnome-sudoku gnome-video-effects landscape-common libsane libsane-common python3-uno rhythmbox* sane-utils shotwell* telepathy* totem* printer-driver*
Remove Snaps:
$ snap list (will show all installed snaps)
$ sudo snap remove snap-store
$ sudo snap remove gtk-common-themes
$ sudo snap remove gnome-3-34-1804
$ sudo snap remove core18
$ sudo snap remove snapd
$ sudo umount /var/snap
$ sudo apt purge snapd
$ sudo rm -rf /snap
$ sudo rm -rf /var/snap
$ sudo rm -rf /var/lib/snapd
$ sudo apt-get clean
$ sudo apt-get autoremove
Disable ipv6 https://itsfoss.com/disable-ipv6-ubuntu-linux/
$ sudo nano /etc/sysctl.conf
add the following 5 lines at the end of sysctl.conf:
#######################################################
#Disable IPv6
net.ipv6.conf.all.disable_ipv6=1
net.ipv6.conf.default.disable_ipv6=1
net.ipv6.conf.lo.disable_ipv6=1
then
$ sudo sysctl -p
Now update Ubuntu
$ sudo apt update && sudo apt full-upgrade -qy --no-install-recommends
$ sudo reboot now
If you no longer can find system settings in gnome after this you can
$ sudo apt install gnome-control-center
Other stuff to make the machine livable…
$ sudo apt install indicator-multiload
$ sudo apt install doublecmd-qt