Skip to content

webclubz/BoostMint

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 

Repository files navigation

BoostMint Scripts

Before running, make both scripts executable:

chmod +x boostLinuxMint.sh safe_cleaner.sh

This repository contains two Bash scripts designed to optimize and clean Linux Mint systems:

1. boostLinuxMint.sh

Purpose:

  • Automates system optimization tasks for Linux Mint.

Features:

  • Updates and upgrades the system packages.
  • Installs essential optimization tools: preload, zram-config, stacer, htop.
  • Optimizes system swappiness for better memory management.
  • Cleans up unnecessary packages and cache.
  • Sets up a weekly automatic cleanup via cron.
  • Enables zRAM and periodic SSD TRIM for improved performance.
  • Disables unnecessary services (Bluetooth, Apache, MySQL, MariaDB).
  • Provides a reminder to manually review startup applications.

Usage:

sudo bash boostLinuxMint.sh

Run as root for full effect. Reboot after running to apply all changes.


2. safe_cleaner.sh

Purpose:

  • Safely cleans system and user caches, temporary files, and logs for Linux Mint and similar systems.

Features:

  • Cleans APT cache and autoclean.
  • Removes files older than 3 days from /tmp and /var/tmp.
  • Cleans user-level thumbnail and browser caches.
  • Removes systemd journal logs older than 7 days (if journalctl is available).
  • Deletes broken symlinks in the home directory.
  • Deletes empty files from the Downloads folder.
  • Removes unused Flatpak versions (if Flatpak is installed).
  • Provides OS and hostname info in output.

Usage:

sudo bash safe_cleaner.sh

Run as root for full effect. Review output for details on actions performed.


Notes

  • These scripts are intended for Linux Mint systems.
  • Always review scripts before running, especially on production systems.
  • Run both with administrative privileges (sudo).

License

MIT

Author

Framex

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages