cat > /etc/apt/sources.list << "EOF"
deb http://ftp.us.debian.org/debian stable main contrib non-free
deb-src http://ftp.us.debian.org/debian stable main contrib non-free
deb http://ftp.debian.org/debian/ wheezy-updates main contrib non-free
deb-src http://ftp.debian.org/debian/ wheezy-updates main contrib non-free
deb http://security.debian.org/ wheezy/updates main contrib non-free
deb-src http://security.debian.org/ wheezy/updates main contrib non-free
EOF
echo "Acquire::Languages \"none\";" > /etc/apt/apt.conf.d/99translations
apt-get update
apt-get upgrade
apt-get install sudo
#Run {{visudo}} and add your user: {{yourmainuser ALL=(ALL) NOPASSWD: ALL}}
#Logout of root (type exit) and login as yourmainuser _
sudo apt-get install \
openssh-server rsync curl vim htop iotop multitail \
nmap kpartx parted smartmontools hdparm ntfsprogs \
sysstat ntp ntpdate bridge-utils ethtool ifenslave-2.6 \
python nfs-common nfs-kernel-server unzip unrar sshfs samba rdesktop \
lynx links
sudo apt-get install xorg xmonad xmobar suckless-tools
#IF you have a new nvidia card run, or see debian website for older nvidia installs
sudo apt-get install linux-headers-$(uname -r|sed 's,[^-]*-[^-]*-,,') nvidia-kernel-dkms nvidia-xconfig
sudo apt-get install \
leafpad feh lxpanel lxappearance terminator xscreensaver murrine-themes gnome-brave-icon-theme \
chromium vim-gtk
#Optional: shutter gcolor2 thunar
#If you want to autologin without a desktop manager see http://elinux.org/RPi_Debian_Auto_Login
cat > /usr/local/bin/dmenu_run << "EOF"
#!/bin/bash
exe=`dmenu_path | dmenu -nb '#020A1C' -nf '#186b9f' -sb '#020A1C' -sf '#ffffff'` && eval "exec $exe"
EOF
# usermod -aG fuse yourmainuser
cd ~
wget mreschke.com/files/qlinux/debian/xmonad/configs.tar.gz
tar -xf configs.tar.gz
rm -rf configs.tar.gz
xmonad --recompile
cd /tmp
wget manup.mreschke.net/install
chmod a+x install
sudo ./install
sudo rm -rf ./install
sudo ln -a /usr/bin/python /usr/bin/python2
sudo manup
sudo manup sync
sudo manup install manup/manup --noconfirm
sudo manup install profile-linux-all --noconfirm
sudo manup install profile-favcom --noconfirm
echo "source /etc/nwq/profile.bashrc" >> ~/.bashrc
libxine-dev
libjpeg8-dev
libpoppler-dev
libpoppler-glib-dev
libgtk2.0-dev
librsvg2-dev
libtiff5-dev