For Debian 7.1.
Choose software to install: [*] SSH server [*] Laptop [*] Standard system utilities
You can run tasksel later to change the selection.
cat >/etc/apt/apt.conf.d/90suggests<<EOF APT::Install-Recommends "0"; APT::Install-Suggests "0"; EOF
wget -nc https://www.bamsoftware.com/computers/config/{.gitconfig,.gitignore,.screenrc,.vimrc}
apt-get install etckeeper
useradd -m user usermod -a -G sudo user etckeeper commit -m sudoers
You then have to use newgrp sudo in shells of that user until you log in again.
See /usr/share/doc/keyboard-configuration/README.Debian. Edit /etc/default/keyboard and change
XKBOPTIONS="ctrl:nocaps,compose:prsc"
sudo dpkg-reconfigure keyboard-configuration sudo etckeeper commit -m ctrl:nocaps,compose:prsc sudo udevadm trigger --subsystem-match=input --action=change
Comment out stable lines and put this in /etc/apt/sources.list:
deb http://ftp.us.debian.org/debian/ testing main deb-src http://ftp.us.debian.org/debian/ testing main deb http://security.debian.org/ testing/updates main deb-src http://security.debian.org/ testing/updates main
sudo apt-get update sudo apt-get dist-upgrade
sudo apt-get install shorewall shorewall6
cd /etc/shorewall && cp /usr/share/doc/shorewall/examples/Universal/{interfaces,policy,rules,zones} .
cd /etc/shorewall6 && cp /usr/share/doc/shorewall6/examples/Universal/{interfaces,policy,rules,zones} .
Set startup=1 in /etc/default/shorewall and /etc/default/shorewall6.
sudo /etc/init.d/shorewall start sudo /etc/init.d/shorewall6 start
sudo apt-get autoremove --purge bash-completion rpcbind bluetooth 'bluez*' 'avahi*'
sudo apt-get --install-recommends install xorg xinput lightdm wmii wmii-doc sudo apt-get install git git-annex screen vim sudo apt-get install wicd-gtk gksu rfkill sudo apt-get install ibus ibus-gtk ibus-gtk3 im-switch sudo apt-get install xbacklight xscreensaver arandr
sudo update-alternatives --config editor
Add to ~/.xsessionrc:
xbacklight -set 60 xset r rate 200 50 xscreensaver -no-splash & wicd-client -t & # eval $(gpg-agent --daemon)
http://www.thinkwiki.org/wiki/How_to_configure_the_TrackPoint
Add to ~/.xsessionrc:
xinput set-prop "TPPS/2 IBM TrackPoint" "Evdev Wheel Emulation" 1 xinput set-prop "TPPS/2 IBM TrackPoint" "Evdev Wheel Emulation Button" 2 xinput set-prop "TPPS/2 IBM TrackPoint" "Evdev Wheel Emulation Timeout" 200 xinput set-prop "TPPS/2 IBM TrackPoint" "Evdev Wheel Emulation Axes" 6 7 4 5
torbrowser commandPut in /usr/local/bin/torbrowser:
#!/bin/sh "$HOME/tor-browser_en-US/start-tor-browser" "$@"
gpgvgpg --output trustedkeys.gpg --export --export-options export-minimal $(gpg --list-keys --list-options show-uid-validity | grep -B 1 'ultimate\|full\|marginal' | grep ^pub | perl -p -e 's/.*\/(.*?) .*/0x$1/')
Copy trustedkeys.gpg to ~/.gnupg/ on the target.