2023-10-29 08:58:26 -01:00
|
|
|
#!/bin/bash
|
|
|
|
|
2023-10-29 12:51:52 -01:00
|
|
|
################################################################################
|
|
|
|
# Title: 0520-applications.hook.chroot
|
|
|
|
# Description: Script to remove packages and other things
|
|
|
|
# Author: manuel rosa <manuelsilvarosa@gmail.com>
|
|
|
|
# Date: Outubro 29, 2023
|
|
|
|
# License: GPL-3.0-or-later
|
|
|
|
################################################################################
|
2023-10-29 08:58:26 -01:00
|
|
|
|
|
|
|
# Remove software
|
2023-10-29 12:51:52 -01:00
|
|
|
apt --purge --yes autoremove \
|
|
|
|
vim \
|
|
|
|
vim-tiny \
|
|
|
|
nautilus \
|
|
|
|
hv3 \
|
|
|
|
mpv \
|
|
|
|
murrine-themes \
|
|
|
|
konsole \
|
|
|
|
malcontent \
|
|
|
|
termit \
|
|
|
|
nvidia-tesla-470-alternative \
|
|
|
|
systemsettings \
|
|
|
|
raspi-firmware
|
|
|
|
|
|
|
|
# Remove /boot/firmware folder
|
|
|
|
rm -r /boot/firmware
|
2023-10-29 08:58:26 -01:00
|
|
|
|
|
|
|
# Lowers the footprint in RAM at the small expense of added size to the ISO.
|
2023-10-29 12:51:52 -01:00
|
|
|
#update-icon-caches /usr/share/icons/*
|
|
|
|
find /usr/share/icons -type d -exec gtk-update-icon-cache -f {} \;
|
2023-10-29 08:58:26 -01:00
|
|
|
|
|
|
|
#add flatpak repo to gnome-software
|
|
|
|
flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
|
|
|
|
|
|
|
|
#add-architecture i386
|
|
|
|
dpkg --add-architecture i386
|
|
|
|
|