Programster's Blog

Tutorials focusing on Linux, programming, and open-source

Xubuntu 20.04 Setup Desktop Script

Below is the script I execute after having performed a fresh installation of Xubuntu Desktop 20.04.

# Change sources
sudo mv /etc/apt/sources.list /etc/apt/sources.list.original

sudo echo "
deb mirror://mirrors.ubuntu.com/mirrors.txt fossa main restricted universe multiverse
deb mirror://mirrors.ubuntu.com/mirrors.txt fossa-updates main restricted universe multiverse
deb mirror://mirrors.ubuntu.com/mirrors.txt fossa-backports main restricted universe multiverse
deb mirror://mirrors.ubuntu.com/mirrors.txt fossa-security main restricted universe multiverse" | sudo tee /etc/apt/sources.list.closest

sudo ln -s /etc/apt/sources.list.closest /etc/apt/sources.list

# Update the system
sudo apt update && sudo apt dist-upgrade -y

# Remove nano and parole (installing vim and vlc/mpv later)
sudo apt-get remove nano parole -y


sudo apt install -y \
  byobu vim terminator gedit htop nload pydf ncdu sysstat \
  chromium-browser seafile-gui openjdk-11-jdk nfs-common \
  vlc mpv git rabbitvcs-cli  openvpn filezilla caja fonts-firacode \
  typecatcher clamav clamav-daemon xclip simplescreenrecorder \
  php7.4-cli php7.4-curl php7.4-xml php7.4-mysql composer  \
  xscreensaver-gl cheese tcl-expect expect


# Install shutter
sudo add-apt-repository ppa:linuxuprising/shutter -y
sudo apt update
sudo apt install shutter -y


# Install sublime 3 PPA
wget -qO - https://download.sublimetext.com/sublimehq-pub.gpg | sudo apt-key add -
echo "deb https://download.sublimetext.com/ apt/stable/" | sudo tee /etc/apt/sources.list.d/sublime-text.list
sudo apt-get update
sudo apt-get install sublime-text -y


# Install atom markdown editor
sudo snap install atom --classic


# Install spotify
sudo snap install spotify -y

# Install discord
sudo snap install discord -y

# Install draw.io diagramming tool.
sudo snap install drawio -y

# Install prog-exec
wget https://raw.githubusercontent.com/programster/prog-exec/master/prog-exec
chmod +x prog-exec
sudo mv -i prog-exec /bin/.


# @TODO - Set keyboard shortcuts
# -  super-q -  terminator
# - super - e  thunar
# - shutter shortcuts

Last updated: 24th August 2020
First published: 8th August 2020