LinuxMint-19.03 After Install
Publicado por tiago gilgia manoel (última atualização em 03/03/2020)
[ Hits: 3.206 ]
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
Calculadora de host de uma rede
video2gif: converta videoclipes em GIFs animados
configurar do samba e pureftpd
Raiz Quadrada (Square Root) para Bash
Nenhum comentário foi encontrado.
Monitorando o Preço do Bitcoin ou sua Cripto Favorita em Tempo Real com um Widget Flutuante
IA Turbina o Desktop Linux enquanto distros renovam forças
Como extrair chaves TOTP 2FA a partir de QRCODE (Google Authenticator)
Como realizar um ataque de força bruta para desobrir senhas?
Como usar Gpaste no ambiente Cinnamon
Atualizando o Fedora 42 para 43
ERRO: LAZARUS 4.2 64 no Linux MINT não entra mais apos ajustar desktop... (0)
Pergunta: Meu teclado não está respondendo direito como e consertar? (2)
Secure boot, artigo interessante, nada técnico. (6)
SQLITE não quer funcionar no LINUX LMDE6 64 com Lazaruz 4.2 64bit (n... (0)









