Skip to content

Instantly share code, notes, and snippets.

@rjarow
Created June 5, 2017 17:13
Show Gist options
  • Save rjarow/1fa9e325441eb027cea38be7e8315c89 to your computer and use it in GitHub Desktop.
Save rjarow/1fa9e325441eb027cea38be7e8315c89 to your computer and use it in GitHub Desktop.
#/bin/bash
# RTTG Post eOS Loki Install Script. v1.0
# Last Updated 25 May 2017
#
# ElementaryOS Loki Specific Stuff
#
# Remove guest access from login
sudo sh -c "echo 'allow-guest=false' >> /usr/share/lightdm/lightdm.conf.d/40-pantheon-greeter.conf"
# Install Elementary Tweaks -
sudo apt install software-properties-common -y
sudo add-apt-repository ppa:philip.scott/elementary-tweaks -y
sudo apt update -y
sudo apt install elementary-tweaks -y
# Install missing Software Sources
sudo apt install software-properties-gtk
#
# Generic Ubuntu based installs
#
# Install needed apps/tools in linux with PPA support
sudo apt update -y
sudo apt install software-properties-common gdebi git dconf-editor openssh-server -y
sudo apt install htop redshift redshift-gtk thunderbird filezilla banshee gedit pinta libreoffice inkscape shutter vlc deluge geany tilda -y
# Install Archive Management Tools
sudo apt install rar unrar cabextract lzip lunzip arj unace p7zip-rar p7zip -y
# Install Browsers and Plugins
sudo apt install firefox chromium-browser -y
sudo apt-get install adobe-flashplugin -y
sudo apt-get install pepperflashplugin-nonfree -y
# Install Aptik - http://www.teejeetech.in/p/aptik.html
sudo apt-add-repository -y ppa:teejee2008/ppa -y
sudo apt update -y
sudo apt install aptik -y
# Install Ukuu - http://www.teejeetech.in/p/ukuu-kernel-upgrade-utility.html
sudo apt-add-repository -y ppa:teejee2008/ppa -y
sudo apt update -y
sudo apt install ukuu -y
# Install Timeshift - http://www.teejeetech.in/p/timeshift.html
sudo apt-add-repository -y ppa:teejee2008/ppa
sudo apt update -y
sudo apt install timeshift -y
# Install Telegram - http://telegram.org
sudo add-apt-repository ppa:atareao/telegram -y
sudo apt update -y
sudo apt install telegram -y
# Install Variety Wallpaper Changer - http://peterlevi.com/variety/how-to-install/
sudo add-apt-repository ppa:peterlevi/ppa -y
sudo apt update -y
sudo apt install variety variety-slideshow -y
# Install Albert Launcher - https://albertlauncher.github.io/docs/installing/
sudo add-apt-repository ppa:nilarimogard/webupd8 -y
sudo apt update -y
sudo apt install albert -y
# Install Lollypop - https://gnumdk.github.io/lollypop-web/
sudo add-apt-repository ppa:gnumdk/lollypop -y
sudo apt update -y
sudo apt install lollypop -y
# Install Atom - https://atom.io/
sudo add-apt-repository ppa:webupd8team/atom -y
sudo apt update -y
sudo apt install atom -y
# Install Brackets -
sudo add-apt-repository ppa:webupd8team/brackets -y
sudo apt update -y
sudo apt install brackets -y
# Install y-ppa manager
sudo add-apt-repository ppa:webupd8team/y-ppa-manager -y
sudo apt update -y
sudo apt install y-ppa-manager -y
# Install Spotify - https://www.spotify.com/us/download/linux/
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys BBEBDCB318AD50EC6865090613B00F1FD2C19886
echo deb http://repository.spotify.com stable non-free | sudo tee /etc/apt/sources.list.d/spotify.list
sudo apt update -y
sudo apt install spotify-client -y
#
# Install Themes / Icons / Cursors / Cosmetics
#
# Install Moka Icons - https://snwh.org/moka
sudo add-apt-repository ppa:moka/daily -y
sudo apt update -y
sudo apt install moka-icon-theme faba-icon-theme faba-mono-icons -y
# Install Arc Theme - https://github.com/horst3180/arc-theme
cd /tmp
sudo sh -c "echo 'deb http://download.opensuse.org/repositories/home:/Horst3180/xUbuntu_16.04/ /' > /etc/apt/sources.list.d/arc-theme.list"
wget -nv http://download.opensuse.org/repositories/home:Horst3180/xUbuntu_16.04/Release.key -O Release.key
sudo apt-key add - < Release.key
sudo apt-get update -y
sudo apt-get install arc-theme -y
cd ~
# Install Elementary Plus Icons - https://github.com/mank319/elementaryPlus
sudo add-apt-repository ppa:cybre/elementaryplus -y
sudo apt update -y
sudo apt install elementaryplus -y
# Install Breeze Cursors
sudo apt install breeze-cursor-theme -y
#
# Security related items
#
# Install FireJail and fix PulseAudio issue - https://firejail.wordpress.com
sudo add-apt-repository ppa:deki/firejail -y
sudo apt update -y
sudo apt install firejail -y
mkdir -p ~/.config/pulse
cd ~/.config/pulse
cp /etc/pulse/client.conf .
echo "enable-shm = no" >> client.conf
#
# Virtualization needs
#
# Install VirtualBox-5.1 - https://www.virtualbox.org/wiki/Linux_Downloads
cd /tmp
wget -q https://www.virtualbox.org/download/oracle_vbox_2016.asc -O- | sudo apt-key add -
echo "# VirtualBox Source" | sudo tee --append /etc/apt/sources.list
echo "deb http://download.virtualbox.org/virtualbox/debian xenial contrib" | sudo tee --append /etc/apt/sources.list
sudo apt update -y
sudo apt install virtualbox-5.1 -y
# Install UFW + GUFW
sudo apt install ufw gufw -y
# Install Vagrant
# sudo apt install vagrant -y
# need ppa for newer ver / ubuntu repo ver doesnt work with virtualbox-5.1
# Install LXD
sudo add-apt-repository ppa:ubuntu-lxc/lxd-stable -y
sudo apt update -y
sudo apt installl lxd -y
# Install boxes
sudo apt install boxes
# A final full-upgrade
sudo apt update -y
sudo apt full-upgrade -y
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment