mirror of
https://codeberg.org/B3rtl/Ubuntu-Setup-Skripte
synced 2025-06-28 11:26:08 +02:00
adoptions for Linux Mint 20 and some minor text changes
This commit is contained in:
parent
80f208a1c1
commit
ab7a61775c
1 changed files with 56 additions and 26 deletions
|
@ -10,15 +10,14 @@ export DEBIAN_FRONTEND=noninteractive
|
||||||
DPKG_CFG_FRAGMENT=/etc/dpkg/dpkg.cfg.d/non-interactive
|
DPKG_CFG_FRAGMENT=/etc/dpkg/dpkg.cfg.d/non-interactive
|
||||||
|
|
||||||
# Linux distro
|
# Linux distro
|
||||||
script_distro='Linux Mint 19.x'
|
script_distro='Linux Mint 20'
|
||||||
|
|
||||||
# Additional packages
|
# Additional packages
|
||||||
packages=(
|
packages=(
|
||||||
# Graphics
|
# Graphics
|
||||||
cheese
|
gimp
|
||||||
inkscape
|
inkscape
|
||||||
pinta
|
pinta
|
||||||
gimp
|
|
||||||
|
|
||||||
# Office
|
# Office
|
||||||
libreoffice
|
libreoffice
|
||||||
|
@ -62,21 +61,52 @@ packages=(
|
||||||
|
|
||||||
# Tools
|
# Tools
|
||||||
hardinfo
|
hardinfo
|
||||||
shutter
|
|
||||||
vim
|
vim
|
||||||
|
|
||||||
# Management
|
|
||||||
calibre
|
|
||||||
|
|
||||||
# Media
|
# Media
|
||||||
|
cheese
|
||||||
vlc
|
vlc
|
||||||
|
|
||||||
# Knowledge
|
# Knowledge (incl. programs from the former ubunbu-edu-* meta packages)
|
||||||
|
blinken
|
||||||
|
calibre
|
||||||
|
cantor
|
||||||
|
chemtool
|
||||||
|
dia
|
||||||
|
einstein
|
||||||
|
fritzing
|
||||||
|
gamine
|
||||||
|
gcompris
|
||||||
goldendict
|
goldendict
|
||||||
ubuntu-edu-preschool
|
inkscape
|
||||||
ubuntu-edu-primary
|
kalgebra
|
||||||
ubuntu-edu-secondary
|
kalzium
|
||||||
ubuntu-edu-tertiary
|
kanagram
|
||||||
|
kbruch
|
||||||
|
kgeography
|
||||||
|
khangman
|
||||||
|
kig
|
||||||
|
klettres
|
||||||
|
kmplot
|
||||||
|
kstars
|
||||||
|
ktouch
|
||||||
|
ktuberling
|
||||||
|
kturtle
|
||||||
|
kwordquiz
|
||||||
|
laby
|
||||||
|
lightspeed
|
||||||
|
lybniz
|
||||||
|
marble
|
||||||
|
melting
|
||||||
|
parley
|
||||||
|
pencil2d
|
||||||
|
ri-li
|
||||||
|
rocs
|
||||||
|
step
|
||||||
|
tuxmath
|
||||||
|
tuxpaint
|
||||||
|
tuxtype
|
||||||
|
yorick
|
||||||
|
|
||||||
# Language support
|
# Language support
|
||||||
language-selector-common
|
language-selector-common
|
||||||
|
@ -99,13 +129,13 @@ e() {
|
||||||
# It's a pain to stop (ctrl+c, kill) execution with all the Python applications
|
# It's a pain to stop (ctrl+c, kill) execution with all the Python applications
|
||||||
# so we catch SIGINT and SIGTERM and exit immediately
|
# so we catch SIGINT and SIGTERM and exit immediately
|
||||||
handle_signal() {
|
handle_signal() {
|
||||||
e "Ausführung abgebrochen! Script wird beendet..."
|
e "Ausführung abgebrochen! Skript wird beendet."
|
||||||
exit 1
|
exit 1
|
||||||
}
|
}
|
||||||
|
|
||||||
# always executed on shell exit regardless of reason. for cleanup tasks
|
# always executed on shell exit regardless of reason. for cleanup tasks
|
||||||
handle_exit() {
|
handle_exit() {
|
||||||
e "Finales Cleanup wird durchgeführt..."
|
e "Finales Cleanup wird durchgeführt …"
|
||||||
rm -f "$DPKG_CFG_FRAGMENT"
|
rm -f "$DPKG_CFG_FRAGMENT"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -127,12 +157,12 @@ echo "\
|
||||||
###
|
###
|
||||||
# Maintainer: Computertruhe e. V.
|
# Maintainer: Computertruhe e. V.
|
||||||
# Website: https://computertruhe.de/
|
# Website: https://computertruhe.de/
|
||||||
# Version: 0.2.0
|
# Version: 1.0.0
|
||||||
# Repo: https://codeberg.org/Computertruhe/computertruhe-setup
|
# Repo: https://codeberg.org/Computertruhe/computertruhe-setup
|
||||||
# Distro: ${script_distro}
|
# Distro: ${script_distro}
|
||||||
###
|
###
|
||||||
"
|
"
|
||||||
e "Starte initiales Setup für Rechner mit frisch installiertem '${script_distro}' ..."
|
e "Starte initiales Setup für Rechner mit frisch installiertem '${script_distro}' …"
|
||||||
|
|
||||||
###
|
###
|
||||||
# Automatic installation
|
# Automatic installation
|
||||||
|
@ -143,39 +173,39 @@ force-confold
|
||||||
force-confdef
|
force-confdef
|
||||||
DPKG
|
DPKG
|
||||||
|
|
||||||
e "Automatische Installation empfohlener Pakete aktivieren ..."
|
e "Automatische Installation empfohlener Pakete aktivieren …"
|
||||||
sed -i 's/false/true/g' /etc/apt/apt.conf.d/00recommends
|
sed -i 's/false/true/g' /etc/apt/apt.conf.d/00recommends
|
||||||
|
|
||||||
e "Besten Spiegelserver für '${script_distro}' auswählen ..."
|
e "Besten Spiegelserver für '${script_distro}' auswählen …"
|
||||||
mint-switch-to-local-mirror
|
mint-switch-to-local-mirror
|
||||||
|
|
||||||
e "Paketquellen aktualisieren ..."
|
e "Paketquellen aktualisieren …"
|
||||||
apt update --yes --quiet
|
apt update --yes --quiet
|
||||||
|
|
||||||
e "System aktualisieren (apt) ..."
|
e "System aktualisieren (apt) …"
|
||||||
apt full-upgrade --yes --quiet
|
apt full-upgrade --yes --quiet
|
||||||
|
|
||||||
e "System aktualisieren (mintupdate-cli) ..."
|
e "System aktualisieren (mintupdate-cli) …"
|
||||||
mintupdate-cli --yes upgrade
|
mintupdate-cli --yes upgrade
|
||||||
|
|
||||||
e "Proprietäre Treiber installieren (sofern verfügbar) ..."
|
e "Proprietäre Treiber installieren (sofern verfügbar) …"
|
||||||
ubuntu-drivers autoinstall
|
ubuntu-drivers autoinstall
|
||||||
|
|
||||||
e "Zusätzliche Software installieren ..."
|
e "Zusätzliche Software installieren …"
|
||||||
pkg "${packages[@]}"
|
pkg "${packages[@]}"
|
||||||
|
|
||||||
e "Sprachunterstützung vervollständigen ..."
|
e "Sprachunterstützung vervollständigen …"
|
||||||
pkg "$(check-language-support)"
|
pkg "$(check-language-support)"
|
||||||
# these packages have to be installed after "$(check-language-support)"
|
# these packages have to be installed after "$(check-language-support)"
|
||||||
pkg hunspell-de-at hunspell-de-ch hunspell-de-de
|
pkg hunspell-de-at hunspell-de-ch hunspell-de-de
|
||||||
|
|
||||||
e "Unnötige Pakete entfernen und Cache bereinigen ..."
|
e "Unnötige Pakete entfernen und Cache bereinigen …"
|
||||||
apt clean --yes --quiet
|
apt clean --yes --quiet
|
||||||
apt autoremove --yes --quiet
|
apt autoremove --yes --quiet
|
||||||
|
|
||||||
# https://askubuntu.com/questions/1037553/how-to-configure-a-dconf-key-globally-across-all-user-accounts#1037557
|
# https://askubuntu.com/questions/1037553/how-to-configure-a-dconf-key-globally-across-all-user-accounts#1037557
|
||||||
# https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/7/html/desktop_migration_and_administration_guide/custom-default-values-system-settings
|
# https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/7/html/desktop_migration_and_administration_guide/custom-default-values-system-settings
|
||||||
e "Tastatur- und Desktopoptionen werden angepasst"
|
e "Tastatur- und Desktop-Optionen anpassen …"
|
||||||
mkdir -vp /etc/dconf/{profile,db/local.d}
|
mkdir -vp /etc/dconf/{profile,db/local.d}
|
||||||
|
|
||||||
cat <<'EOF' > /etc/dconf/profile/user
|
cat <<'EOF' > /etc/dconf/profile/user
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue