Skip to content

Instantly share code, notes, and snippets.

@ckunte
Last active March 17, 2017 18:53
Show Gist options
  • Star 3 You must be signed in to star a gist
  • Fork 3 You must be signed in to fork a gist
  • Save ckunte/3735317 to your computer and use it in GitHub Desktop.
Save ckunte/3735317 to your computer and use it in GitHub Desktop.
Stuff to do after a fresh xubuntu install.
#!/usr/bin/env sh
echo "Stuff I do after a fresh xubuntu install:"
echo ""
echo "Installing f.lux"
sudo add-apt-repository ppa:kilian/f.lux
sudo apt-get update
echo "Installing all my favorite applications"
sudo apt-get -y install fluxgui python-pip git-core gitg gedit gedit-plugins gparted bleachbit gnome-do lightread chromium-browser zsh
echo "Removing unwanted applications"
sudo apt-get -y remove firefox
echo "Installing components required to run chisel"
sudo pip install -y jinja2 markdown mdx_smartypants PyRSS2Gen
echo "Installing Scansnap firmware"
sudo mkdir -p /usr/share/sane/epjitsu
cd epjitsu
git clone https://github.com/ckunte/scansnap-firmware.git ~/Documents/Firmware/
sudo cp ~/Documents/Firmware/scansnap-firmware/* .
sudo cpan upgrade sane
sudo apt-get -y install libsane-dev
echo "Installing zsh, oh-my-zsh, and updating .zshrc"
git clone git://github.com/robbyrussell/oh-my-zsh.git ~/.oh-my-zsh
cp ~/.oh-my-zsh/templates/zshrc.zsh-template ~/.zshrc
find ~/.zshrc -type f -exec sed -i 's/robbyrussell/steeef/g' {} \;
chsh -s /bin/zsh
echo "Enabling opening UI folders from Terminal"
echo "alias open=thunar" >> ~/.zshrc
echo "All done. Be sure to configure the following:"
echo " - Network printer."
echo " - Aliases for git in ~/.zshrc."
echo " - Configure email, lightreader rss, lighting preferences in f.lux."
echo " - Set Chromium as the default browser."
echo " - Change screen and background colors in Terminal."
echo " - Set custom icons for Dock."
echo "Finally, logout and relogin."
exit
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment