Skip to content

Instantly share code, notes, and snippets.

@MaikuDev
Last active August 29, 2015 14:24
Show Gist options
  • Save MaikuDev/fa826c03ea3fc021b3ff to your computer and use it in GitHub Desktop.
Save MaikuDev/fa826c03ea3fc021b3ff to your computer and use it in GitHub Desktop.
#!/bin/bash
#Download Elementary OS from here:
#http://sourceforge.net/projects/elementaryos/files/stable/
#!!!Script must be run as sudo, not root!!!
#Clean-up System
apt-get purge gcalctool -y
apt-get purge geary -y
apt-get purge midori-granite -y
apt-get purge scratch-text-editor -y
apt-get purge elementary-scan -y
apt-get purge totem -y
apt-get purge maya-calendar -y
apt-get purge shotwell -y
apt-get purge update-manager -y
apt-get purge noise -y
apt-get purge empathy -y
apt-get purge software-center -y
apt-get autoremove -y
apt-get autoclean
#Remove some Switchboard Plug's
rm -rf /usr/lib/plugs/GnomeCC/gnomecc-wacom.plug
#Update your system
apt-get update && apt-get upgrade -y && apt-get dist-upgrade -y
apt-get install -f -y
#Install Chromium and Flash-player
apt-get install chromium-browser -y
add-apt-repository "ppa:skunk/pepper-flash" -y
apt-get update
apt-get install pepflashplugin-installer -y
echo ". /usr/lib/pepflashplugin-installer/pepflashplayer.sh" >> /etc/chromium-browser/default
apt-get install -f -y
#Install nvidia-driver and bumblebee
add-apt-repository "ppa:bumblebee/stable" -y
apt-get update
apt-get install nvidia-331 nvidia-settings bumblebee bumblebee-nvidia primus virtualgl -y
apt-get install -f -y
#Install Gimp
add-apt-repository "ppa:otto-kesselgulasch/gimp" -y
apt-get update
apt-get install gimp -y
apt-get install -f -y
#Install Elementary-tweaks
add-apt-repository "ppa:versable/elementary-update" -y
#Or, for Freya
#add-apt-repository "ppa:mpstark/elementary-tweaks-daily" -y
apt-get update
apt-get install elementary-tweaks -y
apt-get install -f -y
#Install super-wingpanel and synapse
add-apt-repository "ppa:heathbar/super-wingpanel " -y
apt-get install super-wingpanel indicator-synapse -y
gsettings set org.pantheon.cerbere monitored-processes "['plank', 'slingshot-launcher --silent', 'super-wingpanel']"
apt-get install -f -y
#Install Brackets
add-apt-repository "ppa:webupd8team/brackets" -y
apt-get update
apt-get install brackets -y
apt-get install -f -y
#Install Sublime Text
add-apt-repository "ppa:webupd8team/sublime-text-3" -y
apt-get update
apt-get install sublime-text-installer -y
cd /tmp
wget https://github.com/Dimox/SublimeText3RussianMenu/archive/master.zip
unzip master.zip
mkdir ~/.config/sublime-text-3/Packages/Default
cp SublimeText3RussianMenu-master/*.sublime-menu ~/.config/sublime-text-3/Packages/Default
apt-get install -f -y
#Install Synaptic
add-apt-repository "ppa:webupd8team/unstable" -y
apt-get update
apt-get install synaptic -y
apt-get install -f -y
#Install qBittorrent
add-apt-repository "ppa:hydr0g3n/qbittorrent-stable" -y
apt-get update
apt-get install qbittorrent -y
apt-get install -f -y
#Install Grub Customizer
add-apt-repository "ppa:danielrichter2007/grub-customizer" -y
apt-get update
apt-get install grub-customizer -y
apt-get install -f -y
#Install VLC
add-apt-repository "ppa:videolan/stable-daily" -y
apt-get update
apt-get install vlc -y
apt-get install -f -y
#Install Wine
add-apt-repository "ppa:ubuntu-wine/ppa" -y
apt-get update
apt-get install wine -y
apt-get install -f -y
#Install dkms
add-apt-repository "ppa:elementary-os/os-patches" -y
apt-get update
apt-get install dkms -y
apt-get install -f -y
#Install LibreOffice
add-apt-repository "ppa:libreoffice/ppa" -y
apt-get update
apt-get install libreoffice-writer libreoffice-l10n-ru -y
rm /usr/share/applications/libreoffice-startcenter.desktop
rm /usr/share/applications/libreoffice-math.desktop
apt-get install -f -y
#Install Steam
wget http://media.steampowered.com/client/installer/steam.deb
sudo dpkg -i *.deb
rm steam.deb
apt-get install -f -y
#Install Dropbox
cd /tmp
wget https://www.dropbox.com/download?dl=packages/ubuntu/dropbox_1.6.2_i386.deb
sudo dpkg -i *.deb
rm dropbox_1.6.2_i386.deb
echo "export DROPBOX_USE_LIBAPPINDICATOR=1" >> ~/.xsessionrc
apt-get install -f -y
#Install Virtualbox
cd /tmp
wget http://download.virtualbox.org/virtualbox/4.3.16/virtualbox-4.3_4.3.16-95972~Ubuntu~precise_i386.deb
dpkg -i *.deb
rm http://download.virtualbox.org/virtualbox/4.3.16/virtualbox-4.3_4.3.16-95972~Ubuntu~precise_i386.deb
apt-get install -f -y
#Install other
apt-get install gdebi -y
apt-get install laptop-mode-tools -y
apt-get install conky-std -y
apt-get install lm-sensors -y
apt-get install gpicview -y
apt-get install gnome-system-monitor -y
apt-get install gnome-disk-utility -y
apt-get install gparted -y
apt-get install baobab -y
apt-get install qtcreator -y
apt-get install playonlinux -y
apt-get install dconf-tools -y
apt-get install g++-mingw-w64-i686 -y
apt-get install git -y
apt-get install easytag -y
apt-get install skype -y
apt-get install pantheon-files-plugin-dropbox -y
apt-get install bleachbit -y
apt-get install -f -y
#Install Kernel 3.11.10
wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.11.10.15-saucy/linux-headers-3.11.10-03111015_3.11.10-03111015.201408250535_all.deb
wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.11.10.15-saucy/linux-image-3.11.10-03111015-generic_3.11.10-03111015.201408250535_i386.deb
wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.11.10.15-saucy/linux-headers-3.11.10-03111015-generic_3.11.10-03111015.201408250535_i386.deb
dpkg -i *.deb
touch /usr/share/contractor/folder-openasroot.contract
echo "[Contractor Entry]" >> /usr/share/contractor/folder-openasroot.contract
echo "Name=Открыть от имени суперпользователя" >> /usr/share/contractor/folder-openasroot.contract
echo "Icon=pantheon-files" >> /usr/share/contractor/folder-openasroot.contract
echo "MimeType=inode;" >> /usr/share/contractor/folder-openasroot.contract
echo "Exec=gksudo pantheon-files %U" >> /usr/share/contractor/folder-openasroot.contract
echo "Gettext-Domain=pantheon-files" >> /usr/share/contractor/folder-openasroot.contract
reboot
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment