Skip to content

Instantly share code, notes, and snippets.

@david415
Last active December 28, 2015 17:39
Show Gist options
  • Save david415/7537246 to your computer and use it in GitHub Desktop.
Save david415/7537246 to your computer and use it in GitHub Desktop.
ubuntu 12.04 laptop setup notes
#!/bin/bash
apt-get update
apt-get install xorg openbox wicd sysstat wireshark macchanger openvpn xlockmore emacs23 chromium-browser nmap netcat -y
# after install grsec kernel
paxctl -m -x -e /usr/lib/chromium-browser/chrome-sandbox -c
paxctl -P -m -x -e -R /usr/lib/chromium-browser/chromium-browser -c
# edit /etc/default/grub
# GRUB_DEFAULT="2>0"
# which item 3 submenu, first item
cat > /etc/rc.local << EOF
# turn off swap
swapoff -a
# change macs
macchanger -r eth0
macchanger -r wlan0
# disable fucking lenovo laptop trackpad
xinput set-prop 10 "Device Enabled" 0
exit 0
EOF
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment