loki v 201707 macbokk
#!/bin/bash
############## Ver 3a
############## Fixes & Upgrade
#basic fixes for loki
gsettings set org.gnome.settings-daemon.plugins.xsettings overrides "{'Gtk/DialogsUseHeader': <0>, 'Gtk/ShellShowsAppMenu': <0>, 'Gtk/DecorationLayout': <'close:menu,maximize'>}" < "/dev/null"
sudo service apport stop ;
sudo sed -i 's/enabled=1/enabled=0/g' /etc/default/apport ;
sudo bash -c "echo 'vm.swappiness = 5' >> /etc/sysctl.conf" ;
sudo apt update < "/dev/null"
sudo apt install -y software-properties-common < "/dev/null"
sudo apt install -y gdebi < "/dev/null"
sudo apt install -y gnote < "/dev/null"
sudo apt install -y subversion < "/dev/null"
sudo add-apt-repository ppa:nilarimogard/webupd8 -y < "/dev/null"
sudo apt-get update < "/dev/null"
sudo apt-get install albert -y < "/dev/null"
touch freem ; echo "free -m ; sudo sync ; sudo sysctl -w vm.drop_caches=3 ; free -m" > freem ; sudo mv freem /usr/bin ; sudo chmod +x /usr/bin/freem ;
touch trim ; echo "sudo fstrim -v /" > trim ; sudo mv trim /usr/local/bin ; sudo chmod +x /usr/local/bin/trim ;
mkdir -p ~/.fonts ;
cd ~ ; sudo chown $USER:$USER -R /usr/share/themes ;
sudo chown $USER:$USER -R /usr/share/icons ;
sudo chown $USER:$USER -R /usr/share/applications/ ;
sudo mkdir -p /usr/share/plank/themes ;
sudo chown $USER:$USER -R /usr/share/plank/themes ;
touch ~/Plantillas/new ;
#nautilus
sudo apt install nautilus -y < "/dev/null"
gsettings set org.gnome.nautilus.preferences enable-interactive-search true ;
gsettings set org.gnome.nautilus.preferences sort-directories-first true ;
#nautilus CSD fix
cd /tmp
wget https://gist.githubusercontent.com/rhoconlinux/68af9d6b4be8de97c284ff9dde303d4c/raw/cbf22486dfffffcce43d736c554846bf111682eb/nautilus%20csd%20fix%201604 -O nautilus.desktop
cat nautilus.desktop
sudo mv /usr/share/applications/nautilus.desktop /usr/share/applications/nautilus-nocsd.ddesktop
sudo mv nautilus.desktop /usr/share/applications/nautilus.desktop
cd
#Keyboard
#General Fixes
gsettings set org.gnome.desktop.input-sources xkb-options "['terminate:ctrl_alt_bksp']" ;
sudo chmod -x /etc/NetworkManager/dispatcher.d/90captive_portal_test ;
gsettings set org.pantheon.terminal.settings unsafe-paste-alert false ;
#Window Button Fixes
gsettings set org.gnome.shell.overrides button-layout 'close,minimize:maximize' ;
gsettings set org.gnome.settings-daemon.plugins.xsettings overrides "{'Gtk/DecorationLayout': <'close,minimize:maximize'>}" ;
gsettings set org.pantheon.desktop.gala.appearance button-layout 'close,minimize:maximize' ;
gsettings set org.gnome.desktop.wm.preferences button-layout 'close,minimize:maximize' ;
#Shortcuts
gsettings set org.gnome.desktop.wm.keybindings close "['<Super>x']" ;
gsettings set org.gnome.desktop.wm.keybindings minimize "['<Super>s']" ;
gsettings set org.gnome.desktop.wm.keybindings panel-main-menu "['<Super>q']" ;
gsettings set org.gnome.desktop.wm.keybindings minimize "['<Super>s']" ;
gsettings set org.gnome.desktop.wm.keybindings show-desktop "['<Super>d']" ;
gsettings set org.gnome.desktop.wm.keybindings unmaximize "['<Super>Down']" ;
gsettings set org.gnome.desktop.wm.keybindings maximize "['<Super>Up']" ;
gsettings set org.gnome.desktop.wm.keybindings toggle-fullscreen "['<Super><Shift>Up']" ;
gsettings set org.gnome.desktop.wm.keybindings panel-main-menu "['<Super>q']" ;
#Show desktop
cd /tmp
svn export https://github.com/rhoconlinux/algunas-cosas-sueltas/trunk/show-desktop
cd show-desktop/
sudo cp show-desktop-freya /usr/local/bin/show-desktop-loki
sudo chmod +x /usr/local/bin/show-desktop-loki
cd pixmaps/
sudo cp -a . /usr/share/pixmaps/
cd ..
cd applications
sudo cp show-desktop.desktop /usr/share/applications
sudo chmod +x /usr/share/applications/show-desktop.desktop
wget https://gist.githubusercontent.com/rhoconlinux/e825a89dcf65003d8be916a034ad7aa0/raw/0e644b215a7395acb64f8ea8e1bd342aa2a0dacf/short-creator.py
python3 short-creator.py 'show desktop loki' 'show-desktop-loki' '<Super>d'
#gsettings set org.gnome.desktop.wm.keybindings show-desktop "['<Super>d']" ;
#top panel
gsettings set com.canonical.indicator.session show-real-name-on-panel false ;
#power dimm
xset s off
gsettings set org.gnome.desktop.session idle-delay 0 ;
gsettings set org.gnome.desktop.screensaver lock-enabled false ;
gsettings set org.gnome.desktop.screensaver lock-delay "0" ;
gsettings set org.gnome.settings-daemon.plugins.power idle-dim false ;
gsettings set org.gnome.desktop.screensaver lock-delay $(echo 0*60 | bc) ;
#Macbook fix delete key
cd; touch .Xmodmap && echo "keycode 169 = Delete" > .Xmodmap ; xmodmap .Xmodmap
echo 1 | sudo tee /sys/module/hid_apple/parameters/swap_opt_cmd
#cd /tmp
#wget -O dump.conf https://gist.githubusercontent.com/rhoconlinux/b0d9cc1398ec9ea31835dab521b514d3/raw/5b32760266b64e58d518f76c5e64706ae4657929/dconf-dump-elementary-loki-gsettings
#dconf load / < dump.dconf
#cd
sudo apt install nautilus -y
gsettings set org.gnome.nautilus.preferences enable-interactive-search true ;
gsettings set org.gnome.nautilus.preferences sort-directories-first true ;
#### Basicos
sh -c 'echo "deb http://deb.opera.com/opera/ stable non-free" >> /etc/apt/sources.list.d/opera.list';
sudo sh -c 'wget -O - http://deb.opera.com/archive.key | apt-key add -'; sudo apt-get update;
sudo apt-get install opera-stable -y
sudo apt-get install git -y ; cd .. ;
sudo apt-get install gnote synaptic axel virtualbox -y ;
sudo apt-get remove update-notifier -y ;
#sudo apt-get update ; sudo apt-get dist-upgrade -y ; sudo apt-get autoremove -y
#############################################
#spotify + fix
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys BBEBDCB318AD50EC6865090613B00F1FD2C19886 ;
echo deb http://repository.spotify.com stable non-free | sudo tee /etc/apt/sources.list.d/spotify.list ;
sudo apt-get update ;
sudo apt-get install -y spotify-client ;
wget http://raw.github.com/ozcanesen/spotify-indicator/master/spotify -O /tmp/spotify ;
sudo cp /tmp/spotify /etc/apparmor.d/ ;
sudo service apparmor reload ;
#wget https://gist.githubusercontent.com/rhoconlinux/27e4611706ce52f4218a3c11f67e554f/raw/937f0e00ad6e111f10452a027289d9c0ffac8195/spotify-dark.sh -O spotify-dark
#sudo mv spotify-dark /usr/bin
#sudo chmod +x /usr/bin/spotify-dark
#sudo sed -i 's/Exec=spotify/Exec=spotify-dark/g' /usr/share/applications/spotify.desktop
####gisto
cd /tmp ;
wget http://download.gistoapp.com/Gisto-0.3.1-Linux_x86_64.tar.gz ;
tar -zxvf Gisto-0.3.1-Linux_x86_64.tar.gz ; cd Gisto-0.3.1-linux_x64/ ;
sudo ./setup; cd ;
sudo cp /opt/gisto/pixmaps/gisto.xpm /usr/share/icons/ ;
sudo rm /usr/share/applications/gisto.desktop ;
wget https://gist.githubusercontent.com/rhoconlinux/e3886d4ded4146980d5e336c99bf5c8e/raw/f5ba185e818275ec964bf48c6c03c28adf9ea491/gisto.desktopFIX -O gisto.desktop ;
sudo mv gisto.desktop /usr/share/applications/ ;
sudo chmod +x /usr/share/applications/gisto.desktop ;
##################PACKAGE INSTALL CON APT-FAST
sudo add-apt-repository ppa:saiarcot895/myppa -y ; sudo apt-get update ; sudo apt-get -y install apt-fast ;
sudo apt-get update ; sudo apt-fast dist-upgrade -y ; sudo apt-get autoremove -y ;
sudo apt-fast install -y aptitude ;
sudo apt-fast install -y cpulimit ;
sudo apt-fast install -y curl ;
sudo apt-fast install -y winbind ;
sudo apt-fast install -y htop ;
sudo apt-fast install -y gnome-software ;
sudo apt-fast install -y gdebi ;
sudo apt-fast install -y gnome-tweak-tool ;
sudo apt-fast install -y openjdk-7-jre ;
sudo apt-fast install -y ubuntu-restricted-extras ;
sudo apt-fast install -y synaptic ;
sudo apt-fast install -y vlc ;
sudo apt-fast install -y build-essential ;
sudo apt-fast install -y checkinstall ;
sudo apt-fast install -y devscripts ;
sudo apt-fast install -y fakeroot ;
sudo apt-fast install -y virtualbox ;
sudo apt-fast install -y virtualbox-guest-additions-iso ;
sudo apt-fast install -y libxml-parser-perl ;
sudo apt-fast install -y check ;
sudo apt-fast install -y avahi-daemon ;
sudo apt-fast install -y automake ;
sudo apt-fast install -y make ;
sudo apt-fast install -y dpatch ;
sudo apt-fast install -y patchutils ;
sudo apt-fast install -y autotools-dev ;
sudo apt-fast install -y xutils ;
sudo apt-fast install -y cmake ;
sudo apt-fast install -y libtool ;
sudo apt-fast install -y autoconf ;
sudo apt-fast install -y git ;
sudo apt-fast install -y git-core ;
sudo apt-fast install -y subversion ;
sudo apt-fast install -y bzr ;
sudo apt-fast install -y rar ;
sudo apt-fast install -y unace ;
sudo apt-fast install -y p7zip-full ;
sudo apt-fast install -y p7zip-rar ;
sudo apt-fast install -y sharutils ;
sudo apt-fast install -y mpack ;
sudo apt-fast install -y arj ;
sudo apt-fast install -y unrar ;
sudo apt-fast install -y lm-sensors ;
sudo apt-fast install -y gimp ;
sudo apt-fast install -y inkscape ;
sudo apt-fast install -y preload ;
sudo apt-fast install -y freemind ;
sudo apt-fast install -y freemind-browser ;
sudo apt-fast install -y freemind-plugins-svg ;
sudo apt-fast install -y wmctrl ;
sudo apt-fast install -y nautilus-open-terminal ;
sudo apt-fast install -y nautilus-admin;
#sudo apt-fast install -y nautilus-image-converter ;
sudo apt-fast install -y gnome-system-tools ;
sudo apt-fast install -y dconf-tools ;
sudo apt-fast install -y alacarte ;
sudo apt-fast install -y xterm ;
sudo apt-fast install -y gnome-search-tool ;
sudo apt-fast install -y htop ;
sudo apt-fast install -y alarm-clock ;
sudo apt-fast install -y pm-utils ;
sudo apt-fast install -y fish ;
sudo apt-fast install -y inxi ;
sudo apt-fast install -y pcmanfm ;
sudo apt-fast install -y bmon ;
sudo apt-fast install -y slurm ;
sudo apt-fast install -y tcptrack ;
sudo apt-fast install -y fotowall ;
sudo apt-fast install -y baobab ;
sudo apt-fast install -y thermald ;
sudo apt-fast install -y oxygen-icon-theme unetbootin freemind-* ;
sudo apt-fast install -y playonlinux ;
sudo apt-fast install -y scrot ;
sudo apt-fast install -y sushi-plugins ;
sudo apt-fast install -y leafpad ;
sudo apt-fast install -y pluma;
sudo dpkg --add-architecture i386 ;
sudo apt-fast install -y gtk2-engines-murrine ;
sudo apt-fast install -y gtk2-engines-blueheart ;
sudo apt-fast install -y gtk2-engines-cleanice ;
sudo apt-fast install -y gtk2-engines-magicchicken ;
sudo apt-fast install -y gtk2-engines-moblin ;
sudo apt-fast install -y gtk2-engines-nodoka ;
sudo apt-fast install -y gtk2-engines-oxygen ;
sudo apt-fast install -y gtk2-engines-aurora ;
sudo apt-fast install -y gtk2-engines-equinox ;
sudo apt-fast install -y gtk2-engines-xfce ;
sudo apt-fast install -y gtk2-engines-qtcurve ;
sudo apt-fast install -y gtk2-engines-wonderland ;
sudo apt-fast install -y gtk2-engines-murrine:i386 ;
sudo apt-fast install -y gtk2-engines-pixbuf:i386 ;
sudo apt-fast install -y libcanberra-gtk-module:i386 ;
sudo apt-fast install -y ttf-mscorefonts-installer;
sudo apt-fast install -y aspell-es;
sudo apt-fast install -y myspell-es;
sudo apt-fast install -y ispell;
sudo apt-fast install -y ispanish;
sudo apt-fast install -y myspell-en-gb;
sudo apt-fast install -y language-pack-en;
sudo apt-fast install -y language-pack-gnome-en;
sudo apt-fast install -y language-pack-es;
sudo apt-fast install -y language-pack-gnome-es;
sudo apt-fast install -y ienglish-common;
sudo apt-fast install -y language-pack-es;
sudo apt-fast install -y language-pack-gnome-es;
sudo apt-fast install -y libreoffice;
sudo apt-fast install -y libreoffice-base;
sudo apt-fast install -y libreoffice-writer libreoffice-writer2latex;
sudo apt-fast install -y libreoffice-calc;
sudo apt-fast install -y libreoffice-impress;
sudo apt-fast install -y libreoffice-style-*;
sudo apt-fast install -y libreoffice-l10n-es libreoffice-gtk3 libreoffice-gnome libreoffice-help-es;
#LO Minimal config
rm -Rf /tmp/minimal-lo ; mkdir -p /tmp/minimal-lo; cd /tmp/minimal-lo; wget https://github.com/rhoconlinux/algunas-cosas-sueltas/raw/055adf12327f9a8e4b4217203d2035bb1b52dedd/minimal_LO/4%20-%20minimal_LO_v2017.1.a.zip ; unzip 4\ -\ minimal_LO_v2017.1.a.zip ; mkdir -p ~/.config/libreoffice/4 ; rm -Rf ~/.config/libreoffice/4 ; mv 4/ ~/.config/libreoffice/ ; cd; killall libreoffice ;
sudo apt-fast install -y libk3b6-extracodecs ;
sudo apt-fast install -y libdvdread4 ;
sudo apt-add-repository sudo add-apt-repository ppa:jonathonf/ffmpeg-3 -y ; sudo apt-get update ;
sudo apt-fast install -y ffmpeg libav-tools x264 x265 ;
sudo apt-fast install -y x11-utils ;
sudo apt-fast install -y pulseaudio-utils ;
sudo apt-fast install -y libnotify-bin ;
sudo apt-fast install -y xdotool ;
sudo apt-fast install -y vlc ;
sudo apt-fast install -y smplayer ;
sudo apt-fast install -y audacious ;
sudo apt-fast install -y flac ;
sudo apt-fast install skype -y ;
wget https://dl.google.com/linux/direct/google-chrome-unstable_current_amd64.deb ;
sudo apt-fast install libcurl3 libnspr4-0d libxss1 -y ;
sudo dpkg -i google-chrome-unstable_current_amd64.deb ;
rm google-chrome-unstable_current_amd64.deb ;
sudo apt-get install -f -y;
sudo apt-fast install -y epiphany-browser;
sudo apt-fast install -y firefox;
sudo apt-fast install -y firefox-locale-es;
sudo apt-fast install -y firefox-launchpad-plugin;
wget https://downloads.vivaldi.com/stable/vivaldi-stable_1.4.589.38-1_amd64.deb -O vivaldi.deb ;
sudo dpkg -i vivaldi.deb ;
sudo apt-get install -f -y;
sudo apt-fast install libxss1 libappindicator1 libindicator7 ;
wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb ;
sudo dpkg -i google-chrome*.deb ;
sudo apt-get install -f -y ;
echo "alias clima='clear; inxi -xxxW ushuaia,argentina; curl -4 http://wttr.in/ushuaia'" >> ~/.bashrc ; source ~/.bashrc ;
cd /tmp ; wget https://www.tagspaces.org/downloads/tagspaces-amd64.deb ; sudo dpkg -i tagspaces-amd64.deb ; rm tagspaces-amd64.deb ;
#color picker
touch color-picker && echo "zenity --color-selection" > color-picker && sudo mv color-picker /usr/bin && sudo chmod +x /usr/bin/color-picker && wget https://gist.github.com/rhoconlinux/457f328ebe937959f6a5/raw -O color-picker.desktop && mkdir -p ~/.local/share/applications/ && mv color-picker.desktop ~/.local/share/applications/ ;
############################# PPA
#YPPA
sudo add-apt-repository ppa:webupd8team/y-ppa-manager -y ; sudo apt-get update ; sudo apt-get install y-ppa-manager -y ;
#SUBLIME hacked
sudo add-apt-repository ppa:webupd8team/sublime-text-3 -y ; sudo apt-get update ; sudo apt-get install sublime-text-installer -y ;
#Sublime 3126 ;
sudo chown $USER:$USER /opt/sublime_text/sublime_text ; sudo printf '\x95' | dd seek=$((0xc700)) conv=notrunc bs=1 of=/opt/sublime_text/sublime_text ;
sudo apt-get install -y latexmk ;
rm -R ~/.config/sublime-text-3 ; ln -s ~/MEGA/MEGAsync/apps-on-cloud/sublime-text-configs/OK-sublime3-limpio-con-stata/sublime-text-3 ~/.config/
#Go for it
sudo add-apt-repository ppa:mank319/go-for-it -y ; sudo apt update ; sudo apt install go-for-it -y ;
#Viewior
cd /tmp ; wget https://launchpad.net/~skellat/+archive/ubuntu/flow1/+files/viewnior_1.4-1~ubuntu14.04.1~ppa1_amd64.deb -O viewnior.deb ; sudo dpkg -i viewnior.deb ;
sudo apt-get install -f -y ;
cd ; sudo apt-get update ;
#Skype
sudo add-apt-repository "deb http://archive.canonical.com/ xenial partner" ; sudo dpkg --add-architecture i386;
sudo apt-get update ;
sudo apt-get install skype -y ;
cd /tmp
wget -O dump.conf https://gist.githubusercontent.com/rhoconlinux/b0d9cc1398ec9ea31835dab521b514d3/raw/5b32760266b64e58d518f76c5e64706ae4657929/dconf-dump-elementary-loki-gsettings
dconf load / < dump.dconf
cd
#LATEX
sudo apt-fast install -y x11-utils;
sudo apt-fast install -y texlive-fonts-extra;
sudo apt-fast install -y texlive-lang-spanish;
sudo apt-fast install -y gummi;
sudo apt-fast install -y wine;
sudo apt-fast install -y lyx;
sudo apt-fast install -y ispell;
sudo apt-fast install -y ispanish;
sudo apt-fast install -y tex4ht;
sudo apt-fast install -y texlive-latex-base;
sudo apt-fast install -y texlive-latex-extra;
sudo apt-fast install -y texlive-latex-recommended;
sudo apt-fast install -y texlive-lang-spanish;
sudo apt-fast install -y aspell-es;
sudo apt-fast install -y texlive-publishers;
sudo apt-fast install -y latexmk;
sudo apt-get remove -y texlive-publishers-doc ;
sudo apt-get remove -y texlive-latex-extra-doc ;
sudo apt-get remove -y texlive-pictures-doc ;
sudo apt-get remove -y texlive-pstricks-doc ;
sudo apt-get remove -y texlive-fonts-extra-doc ;
sudo apt-get remove -y texlive-latex-recommended-doc ;
#lyx con templates:
#los templates se ponen aca:
#cd /usr/share/lyx/layouts ; sudo cp *.inc /usr/local/share/texmf/ ; sudo cp *.layout /usr/local/share/texmf/ ; lyx -x reconfigure
#R
sudo add-apt-repository -y ppa:marutter/rrutter ; sudo apt-get update ;
sudo apt-fast install -y r-base r-base-dev
cd /tmp ; wget https://download1.rstudio.org/rstudio-1.0.44-amd64.deb -O rstudio.deb ;
sudo dpkg -i rstudio.deb ; sudo apt-get install -y -f ;
#### Genymotion
cd ; mkdir -p ~/.installer-genymotion ; cd ~/.installer-genymotion ;
axel -o genymotion.bin https://dl.genymotion.com/releases/genymotion-2.8.0/genymotion-2.8.0-linux_x64.bin ;
chmod +x genymotion.bin ; ./genymotion.bin
sudo cp ~/.installer-genymotion/genymotion/genymotion /usr/bin/ ;
sudo chmod +x /usr/bin/genymotion ;
mkdir -p ~/.local/share/applications ;
cd /tmp
wget https://gist.githubusercontent.com/rhoconlinux/f9aaecca5001386198ed/raw/37ad64e9f588e0c2133a5f7199b7d4d900cf6708/genymotion.desktop
cp -a genymotion.desktop ~/.local/share/applications ;
chmod +x ~/.local/share/applications/genymotion.desktop ;
#pcman fm open as root
sudo apt install pcmanfm -y ;
cd /tmp/ ; wget https://gist.githubusercontent.com/rhoconlinux/8798e2b33e677c37e8ce6ee151b01e1b/raw/ed76c559c4c0b397acd6c7e446560a0afeb72ccc/pcmanfm-openasroot-installer.sh ; sh pcmanfm-openasroot-installer.sh ; cd
#######################################################################################################
#laburo:
#
#insync
cd /tmp ; wget http://s.insynchq.com/builds/insync_1.3.12.36116-trusty_amd64.deb -O insync.deb ;
sudo dpkg -i insync.deb ; sudo apt-get install -f -y; sudo apt-get autoremove -y;
#mendeley
cd /tmp ; rm -Rf mendeley ; mkdir -p mendeley ; cd mendeley ;
axel http://desktop-download.mendeley.com/download/apt/pool/main/m/mendeleydesktop/mendeleydesktop_1.16.1-stable_amd64.deb ;
sudo dpkg -i *.deb ; sudo apt-get install -f -y ; cd
#
#thunderbird personal
sudo apt-get install -y thunderbird ;
#
#Dropbox
cd /tmp ; git clone https://github.com/nathandyer/elementary-dropbox-mods ; cd elementary-dropbox-mods ; ./dropbox-elementary.sh ; sudo ln -s ~/.dropbox-dist/dropboxd /usr/bin/dropbox ; sudo chmod +x /usr/bin/dropbox ; cd ; clear
#
#Play on Linux
cd /tmp ; wget https://www.playonlinux.com/script_files/PlayOnLinux/4.2.10/PlayOnLinux_4.2.10.deb -O playonlinux.deb ;
sudo dpkg -i playonlinux.deb ; sudo apt-get install -f -y; sudo apt-get autoremove -y;
#
#wmail linux
sudo wget -qO - https://wavebox.io/dl/client/repo/archive.key | sudo apt-key add - ;
echo "deb https://wavebox.io/dl/client/repo/ x86_64/" | sudo tee --append /etc/apt/sources.list.d/repo.list ;
sudo apt update ;
sudo apt install wavebox -y;
#
#popcorn time
mkdir -p /tmp/pct-sh ;
cd /tmp/pct-sh ; wget https://get.popcorntime.sh/build/Popcorn-Time-0.3.10-Linux-64.tar.xz -O pct.tar.xz;
tar -xJf pct.tar.xz ; cd ..
mv pct-sh/ popcorntime-sh ;
sudo mv popcorntime-sh/ /opt/ ;
cd /opt/popcorntime-sh/ ;
sudo chmod +x Popcorn-Time;
#popcorn time ejecutable
echo "cd /opt/popcorntime-sh/ ; ./Popcorn-Time" > popcorn-time ; sudo mv popcorn-time /usr/bin ; sudo chmod +x /usr/bin/popcorn-time ;
#desktop
cd /tmp
wget https://upload.wikimedia.org/wikipedia/commons/thumb/6/6c/Popcorn_Time_logo.png/250px-Popcorn_Time_logo.png -O popcorn-time.svg
sudo mv popcorn-time.svg /usr/share/icons
#wget
wget https://gist.githubusercontent.com/rhoconlinux/c218a401a429f43fa9a0dce0794981de/raw/0827dfba5f17d0766e1c75a05c78c9dc9a9b373a/popcorn-time.desktop
sudo mv popcorn-time.desktop /usr/share/applications/
sudo chmod +x /usr/share/applications/popcorn-time.desktop
#verctor:
sudo sh yEd-3.17_64-bit_setup.sh
#icons
sudo add-apt-repository ppa:noobslab/macbuntu -y; sudo apt-get update
sudo apt-get install macbuntu-os-icons-lts-v7 -y ;
sudo apt-get install macbuntu-os-ithemes-lts-v7 -y;
#moka
sudo add-apt-repository ppa:moka/daily -y ; sudo apt-get update ; sudo apt-get install moka-icon-theme faba-icon-theme -y ;
#arc
wget http://download.opensuse.org/repositories/home:/Horst3180/xUbuntu_16.04/all/arc-theme_1480088096.9047b20_all.deb -O arc.deb; sudo dpkg -i arc.deb
#wget http://download.opensuse.org/repositories/home:/Pival81/xUbuntu_16.04/amd64/arc-icon-theme_20160605_amd64.deb -O arc-icns.deb; sudo dpkg -i arc-icns.deb
#arc icons gh
mkdir -p /tmp/arc-icons ; cd /tmp/arc-icons
wget https://github.com/horst3180/arc-icon-theme/archive/master.zip ; unzip master.zip ; cd arc-icon-theme-master/ ; mv Arc/ ~/.icons ; cd
#papirus
wget -qO- https://raw.githubusercontent.com/PapirusDevelopmentTeam/papirus-icon-theme/master/install-papirus-home-gtk.sh | sh
#victory
cd ~/.icons/ ; git clone https://github.com/newhoa/victory-icon-theme.git ; cd
#captiva icons
mkdir -p /tmp/cap-icons ; cd /tmp/cap-icons ; wget https://github.com/captiva-project/captiva-icon-theme/archive/master.zip ; unzip master.zip ; cd captiva-icon-theme-master/ ; mv Captiva/ ~/.icons ; cd
############ Jdownloader
cd /tmp/ ; axel http://installer.jdownloader.org/JD2SilentSetup_x64.sh ; chmod +x JD2SilentSetup_x64.sh ; sh JD2SilentSetup_x64.sh ;
cd ;
#crossover 15
sudo apt-fast install wine -y ;
# cd ~/MEGA/MEGAsync/instaladores/crossover_15/ ; sudo gdebi --n crossover15.deb ; sudo mv /opt/cxoffice/lib/wine/winewrapper.exe.so /opt/cxoffice/lib/wine/winewrapper.old ; sudo cp crack/winewrapper.exe.so /opt/cxoffice/lib/wine/ ; sudo apt-get install libnss-mdns:i386 -y
#steam
cd /tmp ;
wget https://steamcdn-a.akamaihd.net/client/installer/steam.deb ;
sudo dpkg -i steam.deb ;
sudo apt-get install -f -y ;
cd
#------------------outdated / not in use
#xrandr --output eDP1 --gamma 1.35:1.15:0.55 --brightness 1.05;
#touch fix-xrandr ; echo "xrandr --output eDP1 --gamma 1.35:1.15:0.55 --brightness 1.05" > fix-xrandr ; sudo mv fix-xrandr /usr/bin ; sudo chmod +x /usr/bin/fix-xrandr;
#gnome specific
#sudo add-apt-repository ppa:ne0sight/chrome-gnome-shell -y ;
#sudo apt-get update ;
#sudo apt-get install chrome-gnome-shell -y ;
#sudo apt-get install -f -y