Skip to content

Instantly share code, notes, and snippets.

@ivan-demchenko
Last active August 29, 2015 13:59
Show Gist options
  • Save ivan-demchenko/10534886 to your computer and use it in GitHub Desktop.
Save ivan-demchenko/10534886 to your computer and use it in GitHub Desktop.
My Ubuntu Tweaks
#
# Ubuntu Tweak
#
sudo add-apt-repository ppa:tualatrix/ppa -y && sudo apt-get update && sudo apt-get install ubuntu-tweak -y
#
# Git
#
sudo apt-get update && sudo apt-get install git giggle -y
#
# Install Custom Fonts
#
sudo mkdir /usr/share/fonts/truetype/opensans
sudo cp ~/Downloads/Open_Sans/* /usr/share/fonts/truetype/opensans/
sudo fc-cache -f -v
#
# Synaptic
#
sudo apt-get install synaptic -y
#
# CPU/Memory Indicator
#
sudo add-apt-repository ppa:indicator-multiload/stable-daily -y && sudo apt-get update && sudo apt-get install indicator-multiload -y
#
# App Grid
#
sudo add-apt-repository ppa:appgrid/stable -y && sudo apt-get update && sudo apt-get install appgrid -y
#
# .bashrc
#
sudo apt-get install bash-completion
function parse_git_branch () {
git branch 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/(\1)/'
}
_RED_="\[\033[0;31m\]"
_YELLOW_="\[\033[0;33m\]"
_GREEN_="\[\033[0;32m\]"
_NO_COLOR_="\[\033[0m\]"
PS1="${debian_chroot:+($debian_chroot)}\n\n$_RED_\@ : $_YELLOW_\w: $_GREEN_\$(parse_git_branch)\n$_NO_COLOR_$> "
#
# Nice Theme
#
sudo add-apt-repository ppa:numix/ppa -y && sudo apt-get update && sudo apt-get install numix-gtk-theme numix-icon-theme-circle -y && sudo apt-get install numix-wallpaper-notd -y
#
# Sublime Text 3
# don't forget to "Preferences > Settings - User" set "update_check": false
#
sudo add-apt-repository ppa:webupd8team/sublime-text-3 -y && sudo apt-get update && sudo apt-get install sublime-text-installer -y
#
# Java 8
# http://www.webupd8.org/2012/09/install-oracle-java-8-in-ubuntu-via-ppa.html
#
sudo add-apt-repository ppa:webupd8team/java -y && sudo apt-get update && sudo apt-get install oracle-java8-installer -y
# Check your installation with this command
java -version
# java version "1.8.0"
javac -version
# javac 1.8.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment