linux-mint/mint.sh

62 lines
1.7 KiB
Bash
Raw Normal View History

#!/bin/bash -e
2022-07-06 12:29:48 +02:00
# systemupdate
sudo apt-get update
sudo apt-get -y dist-upgrade
2022-07-06 15:16:44 +02:00
# install ansible
sudo apt-get -y install python3-pip git
sudo pip install ansible
2022-07-06 12:29:48 +02:00
# run ansible debian basics
2022-07-06 12:43:49 +02:00
git clone https://gitea.ds9.dedyn.io/olli/debian.ansible.basics.git
sudo ansible-playbook --connection=local --inventory $(hostname), --limit $(hostname) debian.ansible.basics/basics.yml
2022-07-06 15:28:24 +02:00
# powersave
2022-07-08 11:43:22 +02:00
sudo DEBIAN_FRONTEND=noninteractive apt-get -y install tlp tlp-rdw
# Speed up program start
2022-07-08 11:43:22 +02:00
sudo DEBIAN_FRONTEND=noninteractive apt-get -y install preload
# mediacodecs and fonts
2022-07-08 11:43:22 +02:00
# cleanup
sudo rm -rf debian.ansible.basics
2022-07-08 10:56:16 +02:00
# enable firewall
sudo ufw enable
2022-07-08 11:27:06 +02:00
# disable saving recent files
dconf write /org/cinnamon/desktop/privacy/remember-recent-files false
# dark theme
dconf write /org/cinnamon/desktop/interface/gtk-theme "'Mint-Y-Dark'"
dconf write /org/cinnamon/desktop/interface/icon-theme "'Mint-Y-Dark'"
# install signal-desktop
2022-07-08 11:43:22 +02:00
flatpak install -y org.signal.Signal
# install nextcloud desktop client
flatpak install -y com.nextcloud
# install ungoogled Chromium
flatpak install -y com.github.Eloston.UngoogledChromium
# install vscodium
flatpak install -y com.vscodium.codium
2022-07-08 11:53:47 +02:00
# install pulseeffects
flatpak install -y com.github.wwmm.pulseeffects
2022-07-08 12:07:16 +02:00
# terminus font
sudo DEBIAN_FRONTEND=noninteractive apt-get -y install xfonts-terminus xfonts-terminus-oblique xfonts-terminus-dos
2022-07-08 11:43:22 +02:00
# useful additional software
2022-07-08 11:53:47 +02:00
sudo DEBIAN_FRONTEND=noninteractive apt-get -y install spectre-meltdown-checker pwgen arj p7zip unace unadf bvi fdupes radeontop tmux debootstrap geoip-bin
# Tools for Android-Smartphones/LineageOS
sudo DEBIAN_FRONTEND=noninteractive apt-get -y install heimdall-flash android-tools-adb android-tools-fastboot android-tools-mkbootimg