Skip to content

Instantly share code, notes, and snippets.

@phantompunk
Last active December 29, 2017 03:02
Show Gist options
  • Save phantompunk/c932ca7c1b1cb84bfbf68e0177ac2e15 to your computer and use it in GitHub Desktop.
Save phantompunk/c932ca7c1b1cb84bfbf68e0177ac2e15 to your computer and use it in GitHub Desktop.
Elementary OS App Quick-Start
# Update your system
sudo apt update -y
sudo apt upgrade -y
#Enable PPA repositories
sudo apt install software-properties-common
# Fish Shell
# 1. Install Fish
sudo apt install fish -y
# 2. Set Fish as the default shell
chsh -s /usr/bin/fish
# 3. Remove default fish greeting
set fish_greeting "Your Custom Greeting"
# Switch back to bash by:
bash
# Set bash as the default shell
chsh -s /bin/bash
# Gdebi
sudo apt install gdebi -y
# Unzip
sudo apt install Unzip -y
# Redshift
sudo apt install redshift -y
#Caffeine
Sudo apt install caffeine -y
#Albert
# 1. Add the Albert repository
sudo add-apt-repository ppa:nilarimogard/webupd8
# 2. Update list of available packages
sudo apt update -y
# 3. Install Albert
sudo apt install albert
#Spotify
# 1. Add the Spotify repository signing keys to be able to verify downloaded packages
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 0DF731E45CE24F27EEEB1450EFDC8610341D9410
# 2. Add the Spotify repository
echo deb http://repository.spotify.com stable non-free | sudo tee /etc/apt/sources.list.d/spotify.list
# 3. Update list of available packages
sudo apt-get update
# 4. Install Spotify
sudo apt-get install spotify-client
#Chrome
# 1. Add the Chrome repository signing keys
wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo apt-key add -
# 2. Add the Chrome repository
sudo sh -c 'echo "deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google-chrome.list'
# 3. Update list of available packages
sudo apt update
# 4. Install Chrome
sudo apt install -y google-chrome-stable
#Google-Drive-Ocamlfuse Client
# 1. Add the Google-Drive-Ocamlfuse repository
sudo add-apt-repository ppa:alessandro-strada/ppa
# 2. Update list of available packages
sudo apt update
# 3. Install Google-Drive-Ocamlfuse
sudo apt install google-drive-ocamlfuse
# 4. Initialize & authorize Google-Drive-Ocamlfuse
google-drive-ocamlfuse
# 5. Create a mount point in the home directory
mkdir ~/YourDrive
# 6. Mount your Google Drive to the new directory
google-drive-ocamlfuse ~/YourDrive
#Elementary Tweaks
# 1. Add the Tweaks repository
sudo add-apt-repository ppa:philip.scott/elementary-tweaks
# 2. Update the list of available packages
sudo apt update
# 3. Install Elementary Tweaks
sudo apt install elementary-tweaks
#VLC
sudo apt install vlc
# 1. Install different codecs for proprietary media formats
sudo apt install ubuntu-restricted-extras
#Peek
# 1. Add the Peek repository
sudo add-apt-repository ppa:peek-developers/stable
# 2. Update the list of available packages
sudo apt update
# 3. Install Peek
sudo apt install peek
#Automount google-drive-ocamlfuse
# 1. Create a shell script called gdfuse in /usr/bin/
sudo vi /usr/bin/gdfuse
# 2. Add this to gdfuse:
#!/bin/bash
su $USERNAME -l -c "google-drive-ocamlfuse -label $1 $*"
exit 0
# 3. Give it executable permission
sudo chmod +x /usr/bin/gdfuse
# 4. Create a mount point
mkdir ~/YourDrive
# 5. Edit your fstab
sudo vi /etc/fstab
# 6. Make sure your UID & GID matches your user
# To check your IDs run: cat /etc/passwd | grep yourUserName
gdfuse#default /home/yourUserName/YourDrive fuse uid=1000,gid=1000 0 0
# 7. Mount your Google Drive
mount ~/YourDrive
#Remove Elementary OS default apps
# Remove default Mail app
sudo apt remove pantheon-mail -y
# Remove default Calender
sudo apt remove maya-calendar -y
# Remove default Epiphany Browser
sudo apt remove epiphany-browser -y
# Remove default media player Noise
sudo apt remove noise -y
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment