Skip to content

Instantly share code, notes, and snippets.

@eat-sleep-code
Last active March 24, 2020 23:54
Show Gist options
  • Save eat-sleep-code/83318ab2aaf4d33656d0ccc01b45b2b4 to your computer and use it in GitHub Desktop.
Save eat-sleep-code/83318ab2aaf4d33656d0ccc01b45b2b4 to your computer and use it in GitHub Desktop.
Script to automate some of the post-installation steps in Ubuntu / Debian. NOTE: Double-check version numbers, etc. before executing!
sudo apt-get update
sudo apt-get dist-upgrade
### if using some Dell Bluetooth modules...
# sudo touch /etc/udev/rules.d/97-hid2hci.rules
# sudo apt-get remove bluez
### if using Oracle VirtualBox...
# sudo apt-get install virtualbox-guest-x11
# sudo VBoxClient --clipboard
### also see, http://ubuntuhandbook.org/index.php/2017/04/custom-screen-resolution-ubuntu-desktop/
### Install some packages
sudo apt-get install curl apt-transport-https lm-sensors hddtemp pulseaudio pavucontrol paprefs ubuntu-sounds vlc dconf-editor
### Configure hardware sensors (you may be prompted to enter 'yes' several times the first time this runs
sudo sensors-detect
sensors
### Install Google Chrome
wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
sudo dpkg -i google-chrome-stable_current_amd64.deb
### Move the "Show Applications" button to top or left of dock bar.
echo show-apps-at-top=true >> /usr/share/glib-2.0/schemas/10_ubuntu-dock.gschema.override
sudo glib-compile-schemas /usr/share/glib-2.0/schemas/
### Remove subfolders from All Applications screen
gsettings set org.gnome.desktop.app-folders folder-children ['']
### Clear out background image
gsettings set org.gnome.desktop.background picture-options 'none'
### Setup your sound defaults
sudo alsamixer
sudo alsactl store
### Install NVM, NodeJs, NPM
curl https://raw.githubusercontent.com/creationix/nvm/master/install.sh | bash
source ~/.profile
nvm install v12.7.0
npm update -g
### Install Visual Studio Code
wget -q https://packages.microsoft.com/config/ubuntu/19.04/packages-microsoft-prod.deb
sudo dpkg -i packages-microsoft-prod.deb
### Install .net SDK
sudo snap install dotnet-sdk --classic
### Install GitKraken
# wget https://release.gitkraken.com/linux/gitkraken-amd64.deb
# sudo dpkg -i gitkraken-amd64.deb
### Install Gimp for image creation and manipulation
# sudo snap install gimp
### Install Trimage for image file optimization
# sudo apt-get install trimage
### Install Blender for 3D modeling
# sudo snap install blender --classic
### Install VirtualBox VM software
# sudo apt-get install virtualbox
### One last update, and then, cleanup, cleanup, everybody cleanup
sudo snap refresh
sudo apt-get update
sudo apt-get dist-upgrade
sudo apt-get autoremove
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment