Skip to content

Instantly share code, notes, and snippets.

@gazs
Created August 14, 2011 10:29
Show Gist options
  • Select an option

  • Save gazs/1144777 to your computer and use it in GitHub Desktop.

Select an option

Save gazs/1144777 to your computer and use it in GitHub Desktop.
#!/bin/sh
# remove nvidia-current to let intel card work
sudo apt-get remove nvidia-current
# basic apps
echo ttf-mscorefonts-installer msttcorefonts/accepted-mscorefonts-eula select true | debconf-set-selections
sudo apt-get install -yy git ssh mercurial vim-gnome byobu ttf-mscorefonts-installer dtrx comix
# blinking cursor is a form of chinese water torture
gconftool-2 --set "/desktop/gnome/interface/cursor_blink" --type boolean "False"
# change gnome-terminal scheme
gconftool-2 --set --type bool /apps/gnome-terminal/profiles/Default/use_theme_background 0
gconftool-2 --set --type bool /apps/gnome-terminal/profiles/Default/use_theme_colors 0
gconftool-2 --set --type string /apps/gnome-terminal/profiles/Default/background_color "#FFFFFFFFFFFF"
gconftool-2 --set --type string /apps/gnome-terminal/profiles/Default/scrollbar_position "hidden"
# gnome-terminal should be login shell to run byobu
gconftool-2 --set --type bool /apps/gnome-terminal/profiles/Default/login_shell 1
byobu-launcher-install
# default dpi makes everything larger than duplo blocks
gconftool-2 --set --type float /desktop/gnome/font_rendering/dpi 86
# get vimrc FIXME
scp -r [email protected]:~/.vim* .
# xterm-color fix for byobu
cat "echo TERM=xterm-color" >> ~/.bashrc
# googlechrome
wget "https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb" && sudo dpkg -i google-chrome-stable_current_amd64.deb
sudo apt-get -f install
rm google-chrome-stable_current_amd64.deb
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment