Skip to content

RetroTrigger/Scripts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

211 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Personal Scripts Collection

A collection of handy scripts for system setup, maintenance, and automation across different Linux distributions and platforms.

Table of Contents

System Setup

Alpine Linux

Plexamp Kiosk

Transforms Alpine Linux into a dedicated Plexamp music kiosk with X11/Openbox, Flatpak, PipeWire audio (USB DAC/HDMI/onboard), auto-login, and daily auto-updates.

# Run as root (su - first, or from Alpine installer)
wget -O - https://raw.githubusercontent.com/RetroTrigger/.Scripts/master/alpine-plexamp-kiosk.sh | sh

Arch Linux

Post-Installation Setup

Installs essential packages, enables firewall and trim, and sets up graphical applications and command-line utilities for Arch Linux.

wget -O - https://raw.githubusercontent.com/RetroTrigger/.Scripts/master/Arch_post_install.sh | bash

Ubuntu

System Setup

Configures Ubuntu with Wine, Lutris, Steam, NVIDIA drivers, Xanmod kernel, GameMode, and custom Proton for gaming.

wget -O - https://raw.githubusercontent.com/RetroTrigger/.Scripts/master/Ubuntu-setup.sh | bash

Window Managers

AwesomeWM

Arch Linux Setup

Installs and configures AwesomeWM on Arch Linux with rofi, picom, fonts, themes, icons, and dotfiles from GitHub.

wget -O - https://raw.githubusercontent.com/RetroTrigger/.Scripts/master/awesomewm-setup-arch.sh | bash

Debian/Ubuntu Setup

Sets up AwesomeWM on Debian/Ubuntu systems with rofi, picom, fonts, themes, icons, and dotfiles configuration.

wget -O - https://raw.githubusercontent.com/RetroTrigger/.Scripts/master/awesomewm-setup-debian.sh | bash

Fedora Setup

Installs AwesomeWM on Fedora with dependencies, Papirus icons, and Titus Awesome configuration.

wget -O - https://raw.githubusercontent.com/RetroTrigger/.Scripts/master/titus-awesome-fedora.sh | bash

DWM Installation

Cross-distribution script that detects package manager, installs DWM with flexipatch, compiles suckless tools (dwm, st, dmenu), and sets up display manager or startx.

wget -O - https://raw.githubusercontent.com/RetroTrigger/.Scripts/master/base-dwm-install.sh | bash

BSPWM Installation

Installs and configures BSPWM window manager with kitty, picom, rofi, and other essential tools across multiple Linux distributions.

wget -O - https://raw.githubusercontent.com/RetroTrigger/.Scripts/master/BSPWM-Install.sh | bash

DWM Recompile

Recompiles DWM after configuration changes, moves config.h to config.def.h, and restarts DWM.

wget -O - https://raw.githubusercontent.com/RetroTrigger/.Scripts/master/recompile.sh | bash

Development Environment

ZSH Installation

Installs ZSH with Powerlevel10k theme, syntax highlighting, autosuggestions, autojump, and custom configuration from ChrisTitusTech.

wget -O - https://raw.githubusercontent.com/RetroTrigger/.Scripts/master/zsh.sh | bash

GNOME Extensions

Interactive menu-driven installer for GNOME Shell extensions with backup/restore functionality and extension management.

wget -O - https://raw.githubusercontent.com/RetroTrigger/.Scripts/master/install_gnome_extensions.sh | bash

VirtualBox Installation

Cross-distribution VirtualBox installer that detects OS, installs dependencies, VirtualBox, extension pack, and downloads Guest Additions ISO.

wget -O - https://raw.githubusercontent.com/RetroTrigger/.Scripts/master/install_virtualbox.sh | bash

Flatpak Installation

Installs Flatpak and Flathub repository, configures GTK theme overrides, and installs a curated list of Flatpak applications.

wget -O - https://raw.githubusercontent.com/RetroTrigger/.Scripts/master/flatpack-install | bash

Server Management

Proxmox

Share Creation

Creates a Samba share on Proxmox for VM template storage with proper permissions and guest access.

wget -O - https://raw.githubusercontent.com/RetroTrigger/.Scripts/master/proxmox_share_create.sh | bash

VM Import (Bash)

Interactive script to convert and import VMs (OVA, VMDK, or directories) into Proxmox VE with storage selection and automatic VMID assignment.

wget -O - https://raw.githubusercontent.com/RetroTrigger/.Scripts/master/vms2proxmox.sh | bash

VM Import (Python)

Python-based GUI tool using dialog for converting and importing VMs into Proxmox, managing templates, and downloading VulnHub templates.

wget -O - https://raw.githubusercontent.com/RetroTrigger/.Scripts/master/vm-import-prox.py | bash

VM Import (Alternative)

Alternative bash script for importing VMs into Proxmox with NFS template directory setup and interactive menu.

wget -O - https://raw.githubusercontent.com/RetroTrigger/.Scripts/master/vm-import-prox.sh | bash

Network

NFS Mount Manager

Interactive menu-driven tool to create NFS shares, mount existing shares with systemd automount, and manage NFS exports.

wget -O - https://raw.githubusercontent.com/RetroTrigger/.Scripts/master/nfs_mount_manager.sh | sudo bash

Gaming

Linux Gaming Setup

Comprehensive gaming setup for Ubuntu with NVIDIA drivers, Xanmod kernel, Wine, Lutris, Steam, GameMode, and custom Proton installation.

wget -O - https://raw.githubusercontent.com/RetroTrigger/.Scripts/master/Ultimate-Linux-Gaming.sh | bash

Lancache Prefill Installation

Installs and configures Steam, Battle.net, and Epic Games Lancache prefill tools with systemd timers and cron jobs for automated caching.

wget -O - https://raw.githubusercontent.com/RetroTrigger/.Scripts/master/prefill_install.sh | bash

Minecraft Server Manager

Full-featured Minecraft FTB server manager for Alpine Linux with automatic updates, OpenRC service, Samba share setup, and cron scheduling.

wget -O - https://raw.githubusercontent.com/RetroTrigger/.Scripts/master/minecraft-server-manager.sh | bash

Update Minecraft Server

Updates an existing FTB Minecraft server to the latest version, backs up world data, and restores it after update.

wget -O - https://raw.githubusercontent.com/RetroTrigger/.Scripts/master/update-minecraft.sh | bash

Convert Xbox Games (GUI)

Graphical tool using Zenity to convert Xbox game folders to compressed ISO.squashfs files with progress tracking and compression options.

wget -O - https://raw.githubusercontent.com/RetroTrigger/.Scripts/master/convert-xbox-games-gui.sh | bash

Mount and Extract PS3 ISOs

Mounts PS3 ISO files, extracts contents, and compresses them into squashfs format with zstd compression for space-efficient storage.

wget -O - https://raw.githubusercontent.com/RetroTrigger/.Scripts/master/mount_and_extract_ps3_isos.sh | bash

Tip: If a mount point gets stuck after an interrupted run, see clean mountpoint.txt for commands to forcefully unmount and clean up /tmp/ps3iso_mount.

Check Complete Games Set

Python script that scrapes Wikipedia for PlayStation 2 game list and checks which games are missing from a local collection.

python3 check\ complete\ games\ set.py

Total Steam Cache Size

Python script that calculates total size of a Steam library by fetching game sizes from SteamDB using Steam API.

python3 total-steamcache-size.py

Utilities

Display IP on Login

Creates a MOTD (Message of the Day) script that displays system IP address and hostname information at login.

wget -O - https://raw.githubusercontent.com/RetroTrigger/.Scripts/master/display-ip-motd.sh | bash

Sort Folders

Organizes folders alphabetically into letter-based directories (A-Z, # for numbers), handling "The" prefix and showing progress.

wget -O - https://raw.githubusercontent.com/RetroTrigger/.Scripts/master/sort_folders.sh | bash

Unzip Files (Enhanced)

Enhanced unzip utility that extracts ZIP files into directories named after the archive, handles nested directories, and removes ZIP files after extraction.

wget -O - https://raw.githubusercontent.com/RetroTrigger/.Scripts/master/new_unzip.sh | bash

Unzip Files (Simple)

Simple script that extracts all ZIP files in current directory into folders named after each ZIP file.

wget -O - https://raw.githubusercontent.com/RetroTrigger/.Scripts/master/unzip.sh | bash

Bitwarden SSH Key Restore

Restores a GitHub SSH key from a Bitwarden vault attachment onto a fresh machine. Installs the Bitwarden CLI, logs in, downloads the private key attachment, writes it to ~/.ssh/, regenerates the public key, and configures ~/.ssh/config for GitHub. Supports Debian/Ubuntu, Alpine, Arch, and RHEL-based distros.

wget -O - https://raw.githubusercontent.com/RetroTrigger/.Scripts/master/bw_key_install.sh | bash

Configurable via environment variables:

  • KEY_ITEM_NAME — Bitwarden item name (default: GitHub SSH Key)
  • KEY_ATTACHMENT_NAME — attachment filename (default: id_ed25519_github)
  • SSH_KEY_PATH — destination path (default: ~/.ssh/id_ed25519_github)
  • BW_SERVER — set if using a self-hosted Bitwarden instance
  • NONINTERACTIVE=1 — skip interactive login (for CI, assumes already logged in)

Configuration Files

Media Server Stack (docker-compose.yml)

Docker Compose stack for a self-hosted media server, including Sonarr, Radarr, Prowlarr, and related services.

Recyclarr (recyclarr.yaml)

Recyclarr configuration for automatically syncing quality profiles and custom formats to Sonarr and Radarr from the TRaSH Guides.

Contribution

Contributions are welcome! If you'd like to add or improve any scripts, please follow these steps:

  1. Fork the repository
  2. Create a new branch for your feature/fix
  3. Commit your changes
  4. Push to the branch
  5. Create a new Pull Request

Please ensure your code follows the existing style and includes appropriate documentation.

License

This project is open source and available under the MIT License.

About

Collection Of My Personal Scripts

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors