Skip to content

Instantly share code, notes, and snippets.

@tylerlange
Created June 17, 2020 19:09
Show Gist options
  • Save tylerlange/6d1563933ea005f926d65082048fef38 to your computer and use it in GitHub Desktop.
Save tylerlange/6d1563933ea005f926d65082048fef38 to your computer and use it in GitHub Desktop.
#!/bin/bash
set -x
sudo rm -f /etc/apt/sources.list.d/*bionic* # remove bionic repositories
# Add dell drivers for focal fossa
sudo sh -c 'cat > /etc/apt/sources.list.d/focal-dell.list << EOF
deb http://dell.archive.canonical.com/updates/ focal-dell public
# deb-src http://dell.archive.canonical.com/updates/ focal-dell public
deb http://dell.archive.canonical.com/updates/ focal-oem public
# deb-src http://dell.archive.canonical.com/updates/ focal-oem public
deb http://dell.archive.canonical.com/updates/ focal-somerville public
# deb-src http://dell.archive.canonical.com/updates/ focal-somerville public
deb http://dell.archive.canonical.com/updates/ focal-somerville-melisa public
# deb-src http://dell.archive.canonical.com/updates focal-somerville-melisa public
EOF'
sudo apt update -qq
sudo apt install git htop lame net-tools flatpak audacity \
openssh-server sshfs simplescreenrecorder nano \
vlc gthumb gnome-tweaks ubuntu-restricted-extras thunderbird \
gnome-tweak-tool spell synaptic -y
# Install drivers
sudo apt install oem-somerville-melisa-meta libfprint-2-tod1-goodix oem-somerville-meta tlp-config -y
# Install fonts
sudo apt install fonts-firacode fonts-open-sans -y
gsettings set org.gnome.desktop.interface font-name 'Open Sans 12'
gsettings set org.gnome.desktop.interface monospace-font-name 'Fira Code 13'
# Install fusuma for handling gestures
sudo gpasswd -a $USER input
sudo apt install libinput-tools xdotool ruby -y
sudo gem install fusuma
# Install Howdy for facial recognition
sudo add-apt-repository ppa:boltgolt/howdy -y
sudo apt update -qq
sudo apt install howdy -y
# Remove packages:
sudo apt remove rhythmbox -yy
# Remove snaps and Add Flatpak support:
sudo snap remove gnome-characters gnome-calculator gnome-system-monitor
sudo apt install gnome-characters gnome-calculator gnome-system-monitor \
gnome-software-plugin-flatpak -yy
flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
# Purge Firefox, install Chromium:
sudo apt remove firefox -yy
sudo apt remove firefox-locale-en -yy
sudo apt install chromium-browser -y
## Multimedia
sudo apt install -y gimp
sudo flatpak install spotify -y
## Games
sudo apt install -y steam-installer
# Gotta reboot now:
sudo apt update -qq && sudo apt upgrade -y
echo $'\n'$"Ready for REBOOT"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment