LinuxMint-19.03 After Install
Publicado por tiago gilgia manoel (última atualização em 03/03/2020)
[ Hits: 3.313 ]
Download mint-after-install-2.5.sh
Script para pós instalação do Linux Mint 19.03.
#!/bin/bash
##########SCRIPT DE PÓS INSTALAÇÃO DO LINUX MINT 19.03#########
#Escrito por Tiago G. Manoel
#Release - 2.5
#Data - 05/02/2020
#---VARIÁVEIS---#
INSYNC=https://d2t3ff60b2tol4.cloudfront.net/builds/insync_3.0.27.40677-bionic_amd64.deb
GOOGLE_CHROME=https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
ESCOLHA=Softwares
######Função Menu Principal######
declare -f MENU
function MENU()
{
clear
echo "=== MINT-AFTER-INSTALL-2.5 ==="
PS3="Escolha uma opção! "
select i in "Atualizar Repositórios e Sistema" "Instalar Softwares" sair
do
case "$i" in
"Atualizar Repositórios e Sistema" )
ATUALIZAR
;;
"Instalar Softwares" )
INSTMENU
;;
sair )
echo "Encerrando..."
break
;;
* )
echo "opcao inválida, tente novamente!"
;;
esac
done
exit 0
}
######Função de Atualização do Sistema######
declare -f ATUALIZAR
function ATUALIZAR()
{
clear
echo "=== Atualizando Repositórios ==="
sleep 2
sudo rm /var/lib/dpkg/lock-frontend
sudo rm /var/cache/apt/archives/lock
sudo apt update -y
clear
echo "=== Aplicadando Atulizações ==="
sleep 2
sudo apt dist-upgrade -y
clear
echo "=== Terminado ==="
sleep 3
MENU
}
######Funções de Instalação######
declare -f INSTMENU
function INSTMENU()
{
selection=$(zenity --list --checklist --width=300 --height=600 \
--title='Selecione' --column="#" --column=Softwares \
FALSE "Google-Chrome-Stable" \
FALSE "Insync" \
FALSE "Spotify-FlatHub" \
FALSE "Sublime-Text-FlatHub" \
FALSE "ubuntu-restricted-extras" \
FALSE "mpv" \
FALSE "celluloid" \
FALSE "audacious" \
FALSE "gnome-calendar" \
FALSE "gnome-maps" \
FALSE "gnome-contacts" \
FALSE "shutter" \
FALSE "flameshot" \
FALSE "snapd" \
FALSE "kdenlive" \
FALSE "ffmpeg" \
FALSE "mint-meta-codecs" \
FALSE "winff" \
FALSE "synaptic" \
FALSE "gparted" \
FALSE "geary" \
FALSE "steam-installer" )
if [[ -z $selection ]]; then
MENU
fi
echo "${selection//|/ }"
INSTPROGRAMA
}
declare -f INSTCHROME
function INSTCHROME()
{
clear
echo "#========== Instalando Google Chrome ==========#"
sleep 2
mkdir /tmp/chrome
cd /tmp/chrome
wget $GOOGLE_CHROME
sudo dpkg -i *.deb
echo "#========== Finalizado com sucesso! ==========#"
sleep 3
clear
}
declare -f INSTINSYNC
function INSTINSYNC()
{
clear
echo "#========== Instalando Insync ==========#"
sleep 2
mkdir /tmp/insync
cd /tmp/insync
wget $INSYNC
sudo dpkg -i *.deb
echo "#========== Finalizado com sucesso! ==========#"
sleep 3
clear
}
declare -f INSTPROGRAMA
function INSTPROGRAMA()
{
clear
echo "#========== Instalando $ESCOLHA ==========#"
sleep 2
clear
for ESCOLHA in ${selection//|/ }; do
case $ESCOLHA in
Google-Chrome-Stable )
echo "#========== Instalando $ESCOLHA ==========#"
sleep 2
INSTCHROME
;;
Insync )
echo "#========== Instalando $ESCOLHA ==========#"
sleep 2
INSTINSYNC
;;
Spotify-FlatHub )
echo "#========== Instalando $ESCOLHA ==========#"
sleep 2
flatpak install flathub com.spotify.Client -y
;;
Sublime-Text-FlatHub )
echo "#========== Instalando $ESCOLHA ==========#"
sleep 2
flatpak install flathub com.sublimetext.three -y
;;
* )
echo "#========== Instalando $ESCOLHA ==========#"
sleep 2
apt install $ESCOLHA -y
;;
esac
done
echo "#========== Finalizado com sucesso! ==========#"
sleep 3
clear
MENU
}
#==========EXECUÇÂO==========#
MENU
Crackear rede WIFI - Script para testes de segurança em redes Wifi - wpa e wpa2 com wordlist
Backup diario rotativo MySQL + Backup semanal mantendo uma cópia local e remota
Agenda desenvolvida em Shell Script
Script de backup para Gravador CD-R ou CD-Rw
Nenhum comentário foi encontrado.
KDE Plasma - porque pode ser a melhor opção de interface gráfica
Gentoo: detectando impressoras de rede e como fixar uma impressora por IP
Como o GNOME conseguiu o feito de ser preterido por outras interfaces gráficas
Por que sua empresa precisa de uma PKI (e como automatizar EMISSÕES de certificados via Web API)
Instalando NoMachine no Gentoo com Systemd (acesso Remoto em LAN)
Gentoo: Trocando wpa_supplicant pelo iwd no NetworkManager (Systemd)
Instalar Linux em notebook Sony Vaio VPCEG13EB (10)
Vou destruir sua infância:) (6)
Quando vocês pararam de testar distros? (24)









