Last active
August 29, 2015 14:09
-
-
Save greenkey/92baf41ac4397043c89e to your computer and use it in GitHub Desktop.
This script is a useful setup after a fresh installation of elementaryos (see http://elementaryos.org/)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
open_browser () { | |
URL=$1 | |
[[ -x $BROWSER ]] && exec "$BROWSER" "$URL" | |
path=$(which xdg-open || which gnome-open) && exec "$path" "$URL" | |
echo "Can't find browser" | |
} | |
# add repo, update and some packages | |
sudo add-apt-repository ppa:elementary-os/daily -y | |
sudo add-apt-repository ppa:versable/elementary-tweaks-isis -y | |
sudo add-apt-repository ppa:mpstark/elementary-tweaks-daily -y | |
sudo apt-add-repository ppa:versable/elementary-update -y | |
sudo apt-get update | |
sudo apt-get upgrade | |
sudo apt-get -f install -y | |
sudo apt-get install gdebi synaptics dconf-tools -y | |
#utils | |
sudo apt-get install elementary-tweaks -y | |
sudo apt-get install unace rar unrar p7zip-rar p7zip sharutils uudeview mpack lha arj cabextract lzip lunzip -y #TODO | |
sudo apt-get install indicator-multiload htop -y | |
sudo apt-get install python-appindicator -y | |
# eye-candy | |
sudo apt-get install wingpanel-slim super-wingpanel -y | |
# bittorrent sync | |
sudo add-apt-repository ppa:tuxpoldo/btsync | |
sudo apt-get update | |
sudo apt-get install btsync -y | |
# install touchegg | |
sudo apt-get build-dep touchegg -y | |
wget http://touchegg.googlecode.com/files/touchegg-1.1.1.tar.gz | |
tar xcvf touchegg-1.1.1.tar.gz | |
cd touchegg-1.1.1.tar.gz | |
qmake | |
make | |
sudo make install | |
mkdir -p ~/.config/touchegg | |
wget https://dl.dropboxusercontent.com/u/75542816/touchegg.conf | |
cp touchegg.conf ~/.config/touchegg/touchegg.conf | |
mkdir -p ~/.config/autostart | |
echo >> ~/.config/autostart/touchegg.desktop <<EOT | |
[Desktop Entry] | |
Name[en]=Launch Touchègg | |
Comment[en]=touchegg | |
Exec=touchegg | |
Icon=application-default-icon | |
X-GNOME-Autostart-enabled=true | |
Type=Application | |
EOT | |
# chrome and firefox | |
#wget https://dl.google.com/linux/direct/google-chrome-stable_current_i386.deb | |
#sudo gdebi -n google-chrome-stable_current_i386.deb | |
sudo apt-get install chromium-browser firefox -y | |
sudo apt-get install pepperflashplugin-nonfree -y | |
# codecs and torrents :) | |
sudo apt-get install transmission vlc -y | |
sudo apt-get install ubuntu-restricted-extras libavcodec-extra-53 -y #TODO | |
sudo apt-get install libdvdread4 -y | |
sudo /usr/share/doc/libdvdread4/install-css.sh | |
# office | |
sudo apt-get install libreoffice -y | |
sudo apt-get install gimp -y #TODO | |
# install skype | |
cd /tmp | |
wget http://download.skype.com/linux/skype-ubuntu-precise_4.3.0.37-1_i386.deb -O /tmp/skype.deb #TODO | |
sudo gdebi -n /tmp/skype.deb #TODO | |
### DEVELOP | |
# vagrant | |
sudo apt-get install virtualbox -y | |
wget https://dl.bintray.com/mitchellh/vagrant/vagrant_1.6.5_x86_64.deb -O /tmp/vagrant.deb | |
sudo gdebi -n /tmp/vagrant.deb | |
# sublime | |
sudo add-apt-repository ppa:webupd8team/sublime-text-3 -y | |
sudo apt-get update | |
sudo apt-get install sublime-text-installer -y | |
open_browser https://sublime.wbond.net/installation | |
# python | |
sudo apt-get install python-pip -y | |
# other | |
sudo apt-get install vim -y | |
# some tweak config | |
sudo sed -i 's/NoDisplay=true/NoDisplay=false/g' /etc/xdg/autostart/*.desktop | |
# final dist upgrade | |
sudo apt-get dist-upgrade -y | |
sudo apt-get autoremove | |
open_browser http://www.binarytides.com/better-elementary-os-luna/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment