Skip to content

Instantly share code, notes, and snippets.

@bbarad
Last active February 26, 2020 17:03
Show Gist options
  • Star 3 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save bbarad/705add43c76f60020772 to your computer and use it in GitHub Desktop.
Save bbarad/705add43c76f60020772 to your computer and use it in GitHub Desktop.
Set up Precise with i3-wm on an Asus C200 using crouton
# Must have already entered dev mode to use this shell script from a crosh shell.
wget -O ~/Downloads/crouton http://goo.gl/fd3zc
sudo sh -e ~/Downloads/crouton -t x11,audio,keyboard,extension -n i3precise
# This takes 15-20 minutes.
sudo enter-chroot -n i3precise
# run from within your headless precise installation
# Large parts are lifted from my good buddy @ cosmopol.is
sudo apt-get install i3
echo "exec i3" > ~/.xinitrc
## import your config file here if you have one, otherwise one will be generated when you run xinit at the bottom of this script.
# install zsh
sudo apt-get install zsh
wget –no-check-certificate https://github.com/robbyrussell/oh-my-zsh/raw/master/tools/install.sh -O – | sh
chsh -s /bin/zsh
# Some worthwhile stuff to include
sudo apt-get install git vim python python-pip python-dev python-software-properties sshfs
sudo pip install virtualenv virtualenvwrapper
sudo add-apt-repository ppa:webupd8team/sublime-text-3
sudo apt-get update
sudo apt-get install sublime-text-installer
# Scientist stuff
sudo apt-get install python-numpy python-scipy python-matplotlib ipython ipython-notebook python-pandas python-sympy python-nose
sudo apt-get install pymol
# I am trying out julia so I want this, but you may not.
sudo add-apt-repository ppa:staticfloat/juliareleases
sudo add-apt-repository ppa:staticfloat/julia-deps
sudo apt-get update
sudo apt-get install julia
@bbarad
Copy link
Author

bbarad commented Jul 1, 2014

Edited the enter-chroot command to match csmpls's change for people with multiple chroots.

@csmpls
Copy link

csmpls commented Jul 4, 2014

pros/cons to including the latexmk package? i needed it to compile with latexing plugin for sublime.

@bbarad
Copy link
Author

bbarad commented Jul 4, 2014

In order to make the extension target work, please install this https://chrome.google.com/webstore/detail/crouton-integration/gcpneefbbnfalgjniomfjknbcgkbijom while in chromeos.

@gsilvers
Copy link

gsilvers commented Jan 4, 2015

Hi bbarad,

Have you messed with the new xiwi target and this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment