Initial commit: Linux-Setup für MacBook Pro 13" und 16"
Vollautomatisches Post-Install-Setup für Ubuntu 24.04 auf MacBook Pro
Late 2013 (13") und Mid 2014 (16" mit Nvidia Optimus). Enthält:
- setup.sh: Komplettes Post-Install-Skript (Pakete, Xubuntu, Brave,
PrusaSlicer, oh-my-zsh, Claude Code, Dotfiles via Forgejo/Stow,
mbpfan, thermald, TLP, WireGuard, Lokalisierung DE)
- build-iso.sh: Ubuntu Autoinstall ISO für Ventoy erstellen
- user-data/meta-data: cloud-init Autoinstall-Konfiguration
- mbpfan-13.conf / mbpfan-16.conf: Modellspezifische Lüftersteuerung
- hid_apple.conf / keyboard: Deutsche Mac-Tastaturbelegung + Fn-Tasten
- blacklist-nvidia.conf: Optionaler Nvidia/nouveau-Blacklist
- temp-watch.sh: CPU-Temperaturüberwachung mit Desktop-Notification
Infrastruktur-Abhängigkeiten:
- Dotfiles: git.motocamp.de/rene/dotfiles.git (via GNU Stow)
- DiskStation 10.47.11.10 (SMTP, IMAP, Synology Drive)
- WireGuard-VPN 10.13.13.x ins Heimnetz 10.47.11.0/24
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-07 15:27:48 +01:00
|
|
|
# macbook-setup
|
|
|
|
|
|
|
|
|
|
Automatisiertes Linux-Setup für MacBook Pro 13" Late 2013 und 16" Mid 2014.
|
|
|
|
|
|
|
|
|
|
## Inhalt
|
|
|
|
|
|
|
|
|
|
| Datei | Beschreibung |
|
|
|
|
|
|-------|-------------|
|
Split setup.sh in chroot-sicheren und Desktop-Teil
setup.sh rief bisher alles in einem Skript auf, was in der
Autoinstall-ISO (curtin in-target/chroot) teilweise fehlschlaegt:
xfconf-query, npm, oh-my-zsh, PrusaSlicer brauchen eine laufende
Desktop-Session.
Neuer Aufbau:
- setup-base.sh: Pakete, Configs, Locale, Services (laeuft in chroot)
- setup-desktop.sh: oh-my-zsh, Claude Code, PrusaSlicer, Dotfiles,
XFCE-Einstellungen (laeuft beim ersten Desktop-Login)
- setup.sh: Wrapper fuer Option A (manuelles curl | bash nach Install)
user-data ruft jetzt setup-base.sh in late-commands auf und richtet
einen XFCE-Autostart fuer setup-desktop.sh beim ersten Login ein.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-07 16:41:22 +01:00
|
|
|
| `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 |
|
Initial commit: Linux-Setup für MacBook Pro 13" und 16"
Vollautomatisches Post-Install-Setup für Ubuntu 24.04 auf MacBook Pro
Late 2013 (13") und Mid 2014 (16" mit Nvidia Optimus). Enthält:
- setup.sh: Komplettes Post-Install-Skript (Pakete, Xubuntu, Brave,
PrusaSlicer, oh-my-zsh, Claude Code, Dotfiles via Forgejo/Stow,
mbpfan, thermald, TLP, WireGuard, Lokalisierung DE)
- build-iso.sh: Ubuntu Autoinstall ISO für Ventoy erstellen
- user-data/meta-data: cloud-init Autoinstall-Konfiguration
- mbpfan-13.conf / mbpfan-16.conf: Modellspezifische Lüftersteuerung
- hid_apple.conf / keyboard: Deutsche Mac-Tastaturbelegung + Fn-Tasten
- blacklist-nvidia.conf: Optionaler Nvidia/nouveau-Blacklist
- temp-watch.sh: CPU-Temperaturüberwachung mit Desktop-Notification
Infrastruktur-Abhängigkeiten:
- Dotfiles: git.motocamp.de/rene/dotfiles.git (via GNU Stow)
- DiskStation 10.47.11.10 (SMTP, IMAP, Synology Drive)
- WireGuard-VPN 10.13.13.x ins Heimnetz 10.47.11.0/24
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-07 15:27:48 +01:00
|
|
|
| `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
|
|
|
|
|
|
2026-03-11 18:29:20 +01:00
|
|
|
## 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 |
|
|
|
|
|
|
Initial commit: Linux-Setup für MacBook Pro 13" und 16"
Vollautomatisches Post-Install-Setup für Ubuntu 24.04 auf MacBook Pro
Late 2013 (13") und Mid 2014 (16" mit Nvidia Optimus). Enthält:
- setup.sh: Komplettes Post-Install-Skript (Pakete, Xubuntu, Brave,
PrusaSlicer, oh-my-zsh, Claude Code, Dotfiles via Forgejo/Stow,
mbpfan, thermald, TLP, WireGuard, Lokalisierung DE)
- build-iso.sh: Ubuntu Autoinstall ISO für Ventoy erstellen
- user-data/meta-data: cloud-init Autoinstall-Konfiguration
- mbpfan-13.conf / mbpfan-16.conf: Modellspezifische Lüftersteuerung
- hid_apple.conf / keyboard: Deutsche Mac-Tastaturbelegung + Fn-Tasten
- blacklist-nvidia.conf: Optionaler Nvidia/nouveau-Blacklist
- temp-watch.sh: CPU-Temperaturüberwachung mit Desktop-Notification
Infrastruktur-Abhängigkeiten:
- Dotfiles: git.motocamp.de/rene/dotfiles.git (via GNU Stow)
- DiskStation 10.47.11.10 (SMTP, IMAP, Synology Drive)
- WireGuard-VPN 10.13.13.x ins Heimnetz 10.47.11.0/24
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-07 15:27:48 +01:00
|
|
|
## 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)
|
2026-03-07 15:34:38 +01:00
|
|
|
- Dot-Files: `https://git.motocamp.de/rene/dotfiles-rene.git`
|