My-distro-configs-ubuntu-op.../hooks/normal/0520-applications.hook.chroot

62 lines
1.8 KiB
Plaintext
Raw Normal View History

2024-01-12 11:51:34 -01:00
#!/bin/bash
################################################################################
# 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
################################################################################
# Remove software
apt --purge --yes autoremove \
2024-01-29 13:40:18 -01:00
vim \
vim-tiny \
murrine-themes \
termit \
gnome-shell \
gdm3 \
ubuntu-session \
mutter \
gnome-control-center \
gnome-control-center-data \
gnome-control-center-faces \
gnome-online-accounts \
picom \
gedit \
apport \
update-notifier-common \
update-notifier \
imagemagick* \
yelp
## This section is the "lint-trap" to remove files and/or
## directories not associated with or required by AcorOS.
## Followed by \ , add files to be removed, one per line.
for i in \
/usr/share/applications/kdesystemsettings.desktop \
/usr/share/applications/systemsettings.desktop \
/usr/share/applications/calamares.desktop.orig \
/usr/share/applications/xfce4-mail-reader.desktop \
/usr/share/applications/xfce4-web-browser.desktop \
do [ -e $i ] &&
rm -rf ${i} ||
echo " The path ${i} was not found and couldn't be removed."
done
2024-01-12 11:51:34 -01:00
# Lowers the footprint in RAM at the small expense of added size to the ISO.
#update-icon-caches /usr/share/icons/*
find /usr/share/icons -type d -exec gtk-update-icon-cache -f {} \;
#add flatpak repo to gnome-software
flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
#fix network-manager install
dpkg-reconfigure network-manager
#add-architecture i386
dpkg --add-architecture i386