Custom Linux Mint scripts for personal use on some of the available features of the Lenovo Ideapad Slim 3.
Notes
- These scripts are optimized for Lenovo Ideapad Slim 3 running Linux Mint (you may have to customize the script to run on your computer)
- Some scripts require root privileges and will prompt you via pkexec.
- Tested on Linux Mint 22.1 (based on Ubuntu 24.04 LTS).

This script allows you to switch between different CPU power modes:
- Performance — maximum CPU speed
- Balanced — medium power and speed
- Powersaver — minimum power usage
It uses cpufreq-set
and applies the selected governor across all CPU cores. Root access is requested via pkexec
.

This script toggles the Battery Conservation Mode on supported Lenovo laptops:
- When enabled, battery charging is limited to 60% to extend battery lifespan.
- When disabled, the battery charges up to 100%.
The script reads and updates the conservation mode through /sys/bus/platform/.../conservation_mode
with pkexec
.

This script controls the system services for MariaDB and phpMyAdmin:
- You can enable/start or disable/stop both services at once.
- Automatically detects if Apache2 or Nginx is installed as the web server.
Perfect for local development when you need to toggle your database environment quickly.

A simple utility to restart NetworkManager, which can help fix common connection issues:
- Shows the current status of NetworkManager
- Stops and restarts the service using
pkexec
This avoids the need to reboot your machine when the network gets stuck or misbehaves.

This utility manages the TOR service from a friendly GUI:
- Displays whether TOR is currently active or inactive
- Lets you start or stop the service via
pkexec
Useful for toggling TOR service as needed without using the terminal.

A simple interactive tool to create custom application shortcuts via GUI:
- Select the executable file
- Enter the shortcut name, comment, and icon
- Choose the desired category
- Automatically creates a
.desktop
launcher
This tool eliminates the need to manually edit .desktop
files or rely on terminal commands, making it perfect for quickly organizing and launching your scripts or apps from the Linux Mint menu.

This script tests SOCKS5 proxies listed in /etc/proxychains4.conf
:
- Checks if each proxy is active or dead
- Fetches geolocation (country, city, ISP) using
ip-api.com
- Measures latency to identify the fastest proxy
- Displays results in a clean, colored, line-based format
Perfect for verifying proxy performance and reliability for privacy-focused tasks. Requires proxychains4
and jq
for JSON parsing.
Ensure the following packages are installed:
zenity
— for displaying GUI dialogs (used in some scripts)cpufrequtils
— for setting CPU governorpkexec
— to perform actions with elevated privileges (usually provided bypolicykit-1
)proxychains4
— for proxy testing (required for Proxy Tester)jq
— for JSON parsing (required for Proxy Tester)
Install them via:
sudo apt install zenity cpufrequtils policykit-1 proxychains4 jq
git clone https://github.com/Mysteriza/Linux-Mint-Scripts.git && cd Linux-Mint-Scripts
Make the script executable:
chmod +x ./script-name.sh
Replace script-name.sh
with the actual script you want to run.
Run the script:
./script-name.sh