# Help - [Help](#help) - [Remove unused packages](#remove-unused-packages) - [Update Grub](#update-grub) - [Downgrading Kernel](#downgrading-kernel) - [Set Plymouth Background Image](#set-plymouth-background-image) ## Remove unused packages Make sure to use the `-Rs` flag when removing. This will clean up deps. ```bash pacman -Rs package ``` To see a list of packages that are orphaned you can run: ```bash pacman -Qtdq ``` To remove those packages you can run ```bash pacman -Qtdq | pacman -Rns - ``` ## Update Grub 1. `grub-install --target=x86_64-efi --efi-directory=/boot --bootloader-id=BOOT` 1. `cp /boot/EFI/BOOT/grubx64.efi /boot/EFI/BOOT/bootx64.efi` ## Downgrading Kernel You can find old kernel versions at You can find old kernel-header versions at If you want to downgrade to a previously installed kernel you can use pacman cache: 1. `cd /var/cache/pacman/pkg` 2. `pacman -U linux-x.x.x.arch1-1-x86_64.pkg.tar.zst linux-headers-x.x.x.arch1-1-x86_64.pkg.tar.zst` 3. `reboot` If you want to downgrade to a kernel that wasn't previously installed: 1. Download linux... and linux-headers... from above 2. `pacman -U linux-x.x.x.arch1-1-x86_64.pkg.tar.zst linux-headers-x.x.x.arch1-1-x86_64.pkg.tar.zst` 3. `reboot` ## Set Plymouth Background Image 1. `sudo cp image.png /usr/share/plymouth/themes/spinner/background-tile.png` 1. `sudo plymouth-set-default-theme -R spinner`