Skip to content

Instantly share code, notes, and snippets.

@nonZero
Last active November 5, 2020 21:05
Show Gist options
  • Save nonZero/5c1a63bf4189aa3713b78005aa7c26d8 to your computer and use it in GitHub Desktop.
Save nonZero/5c1a63bf4189aa3713b78005aa7c26d8 to your computer and use it in GitHub Desktop.

Stuff to do on a new Ubuntu 20.04 machine - for kids.

bit.ly/i2004

# Disable lock screens
gsettings set org.gnome.desktop.lockdown disable-lock-screen 'true'
gsettings set org.gnome.desktop.screensaver lock-enabled false

mkdir -p ~/Downloads

# Download zoom
cd ~/Downloads
wget https://zoom.us/client/latest/zoom_amd64.deb

# Download chrome
cd ~/Downloads
wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb

# Update, Upgrade and install a lot of stuff
sudo apt update -y && sudo apt upgrade -y && sudo apt install -y language-pack-he libreoffice-l10n-en-za hunspell-en-ca libreoffice-l10n-he gnome-getting-started-docs-he libreoffice-help-en-gb fonts-sil-ezra firefox-locale-he hunspell-en-au hunspell-en-za language-pack-gnome-he gnome-user-docs-he hunspell-he mythes-en-au libreoffice-l10n-en-gb hyphen-en-ca hunspell-en-gb hyphen-en-gb hw-probe curl htop sysbench p7zip-full vlc libglib2.0-0 libgstreamer-plugins-base1.0-0 libxcb-shape0 libxcb-shm0 libxcb-xfixes0 libxcb-randr0 libxcb-image0 libfontconfig1 libgl1-mesa-glx libxi6 libsm6 libxrender1 libpulse0 libxcomposite1 libxslt1.1 libsqlite3-0 libxcb-keysyms1 libxcb-xtest0 tuxpaint gcompris childsplay ~/Downloads/google-chrome-stable_current_amd64.deb ~/Downloads/zoom_amd64.deb

sudo apt remove -y thunderbird

# Video drivers
ubuntu-drivers devices
sudo ubuntu-drivers autoinstall

# Remove keyring w/password

rm -v ~/.local/share/keyrings/*

Misc

Detect Hardware

sudo lshw | less
sudo lshw | curl -F 'f:1=<-' ix.io
sudo -E hw-probe -all -upload
# sudo -E hw-probe -all -upload -i MY_UNIQUE_ID

Benchmarks

7z b
sysbench cpu --threads=1 run
sysbench cpu --threads=2 run
sysbench cpu --threads=4 run

Submit here: https://forms.gle/2yrXX4zmr97gvJxa8

And:

  • Launch chrome once
  • Restart.
  • Check:
    • Audio (w/youtube)
    • Webcam (if available)

TODO

  • Code to add chrome + zoom + tux paint + gcompris to favourites
  • Install more educational stuff? games?
  • Install Flameshot?
  • audio input/output selector widget?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment