Post Setup Scripts - XsMagical/Linux-Tools GitHub Wiki

Post-Setup Scripts

The Post-Setup Scripts in Linux Tools are designed to automate essential system configuration after a fresh Linux installation.

🎯 Purpose

  • Quickly set up a ready-to-use environment without manual package installs.
  • Offer multiple presets so you can match the setup to your needs.
  • Work across multiple Linux distributions while using the native package manager.

📦 Presets

  • Gaming — Installs full gaming environment (Steam, Lutris, Heroic, Proton tools, MangoHud, GameMode, etc.).
  • Media — Installs VLC, MPV, Celluloid, FFmpeg, HandBrake, and media codecs.
  • General — Installs everyday CLI utilities and productivity tools.
  • Lite — Minimal essentials for small footprint systems.
  • Full — General + Media + development/virtualization tools.

🖥️ Script Details

File: tn_xs_post_install.sh

  • Auto-detects your Linux distro (Fedora/RHEL, Ubuntu/Debian, Arch, openSUSE).
  • Uses safe install flags to avoid breaking dependencies.
  • Skips packages that are already installed.
  • Logs every run to ~/scripts/logs/ with a timestamp.

🔗 Location

https://github.com/XsMagical/Linux-Tools/tree/main/scripts/post-setup

📋 Notes

  • The Gaming preset chains into universal_gaming_setup.sh.
  • Can be safely re-run at any time to ensure your system is up to date with the preset.