install-aptos-fonts (#3)

Reviewed-on: lxcafe/lxcafe#3
This commit is contained in:
2026-02-22 17:27:33 +01:00
parent 375ad53a4d
commit fb04ecd1ed
5 changed files with 69 additions and 14 deletions
@@ -35,6 +35,11 @@ echo "
# Vorausgesetzt wird eine Installation von Linux Mint XFCE.
# Das Skript bietet -teilweise interaktiv- die Installation von zusätzlichen Programmen an, die Linux Mint XFCE nicht standardmässig mitbringt.
#
# Folgende Dateien werden aus dem Skript referenziert und werden im selben Verzeichnis wie dieses Skript erwartet
## - Microsoft Aptos Fonts.zip
## - google-fonts.tar.gz
## - xfce4-panel.xml
#
# Zu Beginn werden die folgenden zusätzlichen Programme in einem Schritt installiert:
#
# xfce4-goodies (zusätzliche Elemente für die Taskleiste)
@@ -54,6 +59,8 @@ echo "
#
#
sudo apt-get update
# needed by script to unzip Aptos font
sudo apt install unzip -y
sSuffixDate=$(date '+%Y-%m-%d_%H:%M:%S')
@@ -61,7 +68,7 @@ sSuffixDate=$(date '+%Y-%m-%d_%H:%M:%S')
echo
if question_answered_with_yes "#### Installiere Zusatzprogramme für 64 bit Mint XFCE? ####"; then
echo "#### 64 bit Mint XFCE ####"
sudo apt -y install xfce4-goodies clementine vlc htop hardinfo font-manager asunder gtkhash xfce4-panel-profiles
sudo apt -y install xfce4-goodies clementine vlc htop hardinfo font-manager asunder gtkhash xfce4-panel-profiles unzip
bIsVlcInstalled=true
fi
@@ -106,6 +113,32 @@ if question_answered_with_yes " ### Installiere M$ Schriften? ###"; then
sudo apt install ttf-mscorefonts-installer
fi
echo
echo
echo " ## Microsoft Aptos Schriftarten installieren:"
if question_answered_with_yes " ### Installiere Aptos Schriften? ###"; then
echo
echo "### Aptos Schriften ###"
_aptos_zip="Microsoft Aptos Fonts.zip"
if [ ! -f "$_aptos_zip" ]; then
echo ""
echo "$_aptos_zip nicht gefunden."
echo "Bitte laden Sie die Datei von Microsoft herunter und legen Sie sie im selben Verzeichnis wie dieses Skript ab."
else
echo
echo "Entpacke das Archiv..."
unzip -o "$_aptos_zip"
echo "Erstelle /usr/share/fonts/truetype/aptos/"
sudo mkdir -p /usr/share/fonts/truetype/aptos
echo "Installiere alle .ttf Schriften..."
find . -name "*.ttf" -exec sudo install -m644 {} /usr/share/fonts/truetype/aptos/ \; 2>/dev/null || true
echo "Aktualisiere den Font-Cache"
fc-cache -f
echo "Fertig! Aptos Schriftarten sind installiert."
fi
fi
echo
echo
echo " ## freie Google-Schriften als Ersatz für aktuelle MS-Standardschriften installieren:"
+7 -1
View File
@@ -1,6 +1,12 @@
# Post-Installation Script
This directory contains all files belonging to the Linux Mint XFCE post-installation script.
This directory contains files belonging to the Linux Mint XFCE post-installation script.
## Prerequisites to run the script
- Linux Mint XFCE installed and running
- Internet connection for downloading packages and updates
- Script file: `20251212_Nachinstallationsarbeiten_LC_Esslingen_XFCE_v8.sh` copied to Desktop
- External files are referenced by the script, please check header comments in the script
## Usage