Skip to content

loochao/dotfiles-3

 
 

Repository files navigation

Base Packages

Let’s begin with upgrading everything at the first boot

sudo apt-get update
sudo apt-get dist-upgrade -y

Also for installing other .deb packages we use gdebi

sudo apt-get install gdebi -y

Setting up Development Environment

sudo apt-get install build-essential -y

Tweak Tools

sudo apt-get install unity-tweak-tool gnome-tweak-tool compizconfig-settings-manager -y

SSH Setup

From Old Setup

ln -s $HOME/Dropbox/.ssh $HOME/.ssh

From Scratch

Generate

ssh-keygen -t rsa -b 4096 -C "cestdiego@gmail.com"
eval "$(ssh-agent -s)"
ssh-add ~/.ssh/id_rsa

Copy it

sudo apt-get install xclip
xclip -sel clip < ~/.ssh/id_rsa.pub

Test

ssh -T git@github.com

Git Setup

Installing

sudo apt-get install git git-core -y

Use Config from Dropbox

ln -s $HOME/Dropbox/.gitconfig $HOME/.gitconfig

Config From Scratch

sudo apt-get install xclip -y
ssh-keygen -t rsa -C "cestdiego@gmail.com"
eval "$(ssh-agent -s)"
ssh-add ~/.ssh/id_rsa
xclip -sel clip < ~/.ssh/id_rsa.pub

Go to SSH Keys in GitHub and add your clipboard public key

Now configure your user

git config --global user.email "cestdiego@gmail.com" &&
git config --global user.name  "Diego Berrocal"

Numix Theme

Add PPA

sudo add-apt-repository ppa:numix/ppa -y

Install

sudo apt-get install numix-gtk-theme numix-icon-theme-circle -y

Imgur-screenshot

Variety

Add PPA

# Variety
sudo add-apt-repository ppa:peterlevi/ppa -y

Install

sudo apt-get install variety -y

Make it work with BSPWM

Install Feh

sudo apt-get install feh

Make this change in ~/.config/variety/scripts/set_wallpaper

# Feh - commented, as it may cause problems with Nautilus, (see bug https://bugs.launchpad.net/variety/+bug/1047083)
feh --bg-scale "$WP" 2> /dev/null

Dropbox setup

I save most of my configuration in my own dropbox

wget https://linux.dropbox.com/packages/ubuntu/dropbox_2015.02.12_amd64.deb
sudo gdebi dropbox_* -y

Obviously I have to remember to only sync certain folders.

Python

Installation

sudo apt-get install python-all python-dev python-pip

Setup

pip install --user virtualenv virtualenvwrapper 
pip install --user ansible youtube-dl jedi flake8

NodeJS

Install

curl -sL https://deb.nodesource.com/setup | sudo bash -
sudo apt-get install nodejs

Emacs

Install

Get Dependencies

sudo apt-get build-dep emacs24 -y

Get Source code

wget http://ftp.gnu.org/gnu/emacs/emacs-24.5.tar.gz
tar -xf emacs-24.5.tar.*
cd emacs-24.5

Build it

./configure
make

Install it

sudo make install

Hunspell and Ispell for Emacs

Install hunspell

sudo apt-get install hunspell hunspell-en-us hunspell-eu-es -y

Link The english and spanish stuff

sudo cp /usr/share/hunspell/en_US.aff /usr/share/hunspell/english.aff &&
sudo cp /usr/share/hunspell/en_US.dic /usr/share/hunspell/english.dic &&
sudo cp /usr/share/hunspell/eu_ES.aff /usr/share/hunspell/castellano.aff &&
sudo cp /usr/share/hunspell/eu_ES.dic /usr/share/hunspell/castellano.dic

Pandoc

wget https://github.com/jgm/pandoc/releases/download/1.13.2/pandoc-1.13.2-1-amd64.deb
sudo gdebi pandoc-1.13.2-1.amd64.deb

Asciinema

Utility that lets me record any terminal at any time

Add PPA

sudo apt-add-repository ppa:zanchey/asciinema -y

Install

sudo apt-get update
sudo apt-get install asciinema -y

Setup

asciinema auth

Java

Add PPA

sudo add-apt-repository ppa:webupd8team/java -y

Install

sudo apt-get install oracle-java7-installer

Android Studio

Dependencies

nsudo apt-get install lib32z1 lib32ncurses5 lib32bz2-1.0 lib32stdc++6

Spotify

Add PPA

sudo apt-add-repository -y "deb http://repository.spotify.com stable non-free" &&
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 94558F59 &&

Install

sudo apt-get update -qq &&
sudo apt-get install spotify-client

LaTeX

Install

sudo apt-get install texlive-full

VMWare

Grab Installer

Enter the following License Key

Hint: These are ROT13’d

PI512-SNJ91-085AC-QZKDK-DYUNS
NN7QH-NCJ15-U848D-C5MTM-CPEP2
IH1A2-6QR5A-Z8QYD-NRZRI-KN2M4
HI3AE-NZM17-08RMC-9LDDR-ZMNL8
TP75H-21R50-Z8Q5D-X6LDK-J28I8

Enable 3D Acceleration

Enable it in the .vmware preference file

emacs ~/.vmware/preferences
# Edit mks.gl.allowBlacklistedDrivers = FALSE
# set to False

SimpleScreenRecorder

Add PPA

# SimpleScreenRecorder
sudo add-apt-repository ppa:maarten-baert/simplescreenrecorder -y

Install

sudo apt-get install simplescreenrecorder -y
# if you want to record 32-bit OpenGL applications on a 64-bit system:
sudo apt-get install simplescreenrecorder-lib:i386 -y

GIF Recording

Install xrectsel

git clone https://github.com/lolilolicon/xrectsel
cd xrectsel
./bootstrap
./configure
make
sudo make install

Add PPA

sudo add-apt-repository ppa:fossfreedom/byzanz

Install

sudo apt-get install xdotool byzanz

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • CSS 50.4%
  • Python 19.9%
  • Perl 19.1%
  • Shell 10.6%