Commit graph

33 commits

Author SHA1 Message Date
16ef6e09fc xubuntu-desktop durch xubuntu-core ersetzen (minimaler Desktop)
Weniger vorinstallierte Apps, schnellere Installation.
LibreOffice (Snap), Thunderbird (apt) und Brave (Flatpak) werden separat installiert.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-11 18:44:17 +01:00
042f650e34 Brave/LibreOffice auf Flatpak/Snap, HiDPI-Fix, Autostart mit Terminal
- 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

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-11 18:29:20 +01:00
48e8acea92 Fix LibreOffice (default-jre) und Brave (--disable-gpu) auf MBP 16"
- default-jre Paket hinzugefügt: behebt "javaldx failed" in LibreOffice
- Brave Browser: --disable-gpu in .desktop für MBP 16" (AMD geblockt,
  Intel i915 allein verursacht Crash mit "Trace/Breakpoint")

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-10 19:47:54 +01:00
fe0978c72e Fix setup-desktop.sh: set -e entfernt, Unicode durch ASCII ersetzt
- set -e entfernt (bricht bei jedem Fehler ab)
- Unicode-Zeichen (✓ ⚠ ✗ ═) durch ASCII ersetzt ([OK] [!!] [FAIL] =)
  verhindert Encoding-Fehler bei curl|bash
- LANG=en_US.UTF-8 gesetzt

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-10 19:28:16 +01:00
b78ea22529 WLAN-Config beim Umstieg auf NetworkManager erhalten
Vor dem Löschen der netplan-Config werden SSID und Passwort
extrahiert und nach dem Wechsel zu NetworkManager als neue
Verbindung eingerichtet. Verhindert WLAN-Verlust nach Reboot.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-10 19:26:20 +01:00
61066a43ed Fix Tastatur: iso_layout=1 + de nodeadkeys (nicht mac_nodeadkeys)
Apple ISO-Keyboards senden ^/< Keycodes vertauscht.
iso_layout=1 korrigiert das auf Kernel-Ebene.
de(mac_nodeadkeys) hat eigene TLDE-Zuordnung die mit iso_layout
kollidiert. de(nodeadkeys) + lv3:lalt_switch ist die richtige Kombi:
- ^/< korrekt, @=Alt+Q, |=Alt+<, {}[]=Alt+7890

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-10 18:32:50 +01:00
5553e0e744 Fix read bei curl|bash: stdin von /dev/tty lesen
Bei curl|bash ist stdin die Pipe, nicht das Terminal.
read < /dev/tty liest direkt vom Terminal.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-10 06:27:27 +01:00
f9199a3f31 setup.sh: Reboot zwischen Phase 1 und 2, Autostart für Desktop-Setup
setup-desktop.sh braucht laufende XFCE-Session und die Hardware-Fixes
aus setup-base.sh (GPU-Blacklist, Treiber) erfordern einen Reboot.
Daher: setup-base.sh sofort ausführen, setup-desktop.sh als XFCE-
Autostart einrichten, Reboot dazwischen.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-10 06:07:28 +01:00
7078299ac6 Robusteres setup-base.sh: GPU-Fix zuerst, kein set -e, idempotent
- set -e entfernt (Script bricht nicht mehr bei einzelnen Fehlern ab)
- GPU-Blacklist + hid_apple + Keyboard als SCHRITT 1 (vor apt install)
- dpkg --configure -a VOR Paketinstallation (repariert unterbrochene Installs)
- update-initramfs direkt nach Hardware-Fixes
- cloud-init früh deaktivieren
- Fehlerbehandlung mit || warn/fail statt Abbruch
- Zusammenfassung am Ende mit nächsten Schritten

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-10 06:06:01 +01:00
c6ba3d9212 Fix build-iso.sh: Modell aus Hostname ableiten statt aus late-commands
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-09 21:09:35 +01:00
4f6320870b Autoinstall: late-commands reduzieren (kein Netzwerk im Installer)
Broadcom-WLAN hat keinen Treiber in der Live-Umgebung, daher
schlagen alle Netzwerk-abhängigen late-commands fehl. Nur noch
usermod -aG sudo rene als late-command. setup-base.sh und
setup-desktop.sh werden nach manueller WLAN-Einrichtung gestartet.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-09 21:08:55 +01:00
193d2bc496 Fix user-data YAML: Heredoc durch printf ersetzen
Der Bash-Heredoc <<AUTOSTART erzeugte Zeilen auf Spalte 0
([Desktop Entry], Type=Application etc.), die den YAML-Parser
von Subiquity brachen. Durch printf mit \n ersetzt.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-09 20:39:59 +01:00
c0e934f8e7 Fix autoinstall.yaml: user-data 1:1 kopieren statt sed-Transformation
Die sed-Transformation hat die YAML-Struktur zerstört — Heredoc-Zeilen
im late-commands Block ([Desktop Entry] etc.) landeten auf Spalte 0 und
brachen den YAML-Parser. user-data direkt als autoinstall.yaml verwenden,
#cloud-config ist ein YAML-Kommentar und autoinstall: als Top-Level-Key
wird von Subiquity 24.04 unterstützt.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-09 20:28:05 +01:00
8475f329d4 Fix Autoinstall: Subiquity-Weg statt nur cloud-init NoCloud
- autoinstall.yaml im ISO-Root (direkter Subiquity-Weg, Ubuntu 24.04+)
- Kernel-Parameter subiquity.autoinstallpath als Backup
- NoCloud ds=nocloud + cloud-config-url=/dev/null als Fallback

Ubuntu 24.04 Subiquity sucht in dieser Reihenfolge:
1. subiquity.autoinstallpath= (Kernel-Parameter)
2. Root des Installationssystems
3. cloud-config (cloud-init)
4. Root des Installationsmediums (autoinstall.yaml)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-09 20:06:03 +01:00
2cb784a51a Tastatur-Fix, Zsh-Tooling, cloud-init, Autoinstall-Fix
setup-base.sh:
- Tastatur: mac_nodeadkeys + iso_layout=0 (fixt ^/< Swap, @ auf Alt+L)
- Neue Pakete: libheif-examples, imagemagick, pipx, zoxide, micro
- cloud-init deaktivieren (blockiert Boot ohne Cloud-Provider)
- dpkg-reconfigure nach Keyboard-Änderung

setup-desktop.sh:
- Powerlevel10k + zsh-syntax-highlighting von GitHub klonen
- MesloLGS NF Fonts installieren
- PlatformIO via pipx
- .zshrc deployen (Linux-Version mit allen Aliases)
- .p10k.zsh aus dotfiles-rene deployen
- git-check-all.sh + git-update-all.sh verlinken
- XFCE Keyboard-Override deaktivieren (XkbDisable)
- XFCE Terminal auf MesloLGS NF setzen
- DPMS-Werte gestaffelt (5/6/7 Min statt alle 10)

build-iso.sh:
- cloud-config-url=/dev/null (Fix für Ubuntu 24.04 Autoinstall)

user-data:
- Keyboard-Variante mac_nodeadkeys

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-09 19:55:58 +01:00
ef7c660c82 WireGuard-Config ins ISO einbetten (wireguard/ Ordner, .gitignore)
- build-iso.sh erkennt Modell/Hostname aus user-data und sucht
  passende Config in wireguard/{hostname}.conf oder wireguard/m{model}.conf
- user-data: late-commands kopieren wg0.conf vom Installationsmedium
  nach /etc/wireguard/ und aktivieren wg-quick@wg0
- wireguard/ in .gitignore (keine Secrets im Repo)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-08 19:29:59 +01:00
1ce585cd94 Fix Brave Browser: neue offizielle APT-Repository-URL
Alte URL brave-releases.s3.brave.com existiert nicht mehr,
neue URL ist brave-browser-apt-release.s3.brave.com mit .sources-Format.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-08 16:47:01 +01:00
5e4e2eb825 PrusaSlicer: AppImage durch Flatpak ersetzen (kein Linux-AppImage mehr ab 2.9.x)
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-08 11:46:21 +01:00
fc2374e268 Set DPI to 128 for MBP 16" Retina (Scale 2x + 128 DPI)
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-08 11:44:54 +01:00
7719026c36 Rewrite MBP 16": AMD Radeon statt Nvidia, NetworkManager, Retina-Fix
Erkenntnisse vom MBP 15" Mid 2014 Setup:
- GPU ist AMD Radeon R9 M370X (nicht Nvidia!)
- Radeon/amdgpu blacklisten statt Nvidia-Module
- Kein nomodeset noetig — i915 laeuft ohne
- xfce4-display-settings per dpkg-divert deaktivieren
  (oeffnet sich sonst in Endlosschleife bei fehlender dGPU)
- Display-Skalierung 2x / DPI 168 fuer Retina
- NetworkManager statt netplan fuer WLAN
- systemd-networkd-wait-online deaktivieren (Boot haengt sonst)
- INSTALL.md komplett aktualisiert mit neuen Troubleshooting-Eintraegen

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-08 11:39:26 +01:00
de67fff30c Fix MBP 16": Nvidia blacklisten, nomodeset, Compositor aus, SSH, sudo
Probleme beim ersten MBP 16" Setup behoben:
- Nvidia-Treiber werden NICHT mehr installiert, stattdessen alle
  Nvidia-Module komplett geblockt (blacklist-nvidia.conf)
- GRUB: nomodeset fuer MBP 16" (verhindert GPU-Artefakte)
- XFCE Compositor deaktiviert fuer MBP 16"
- Sleep/Suspend waehrend Installation verhindert
- openssh-server in Paketliste (SSH-Zugriff ab erstem Boot)
- user-data: rene zur sudo-Gruppe, install-server: true
- FreeCAD Snap: Fehler in chroot abfangen

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-08 09:22:19 +01:00
32b49f81a5 Fix setup-base.sh: freecad via snap statt apt (nicht in Ubuntu 24.04 Repos)
Aktualisiert auch INSTALL.md mit realistischem Installationsablauf
(TTY-Login nach Autoinstall, Prüfung ob setup-base.sh gelaufen ist).

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-08 08:20:59 +01:00
d8f765ffd6 Add .gitignore: exclude ISOs and .DS_Store
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-07 21:45:58 +01:00
6f8ae5263d Add INSTALL.md: Schritt-für-Schritt von ISO bis fertiges System
Abdeckt: Ventoy, Booten, automatische Installation, erster Login,
manuelle Post-Install-Schritte (WireGuard, Synology Drive, Thunderbird,
Brave Sync), MBP 13/16 Unterschiede, Troubleshooting.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-07 21:44:42 +01:00
9cf76959c8 Rewrite build-iso.sh: macOS-Support, Ubuntu 24.04.4, xorriso in-place
- Funktioniert auf macOS (brew) und Linux (apt)
- Ubuntu ISO URL aktualisiert auf 24.04.4
- xorriso modifiziert die Original-ISO direkt statt entpacken/neu bauen
  → Boot-Records (BIOS + EFI) bleiben korrekt erhalten
- Download-Validierung (prüft auf gültige ISO)
- user-data/meta-data per absolutem Pfad (SCRIPT_DIR)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-07 21:37:00 +01:00
da9fa83910 Dotfiles: Install-Skripte statt Stow, Clone nach ~/git-projekte
Dotfiles-rene nutzt eigene Install-Skripte (nvim, micro) und
Symlinks (oh-my-zsh custom, heic-scripts) statt GNU Stow.
Clone-Pfad geaendert von ~/dotfiles nach ~/git-projekte/dotfiles-rene.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-07 16:58:06 +01:00
68705f6719 Make setup-base.sh and setup-desktop.sh executable
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-07 16:53:59 +01:00
026e0201c6 Remove plaintext password hint from user-data
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-07 16:52:40 +01:00
8e4850278b Set default password for autoinstall (pin0cchi0)
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-07 16:51:55 +01:00
bc1fcb296c Fix Dotfiles Stow-Pakete: an dotfiles-rene Struktur anpassen
nvim, oh-my-zsh, micro, bin, heic-scripts statt zsh, nvim, git, ssh

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-07 16:50:26 +01:00
1f530674be 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
2db0b9b36f Fix dotfiles repo URL: dotfiles → dotfiles-rene
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-07 15:34:38 +01:00
2d932f9924 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