- Brave: .deb entfernt (crasht mit SIGTRAP auf aelterer HW), Flatpak statt dessen - LibreOffice: apt entfernt (Installationsfehler), Snap statt dessen - default-jre entfernt (nur fuer LibreOffice .deb noetig) - flatpak Paket in setup-base.sh (kein sudo in setup-desktop.sh noetig) - HiDPI: DPI 96 statt 128, Cursor 48, xfwm4 Default-xhdpi Theme - Autostart oeffnet Terminal-Fenster fuer interaktive Eingaben
67 lines
2.3 KiB
Markdown
67 lines
2.3 KiB
Markdown
# macbook-setup
|
|
|
|
Automatisiertes Linux-Setup für MacBook Pro 13" Late 2013 und 16" Mid 2014.
|
|
|
|
## Inhalt
|
|
|
|
| Datei | Beschreibung |
|
|
|-------|-------------|
|
|
| `setup.sh` | Wrapper: ruft setup-base.sh + setup-desktop.sh auf (Option A) |
|
|
| `setup-base.sh` | System-Setup: Pakete, Configs, Locale, Services (chroot-sicher) |
|
|
| `setup-desktop.sh` | Desktop-Setup: oh-my-zsh, Claude Code, PrusaSlicer, Dotfiles, XFCE |
|
|
| `user-data` | Ubuntu Autoinstall (cloud-init) für ISO-Erstellung |
|
|
| `meta-data` | cloud-init Metadaten (erforderlich) |
|
|
| `mbpfan-13.conf` | mbpfan-Konfiguration für MBP 13" Late 2013 |
|
|
| `mbpfan-16.conf` | mbpfan-Konfiguration für MBP 16" Mid 2014 (Nvidia, aggressiver) |
|
|
| `hid_apple.conf` | Fn-Tasten als Standard (fnmode=2) |
|
|
| `keyboard` | Tastaturbelegung Deutsch (Macintosh) |
|
|
| `blacklist-nvidia.conf` | Nvidia/nouveau blacklisten (optional, für Intel-only Betrieb) |
|
|
| `temp-watch.sh` | Temperatur-Überwachung mit Desktop-Notification |
|
|
| `build-iso.sh` | ISO-Erstellungs-Skript für Ventoy |
|
|
|
|
## Schnellstart
|
|
|
|
### Option A: Automatisches Setup nach Minimalinstallation
|
|
```bash
|
|
curl -fsSL https://git.motocamp.de/rene/macbook-setup/raw/branch/main/setup.sh | bash
|
|
```
|
|
|
|
### Option B: Vollautomatische ISO erstellen
|
|
```bash
|
|
git clone https://git.motocamp.de/rene/macbook-setup.git
|
|
cd macbook-setup
|
|
./build-iso.sh
|
|
# → ubuntu-macbook-autoinstall.iso (für Ventoy)
|
|
```
|
|
|
|
## Voraussetzungen
|
|
|
|
- WireGuard-Config für das jeweilige MacBook (separat aufbewahren)
|
|
- Forgejo-Zugang für Dot-Files-Clone
|
|
- Thunderbird-Profil-Backup in Synology Drive
|
|
|
|
## Paketquellen
|
|
|
|
| App | Quelle | Grund |
|
|
|-----|--------|-------|
|
|
| LibreOffice | Snap | .deb-Version hat Installationsfehler auf MBP |
|
|
| FreeCAD | Snap | Standard |
|
|
| Brave Browser | Flatpak | .deb crasht (int3/SIGTRAP) auf aelterer Hardware |
|
|
| PrusaSlicer | Flatpak | Standard |
|
|
|
|
## Hardware-Besonderheiten
|
|
|
|
### MBP 16" Mid 2014 (Intel + Nvidia GT 750M)
|
|
- Nvidia Optimus: `prime-select intel` als Standard
|
|
- Aggressivere Lüfter-Konfiguration via `mbpfan-16.conf`
|
|
- Bei Problemen: `blacklist-nvidia.conf` aktivieren
|
|
|
|
### MBP 13" Late 2013
|
|
- Robuster, keine Dual-GPU-Probleme
|
|
- Standard `mbpfan-13.conf` reicht aus
|
|
|
|
## Abhängigkeiten
|
|
|
|
- Netzwerk: `10.47.11.0/24` (via WireGuard `10.13.13.x`)
|
|
- DiskStation: `10.47.11.10` (SMTP, IMAP, Synology Drive)
|
|
- Dot-Files: `https://git.motocamp.de/rene/dotfiles-rene.git`
|