Skip to content

Instantly share code, notes, and snippets.

@ajace
Last active December 20, 2015 00:59
Show Gist options
  • Save ajace/6045844 to your computer and use it in GitHub Desktop.
Save ajace/6045844 to your computer and use it in GitHub Desktop.
Setup.sh for Linux Mint 15, Debian
#!/bin/sh
# chmod +x initial_setup.sh
# sudo ./initial_setup.sh
sudo apt-get install dconf-tools
# Themes
mkdir ~/.themes
## Living closer to the edge! Replace source list from testing to unstable (SID) ##
sudo sh -c "echo
'deb http://packages.linuxmint.com/ debian main upstream import backport romeo
deb http://ftp.debian.org/debian unstable main contrib non-free
deb http://www.deb-multimedia.org sid main non-free' > /etc/apt/sources.list"
# sudo sh -c "echo 'deb http://ftp.de.debian.org/debian unstable main' >> /etc/apt/sources.list"
sudo apt-get update && sudo apt-get dist-upgrade
sudo apt-get install xinput
# inverted x+y scrolling for the touch pad
# xinput --list if the touchpad is not input 11
xinput set-button-map 11 1 2 3 5 4 7 6
# two finger scrolling
synclient VertTwoFingerScroll=1
synclient HorizTwoFingerScroll=1
synclient EmulateTwoFingerMinW=5
synclient EmulateTwoFingerMinZ=48
# not bash related
# https://addons.mozilla.org/en-US/firefox/addon/hide-caption-titlebar-plus-sma/?src=search
# Guake
sudo apt-get install guake
cp /usr/share/applications/guake.desktop /etc/xdg/autostart/
# System > Preferences > Startup Applications
# experimental kernel upgrade
# wget -c kernel.ubuntu.com/~kernel-ppa/mainline/v3.10-saucy/linux-headers-3.10.0-031000-generic_3.10.0-031000.201306301935_amd64.deb
#sudo dpkg -i *.deb
# to remove
# sudo apt-get purge linux-headers-3.10* linux-image-3.10*
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment