Skip to content

Instantly share code, notes, and snippets.

@mage1k99
Created June 20, 2021 17:27
Show Gist options
  • Save mage1k99/357fe912b19f96e8dbc95972e8395466 to your computer and use it in GitHub Desktop.
Save mage1k99/357fe912b19f96e8dbc95972e8395466 to your computer and use it in GitHub Desktop.
Debloat script for Mi
#!/bin/bash
sudo snap remove snap-store -y
sudo snap remove gtk-common-themes -y
sudo snap remove gnome-3-34-1804 -y
sudo snap remove core18 -y
sudo apt purge snapd -y
echo "Snap and Snapd are removed!"
sudo apt-mark hold snap snapd
echo "Snap/Snapd are now blocked from Ubuntu!"
sudo apt purge yelp -y
echo "The unhelpful help app is removed!"
sudo apt purge gnome-sudoku -y
sudo apt purge gnome-mines -y
sudo apt purge gnome-mahjongg -y
echo "I dont know the pakage name of solitaire."
echo "but I removed all the gnome games"
sudo apt install gnome-software -y
sudo apt purge gnome-software-plugin-snap -y
echo "Now you have a REAL SOFTWARE CENTER!"
sudo apt purge thunderbird
sudo apt install geary
echo "I use geary"
sudo apt purge shotwell -y
echo "i dont use shotwell"
sudo apt purge seahorse -y
echo "seahorse removed"
sudo apt purge remmina -y
echo "remmina removed"
sudo apt update && sudo apt upgrade -y && sudo apt full-upgrade -y
echo "Now ubuntu is updated!"
sudo apt install gnome-tweaks -y
echo "Now you can customise GNOME"
sudo apt purge evince -y
echo "evince/documents removed"
sudo apt purge ubuntu-report popularity-contest apport whoopsie -y
echo "Yay ubuntu stoped spying on you!"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment