Skip to content

Instantly share code, notes, and snippets.

@rhoconlinux
Last active November 11, 2017 03:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rhoconlinux/17f3698cbc5f61c151d662fd0b668fa7 to your computer and use it in GitHub Desktop.
Save rhoconlinux/17f3698cbc5f61c151d662fd0b668fa7 to your computer and use it in GitHub Desktop.
Loki in Macbook Installer 201707 devnull
#!/bin/bash
############## Ver 4
############## 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 < "/dev/null"
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 < "/dev/null"
#nautilus
sudo apt install nautilus -y < "/dev/null"
gsettings set org.gnome.nautilus.preferences enable-interactive-search true < "/dev/null"
gsettings set org.gnome.nautilus.preferences sort-directories-first true < "/dev/null"
#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' < "/dev/null"
gsettings set org.gnome.settings-daemon.plugins.xsettings overrides "{'Gtk/DecorationLayout': <'close,minimize:maximize'>}" < "/dev/null"
gsettings set org.pantheon.desktop.gala.appearance button-layout 'close,minimize:maximize' < "/dev/null"
gsettings set org.gnome.desktop.wm.preferences button-layout 'close,minimize:maximize' < "/dev/null"
#Shortcuts
gsettings set org.gnome.desktop.wm.keybindings close "['<Super>x']" < "/dev/null"
gsettings set org.gnome.desktop.wm.keybindings minimize "['<Super>s']" < "/dev/null"
gsettings set org.gnome.desktop.wm.keybindings panel-main-menu "['<Super>q']" < "/dev/null"
gsettings set org.gnome.desktop.wm.keybindings minimize "['<Super>s']" < "/dev/null"
gsettings set org.gnome.desktop.wm.keybindings show-desktop "['<Super>d']" < "/dev/null"
gsettings set org.gnome.desktop.wm.keybindings unmaximize "['<Super>Down']" < "/dev/null"
gsettings set org.gnome.desktop.wm.keybindings maximize "['<Super>Up']" < "/dev/null"
gsettings set org.gnome.desktop.wm.keybindings toggle-fullscreen "['<Super><Shift>Up']" < "/dev/null"
gsettings set org.gnome.desktop.wm.keybindings panel-main-menu "['<Super>q']" < "/dev/null"
#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']" < "/dev/null"
#top panel
gsettings set com.canonical.indicator.session show-real-name-on-panel false < "/dev/null"
#power dimm
xset s off
gsettings set org.gnome.desktop.session idle-delay 0 < "/dev/null"
gsettings set org.gnome.desktop.screensaver lock-enabled false < "/dev/null"
gsettings set org.gnome.desktop.screensaver lock-delay "0" < "/dev/null"
gsettings set org.gnome.settings-daemon.plugins.power idle-dim false < "/dev/null"
gsettings set org.gnome.desktop.screensaver lock-delay $(echo 0*60 | bc) < "/dev/null"
#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 < "/dev/null"
gsettings set org.gnome.nautilus.preferences sort-directories-first true < "/dev/null"
#### Basicos
sh -c 'echo "deb http://deb.opera.com/opera/ stable non-free" >> /etc/apt/sources.list.d/opera.list'< "/dev/null"
sudo sh -c 'wget -O - http://deb.opera.com/archive.key | apt-key add -'; sudo apt-get update< "/dev/null"
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 < "/dev/null"
#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 < "/dev/null"
echo deb http://repository.spotify.com stable non-free | sudo tee /etc/apt/sources.list.d/spotify.list < "/dev/null"
sudo apt-get update < "/dev/null"
sudo apt-get install -y spotify-client < "/dev/null"
wget http://raw.github.com/ozcanesen/spotify-indicator/master/spotify -O /tmp/spotify ;
sudo cp /tmp/spotify /etc/apparmor.d/ ;
sudo service apparmor reload < "/dev/null"
#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/ < "/dev/null"
sudo rm /usr/share/applications/gisto.desktop < "/dev/null"
wget https://gist.githubusercontent.com/rhoconlinux/e3886d4ded4146980d5e336c99bf5c8e/raw/f5ba185e818275ec964bf48c6c03c28adf9ea491/gisto.desktopFIX -O gisto.desktop < "/dev/null"
sudo mv gisto.desktop /usr/share/applications/ < "/dev/null"
sudo chmod +x /usr/share/applications/gisto.desktop < "/dev/null"
##################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 < "/dev/null"
sudo apt-fast install -y aptitude < "/dev/null"
sudo apt-fast install -y cpulimit < "/dev/null"
sudo apt-fast install -y curl < "/dev/null"
sudo apt-fast install -y winbind < "/dev/null"
sudo apt-fast install -y htop < "/dev/null"
sudo apt-fast install -y gnome-software < "/dev/null"
sudo apt-fast install -y gdebi < "/dev/null"
sudo apt-fast install -y gnome-tweak-tool < "/dev/null"
sudo apt-fast install -y openjdk-7-jre < "/dev/null"
sudo apt-fast install -y ubuntu-restricted-extras < "/dev/null"
sudo apt-fast install -y synaptic < "/dev/null"
sudo apt-fast install -y vlc < "/dev/null"
sudo apt-fast install -y build-essential < "/dev/null"
sudo apt-fast install -y checkinstall < "/dev/null"
sudo apt-fast install -y devscripts < "/dev/null"
sudo apt-fast install -y fakeroot < "/dev/null"
sudo apt-fast install -y virtualbox < "/dev/null"
sudo apt-fast install -y virtualbox-guest-additions-iso < "/dev/null"
sudo apt-fast install -y libxml-parser-perl < "/dev/null"
sudo apt-fast install -y check < "/dev/null"
sudo apt-fast install -y avahi-daemon < "/dev/null"
sudo apt-fast install -y automake < "/dev/null"
sudo apt-fast install -y make < "/dev/null"
sudo apt-fast install -y dpatch < "/dev/null"
sudo apt-fast install -y patchutils < "/dev/null"
sudo apt-fast install -y autotools-dev < "/dev/null"
sudo apt-fast install -y xutils < "/dev/null"
sudo apt-fast install -y cmake < "/dev/null"
sudo apt-fast install -y libtool < "/dev/null"
sudo apt-fast install -y autoconf < "/dev/null"
sudo apt-fast install -y git < "/dev/null"
sudo apt-fast install -y git-core < "/dev/null"
sudo apt-fast install -y subversion < "/dev/null"
sudo apt-fast install -y bzr < "/dev/null"
sudo apt-fast install -y rar < "/dev/null"
sudo apt-fast install -y unace < "/dev/null"
sudo apt-fast install -y p7zip-full < "/dev/null"
sudo apt-fast install -y p7zip-rar < "/dev/null"
sudo apt-fast install -y sharutils < "/dev/null"
sudo apt-fast install -y mpack < "/dev/null"
sudo apt-fast install -y arj < "/dev/null"
sudo apt-fast install -y unrar < "/dev/null"
sudo apt-fast install -y lm-sensors < "/dev/null"
sudo apt-fast install -y gimp < "/dev/null"
sudo apt-fast install -y inkscape < "/dev/null"
sudo apt-fast install -y preload < "/dev/null"
sudo apt-fast install -y freemind < "/dev/null"
sudo apt-fast install -y freemind-browser < "/dev/null"
sudo apt-fast install -y freemind-plugins-svg < "/dev/null"
sudo apt-fast install -y wmctrl < "/dev/null"
sudo apt-fast install -y nautilus-open-terminal < "/dev/null"
sudo apt-fast install -y nautilus-admin< "/dev/null"
#sudo apt-fast install -y nautilus-image-converter < "/dev/null"
sudo apt-fast install -y gnome-system-tools < "/dev/null"
sudo apt-fast install -y dconf-tools < "/dev/null"
sudo apt-fast install -y alacarte < "/dev/null"
sudo apt-fast install -y xterm < "/dev/null"
sudo apt-fast install -y gnome-search-tool < "/dev/null"
sudo apt-fast install -y htop < "/dev/null"
sudo apt-fast install -y alarm-clock < "/dev/null"
sudo apt-fast install -y pm-utils < "/dev/null"
sudo apt-fast install -y fish < "/dev/null"
sudo apt-fast install -y inxi < "/dev/null"
sudo apt-fast install -y pcmanfm < "/dev/null"
sudo apt-fast install -y bmon < "/dev/null"
sudo apt-fast install -y slurm < "/dev/null"
sudo apt-fast install -y tcptrack < "/dev/null"
sudo apt-fast install -y fotowall < "/dev/null"
sudo apt-fast install -y baobab < "/dev/null"
sudo apt-fast install -y thermald < "/dev/null"
sudo apt-fast install -y oxygen-icon-theme unetbootin freemind-* < "/dev/null"
sudo apt-fast install -y playonlinux < "/dev/null"
sudo apt-fast install -y scrot < "/dev/null"
sudo apt-fast install -y sushi-plugins < "/dev/null"
sudo apt-fast install -y leafpad < "/dev/null"
sudo apt-fast install -y pluma< "/dev/null"
sudo dpkg --add-architecture i386 ;
sudo apt-fast install -y gtk2-engines-murrine < "/dev/null"
sudo apt-fast install -y gtk2-engines-blueheart < "/dev/null"
sudo apt-fast install -y gtk2-engines-cleanice < "/dev/null"
sudo apt-fast install -y gtk2-engines-magicchicken < "/dev/null"
sudo apt-fast install -y gtk2-engines-moblin < "/dev/null"
sudo apt-fast install -y gtk2-engines-nodoka < "/dev/null"
sudo apt-fast install -y gtk2-engines-oxygen < "/dev/null"
sudo apt-fast install -y gtk2-engines-aurora < "/dev/null"
sudo apt-fast install -y gtk2-engines-equinox < "/dev/null"
sudo apt-fast install -y gtk2-engines-xfce < "/dev/null"
sudo apt-fast install -y gtk2-engines-qtcurve < "/dev/null"
sudo apt-fast install -y gtk2-engines-wonderland < "/dev/null"
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 < "/dev/null"
sudo apt-fast install -y ttf-mscorefonts-installer< "/dev/null"
sudo apt-fast install -y aspell-es< "/dev/null"
sudo apt-fast install -y myspell-es< "/dev/null"
sudo apt-fast install -y ispell< "/dev/null"
sudo apt-fast install -y ispanish< "/dev/null"
sudo apt-fast install -y myspell-en-gb< "/dev/null"
sudo apt-fast install -y language-pack-en< "/dev/null"
sudo apt-fast install -y language-pack-gnome-en< "/dev/null"
sudo apt-fast install -y language-pack-es< "/dev/null"
sudo apt-fast install -y language-pack-gnome-es< "/dev/null"
sudo apt-fast install -y ienglish-common< "/dev/null"
sudo apt-fast install -y language-pack-es< "/dev/null"
sudo apt-fast install -y language-pack-gnome-es< "/dev/null"
sudo apt-fast install -y libreoffice< "/dev/null"
sudo apt-fast install -y libreoffice-base< "/dev/null"
sudo apt-fast install -y libreoffice-writer libreoffice-writer2latex< "/dev/null"
sudo apt-fast install -y libreoffice-calc< "/dev/null"
sudo apt-fast install -y libreoffice-impress< "/dev/null"
sudo apt-fast install -y libreoffice-style-*< "/dev/null"
sudo apt-fast install -y libreoffice-l10n-es libreoffice-gtk3 libreoffice-gnome libreoffice-help-es< "/dev/null"
#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 < "/dev/null"
sudo apt-fast install -y libk3b6-extracodecs < "/dev/null"
sudo apt-fast install -y libdvdread4 < "/dev/null"
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 < "/dev/null"
sudo apt-fast install -y pulseaudio-utils < "/dev/null"
sudo apt-fast install -y libnotify-bin < "/dev/null"
sudo apt-fast install -y xdotool < "/dev/null"
sudo apt-fast install -y vlc < "/dev/null"
sudo apt-fast install -y smplayer < "/dev/null"
sudo apt-fast install -y audacious < "/dev/null"
sudo apt-fast install -y flac < "/dev/null"
sudo apt-fast install skype -y < "/dev/null"
sudo apt-fast install libcurl3 libnspr4-0d libxss1 -y ;
wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb < "/dev/null"
sudo dpkg -i google-chrome*.deb < "/dev/null"
sudo apt-get install -f -y < "/dev/null"
gconftool-2 --set /apps/metacity/general/button_layout --type string "close,minimize:maximize"
sudo apt-get install -f -y< "/dev/null"
sudo apt-fast install -y epiphany-browser< "/dev/null"
sudo apt-fast install -y firefox< "/dev/null"
sudo apt-fast install -y firefox-locale-es< "/dev/null"
sudo apt-fast install -y firefox-launchpad-plugin< "/dev/null"
wget https://downloads.vivaldi.com/stable/vivaldi-stable_1.4.589.38-1_amd64.deb -O vivaldi.deb < "/dev/null"
sudo dpkg -i vivaldi.deb ;
sudo apt-get install -f -y< "/dev/null"
sudo apt-fast install libxss1 libappindicator1 libindicator7 < "/dev/null"
echo "alias clima='clear; inxi -xxxW ushuaia,argentina; curl -4 http://wttr.in/ushuaia'" >> ~/.bashrc ; source ~/.bashrc < "/dev/null"
cd /tmp ; wget https://www.tagspaces.org/downloads/tagspaces-amd64.deb ; sudo dpkg -i tagspaces-amd64.deb ; rm tagspaces-amd64.deb < "/dev/null"
#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/ < "/dev/null"
############################# 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 < "/dev/null"
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 < "/dev/null"
#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< "/dev/null"
sudo apt-get update < "/dev/null"
sudo apt-get install skype -y < "/dev/null"
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< "/dev/null"
sudo apt-fast install -y texlive-fonts-extra< "/dev/null"
sudo apt-fast install -y texlive-lang-spanish< "/dev/null"
sudo apt-fast install -y gummi< "/dev/null"
sudo apt-fast install -y wine< "/dev/null"
sudo apt-fast install -y lyx< "/dev/null"
sudo apt-fast install -y ispell< "/dev/null"
sudo apt-fast install -y ispanish< "/dev/null"
sudo apt-fast install -y tex4ht< "/dev/null"
sudo apt-fast install -y texlive-latex-base< "/dev/null"
sudo apt-fast install -y texlive-latex-extra< "/dev/null"
sudo apt-fast install -y texlive-latex-recommended< "/dev/null"
sudo apt-fast install -y texlive-lang-spanish< "/dev/null"
sudo apt-fast install -y aspell-es< "/dev/null"
sudo apt-fast install -y texlive-publishers< "/dev/null"
sudo apt-fast install -y latexmk< "/dev/null"
sudo apt-get remove -y texlive-publishers-doc < "/dev/null"
sudo apt-get remove -y texlive-latex-extra-doc < "/dev/null"
sudo apt-get remove -y texlive-pictures-doc < "/dev/null"
sudo apt-get remove -y texlive-pstricks-doc < "/dev/null"
sudo apt-get remove -y texlive-fonts-extra-doc < "/dev/null"
sudo apt-get remove -y texlive-latex-recommended-doc < "/dev/null"
#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 < "/dev/null"
#### 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 < "/dev/null"
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 < "/dev/null"
sudo dpkg -i insync.deb ; sudo apt-get install -f -y; sudo apt-get autoremove -y< "/dev/null"
#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 < "/dev/null"
#
#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 < "/dev/null"
sudo dpkg -i playonlinux.deb ; sudo apt-get install -f -y; sudo apt-get autoremove -y< "/dev/null"
#
#wmail linux
sudo wget -qO - https://wavebox.io/dl/client/repo/archive.key | sudo apt-key add - < "/dev/null"
echo "deb https://wavebox.io/dl/client/repo/ x86_64/" | sudo tee --append /etc/apt/sources.list.d/repo.list ;
sudo apt update < "/dev/null"
sudo apt install wavebox -y< "/dev/null"
#
#popcorn time
mkdir -p /tmp/pct-sh < "/dev/null"
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/ < "/dev/null"
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 < "/dev/null"
#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
#icons
sudo add-apt-repository ppa:noobslab/macbuntu -y < "/dev/null"
sudo apt-get update < "/dev/null"
sudo apt-get install macbuntu-os-icons-lts-v7 -y < "/dev/null"
sudo apt-get install macbuntu-os-ithemes-lts-v7 -y < "/dev/null"
#moka
sudo add-apt-repository ppa:moka/daily -y ; sudo apt-get update ; sudo apt-get install moka-icon-theme faba-icon-theme -y < "/dev/null"
#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
#Complementary Software
sudo add-apt-repository ppa:gerardpuig/ppa -y < "/dev/null"
sudo apt-get update < "/dev/null"
sudo apt-get install ubuntu-cleaner -y < "/dev/null"
sudo add-apt-repository ppa:eviltwin1/feedreader-stable
sudo apt-get update
sudo apt-get install feed-reader -y
sudo apt-fast install taske -y
sudo add-apt-repository ppa:teatime/ppa -y
sudo apt update
sudo apt install teatime-unity
# add Typora's repository
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys BA300B7755AFCFAE
sudo add-apt-repository 'deb https://typora.io ./linux/'
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys BA300B7755AFCFAE
sudo apt update
# install typora
sudo apt-get install typora -y
sudo add-apt-repository ppa:wereturtle/ppa -y
sudo apt-get update ;
sudo apt-get install ghostwriter -y
#mendeley
cd /tmp
wget https://www.mendeley.com/repositories/ubuntu/stable/amd64/mendeleydesktop-latest -O mendeley.deb
sudo dpkg -i mendeley.deb
sudo apt-get install -f -y
cd
#thefuck
sudo apt-fast install -y python3-dev python3-pip
sudo apt-fast install python-pip
sudo pip3 install thefuck
sudo pip install --upgrade pip
############ 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 < "/dev/null"
# 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 < "/dev/null"
sudo dpkg -i steam.deb < "/dev/null"
sudo apt-get install -f -y < "/dev/null"
cd
#Testing
#======
sudo add-apt-repository ppa:philip.scott/notes-up
sudo apt-get update ; sudo apt-get install com.github.philip-scott.notes-up
sudo snap install yakyak
sudo add-apt-repository ppa:kasra-mp/ubuntu-indicator-weather -y
sudo apt update ; sudo apt install indicator-weather -y
sudo add-apt-repository ppa:coffee-team/coffee
sudo apt update && sudo apt install com.github.nick92.coffee
#------------------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 < "/dev/null"
#sudo apt-get update < "/dev/null"
#sudo apt-get install chrome-gnome-shell -y < "/dev/null"
#sudo apt-get install -f -y
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment