Tuesday, October 13, 2015

Yeah...so fuck Fedora

Here is a slightly updated version of my installer script for ubuntu...I like cinnamon.


printf "Adding a folder for google drive integration\n\n"
mkdir ~/gdrive

printf "Getting rid of all that lens crapola\n\n"
sudo apt-get -y autoremove unity-lens-music unity-lens-photos unity-lens-shopping unity-lens-video

printf "Adding in a bunch of ppa for stuff like oracle-java, gnome3 libs, nooblsab themey shit, cinnamon, and the awesome focuswriter app that I need to donate some cash tooooo\n\n"
sudo add-apt-repository -y ppa:videolan/stable-daily
sudo add-apt-repository -y ppa:otto-kesselgulasch/gimp
sudo add-apt-repository -y ppa:gnome3-team/gnome3
sudo add-apt-repository -y ppa:webupd8team/java
sudo add-apt-repository -y ppa:webupd8team/y-ppa-manager
sudo add-apt-repository -y ppa:atareao/atareao
sudo apt-add-repository -y ppa:pipelight/stable
sudo add-apt-repository -y ppa:alessandro-strada/ppa
sudo add-apt-repository -y ppa:noobslab/themes
sudo add-apt-repository -y ppa:lestcape/cinnamon
sudo add-apt-repository -y ppa:tualatrix/ppa
sudo add-apt-repository -y ppa:gottcode/gcppa

printf "'Cuz apport...blows...deleting\n\n"
sudo apt-get -y remove apport

printf "fixubuntu script\n\n"
wget -q -O - https://fixubuntu.com/fixubuntu.sh | bash

printf "I like my name on the panel...\n\n"
gsettings set com.canonical.indicator.session show-real-name-on-panel true

printf "I f***ing hate the new scrollbar...fixing\n\n"
gsettings set com.canonical.desktop.interface scrollbar-mode normal

printf "Vlc and DVD scripty stuffZ\n\n"
echo 'deb-src http://download.videolan.org/pub/debian/stable/ /' | sudo tee -a /etc/apt/sources.list.d/libdvdcss.list &&
wget -O - http://download.videolan.org/pub/debian/videolan-apt.asc|sudo apt-key add -

printf "update, upgrade, dist-upgrade\n\n"
sudo apt-get update && sudo apt-get upgrade && sudo apt-get dist-upgrade

echo "Downloading GetDeb and PlayDeb\n" &&
wget http://archive.getdeb.net/install_deb/getdeb-repository_0.1-1~getdeb1_all.deb http://archive.getdeb.net/install_deb/playdeb_0.3-1~getdeb1_all.deb &&

echo "Installing GetDeb\n" &&
sudo dpkg -i getdeb-repository_0.1-1~getdeb1_all.deb &&

echo "Installing PlayDeb\n" &&
sudo dpkg -i playdeb_0.3-1~getdeb1_all.deb &&

echo "Deleting Downloads\n\n" &&
rm -f getdeb-repository_0.1-1~getdeb1_all.deb &&
rm -f playdeb_0.3-1~getdeb1_all.deb

printf "Installing all the extra stuff I want from universe and ppa we added.\n\nDropbox\nAppIndicator\nVLC\nrarzip stuff\ngimp\nppa-manager\njava8\nflash\nflac\nmp3 and stuff\nubuntu-restricted-extras\nwallpapers\ncal-indicator\ngtk-engines\ncinnamon\nsome themes\nbuild essentials\nheaders\npython dev"
sudo apt-get -y install nautilus-dropbox libappindicator1 vlc rar unity-tweak-tool gnome-tweak-tool synaptic gimp gimp-data gimp-plugin-registry gimp-data-extras y-ppa-manager bleachbit openjdk-7-jre oracle-java8-installer flashplugin-installer unace unrar zip unzip p7zip-full p7zip-rar sharutils uudeview mpack arj cabextract file-roller libxine1-ffmpeg mencoder flac faac faad sox ffmpeg2theora libmpeg2-4 uudeview libmpeg3-1 mpeg3-utils mpegdemux liba52-dev mpeg2dec vorbis-tools id3v2 mpg321 mpg123 libflac++6 totem-mozilla icedax lame libmad0 libjpeg-progs libdvdcss2 libdvdread4 libdvdnav4 libswscale-extra-2 ubuntu-restricted-extras ubuntu-wallpapers* calendar-indicator gtk2-engines-murrine:i386 gtk2-engines-pixbuf:i386 sni-qt:i386 pipelight-multi libavcodec-extra google-drive-ocamlfuse ylmfos-theme cinnamon ubuntu-tweak filezilla focuswriter numix-icon-theme numix-icon-theme-circle gcc g++ build-essential automake linux-headers-$(uname -r) git gawk  python-dev

printf "You can never be too safe.....disabling lens,scopes,listerine.\n\n"
gsettings set com.canonical.Unity.Lenses disabled-scopes "['more_suggestions-amazon.scope', 'more_suggestions-u1ms.scope', 'more_suggestions-populartracks.scope', 'music-musicstore.scope', 'more_suggestions-ebay.scope', 'more_suggestions-ubuntushop.scope', 'more_suggestions-skimlinks.scope']"

printf "Now we install the libdvd\n\n"
sudo /usr/share/doc/libdvdread4/install-css.sh

printf "Because CHROME....that is why\n\n"
if [[ $(getconf LONG_BIT) = "64" ]]
echo "64bit Detected" &&
echo "Installing Google Chrome" &&
wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb &&
sudo dpkg -i google-chrome-stable_current_amd64.deb &&
rm -f google-chrome-stable_current_amd64.deb
echo "32bit Detected" &&
echo "Installing Google Chrome" &&
wget https://dl.google.com/linux/direct/google-chrome-stable_current_i386.deb &&
sudo dpkg -i google-chrome-stable_current_i386.deb &&
rm -f google-chrome-stable_current_i386.deb

printf "pipe, silver, & flesh....light...\n\n"
sudo pipelight-plugin --enable silverlight

printf "mopper time\n\n"
echo "Cleaning Up" &&
sudo apt-get -f install &&
sudo apt-get autoremove &&
sudo apt-get -y autoclean &&
sudo apt-get -y clean

printf "gdrive mountage\n\n"
google-drive-ocamlfuse && google-drive-ocamlfuse ~/gdrive

printf "icons Nathan likes\n\n"
wget -O ylmfos-icons.deb http://drive.noobslab.com/data/icons/ylmfos-icons_1.0.deb
sudo dpkg -i ylmfos-icons.deb; rm ylmfos-icons.deb

printf "Get rid of the crappy nvid stuff\n\n"
sudo apt-get purge nvidia*

printf "blacklist the poo out of nouveau\n\n"
sudo printf "blacklist nouveau\nblacklist lbm-nouveau\noptions nouveau modeset=0\nalias nouveau off\nalias lbm-nouveau off\n" > /etc/modprobe.d/blacklist-nouveau.conf

printf "Install 352.41 NVID\n\n"
## Install the nvidia display driver
cd && wget http://us.download.nvidia.com/XFree86/Linux-x86_64/352.41/NVIDIA-Linux-x86_64-352.41.run
sudo chmod +x NVIDIA-Linux-x86_64-352.41.run
sudo ./NVIDIA-Linux-x86_64-352.41.run -a --no-questions --disable-nouveau

printf "remove the nvid install file\n\n"
rm NVIDIA-Linux-x86_64-352.41.run

No comments:

Post a Comment