sh 1604安装程序gnome v1
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了sh 1604安装程序gnome v1相关的知识,希望对你有一定的参考价值。
#!/bin/bash
############## Fixes & Upgrade
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;
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 ;
#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/
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" ;
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 ;
#Keyboard
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 ;
gsettings set org.gnome.shell.overrides button-layout 'close,minimize:maximize' ;
gsettings set org.gnome.desktop.wm.preferences button-layout "'close,minimize:maximize'" ;
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 show-desktop "['<Super>d']" ;
gsettings set org.gnome.desktop.wm.keybindings unmaximize "['<Super>Down']" ;
gsettings set org.gnome.desktop.wm.keybindings toggle-fullscreen "['<Ctrl><Shift>Up']" ;
gsettings set org.gnome.desktop.wm.keybindings panel-main-menu "['<Super>q']" ;
gsettings set org.gnome.settings-daemon.plugins.xsettings overrides "{'Gtk/DecorationLayout': <'close,minimize:maximize'>}"gsettings set org.gnome.shell.overrides button-layout 'close,minimize:maximize'
gsettings set org.gnome.desktop.wm.preferences button-layout "'close,minimize:maximize'"
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 show-desktop "['<Super>d']"
gsettings set org.gnome.desktop.wm.keybindings unmaximize "['<Super>Down']"
gsettings set org.gnome.desktop.wm.keybindings toggle-fullscreen "['<Ctrl><Shift>Up']"
gsettings set org.gnome.desktop.wm.keybindings panel-main-menu "['<Super>q']"
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' ;
#top panel
gsettings set com.canonical.indicator.keyboard visible false ;
gsettings set com.canonical.indicator.bluetooth visible false ;
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) ;
#### Basicos
mkdir -p ~/.synapse-web-install ; cd ~/.synapse-web-install ;
wget https://launchpad.net/~elementary-os/+archive/ubuntu/unstable-upstream/+files/synapse_0~529-0~ubuntu14.04.1_amd64.deb -O synapse.deb ;
sudo dpkg -i synapse.deb ; sudo apt-get install -f -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 ;
##################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-fast install -y software-properties-common;
sudo apt-fast install -y aptitude;
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;
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
echo -e "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
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-get 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;
############################# 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/ $(lsb_release -sc) partner" ; sudo dpkg --add-architecture i386;
sudo apt-get update ;
sudo apt-get install skype -y ;
#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-get 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 ~/MEGA/MEGAsync/install-helpers/archivos-binarios/genymotion /usr/bin/ ;
sudo chmod +x /usr/bin/genymotion ;
mkdir -p ~/.local/share/applications ;
cp -a ~/MEGA/MEGAsync/install-helpers/archivos-desktop/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
#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
#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
#######################################################################################################
#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
#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
#thunderbird personal
sudo apt-get install -y thunderbird ; rm -R ~/.thunderbird ; ln -s ~/MEGA/MEGAsync/apps-on-cloud/thunderbird-realtime-hidden/.thunderbird ~/.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
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 add-apt-repository ppa:atareao/wmail -y ; sudo apt update ; sudo apt install wmail-client -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
############ Jdownloader
cd /tmp/ ; axel http://installer.jdownloader.org/JD2SilentSetup_x64.sh ; chmod +x JD2SilentSetup_x64.sh ; sh JD2SilentSetup_x64.sh ;
cd ;
以上是关于sh 1604安装程序gnome v1的主要内容,如果未能解决你的问题,请参考以下文章