Plymouth

Revision as of 09:18, 25 December 2021 by FuzzyBot (talk | contribs) (Updating to match new version of source page)
Other languages:


Note
Although BootSplash has replaced Plymouth in common use, Plymouth is still available in the repos for those who prefer it

Plymouth is an application that runs very early in the boot process (even before the root filesystem is mounted) that provides a graphical boot animation while the boot process happens in the background.


Installation

Plymouth is available from the Manjaro repositories. However, some steps need to be followed to set it up properly.

The steps from https://wiki.archlinux.org/index.php/Plymouth#Installation apply, except the last step.

When rebuilding the initrd image, the "linux" preset does not exist. Use the one that corresponds to you kernel version:

sudo mkinitcpio -p linux<version>

If you do not know what value to use, look in the /etc/mkinitcpio.d directory. It contains all available presets (files with the .preset extension). For example:

user $ sudo mkinitcpio -p linux419 COPY TO CLIPBOARD


Note that in order to enable Plymouth on boot you must edit /etc/default/grub and add the word "splash" to the list of arguments for the following line, as shown:

GRUB_CMDLINE_LINUX_DEFAULT="quiet"
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"

Make sure not to remove anything else that may already be there.

Configuration

See https://wiki.archlinux.org/index.php/Plymouth#Configuration

Removal

4 or 5 steps are needed to remove Plymouth. They are:

  • Remove plymouth hook from /etc/mkinitcpio.conf (For disk encryption users should plymouth-encrypt to encrypt)
  • Regenerate the initramfs for your kernel with sudo mkinitcpio -p linux<version>
  • Remove the word splash & quiet from the Grub command line options via editing /etc/default/grub
  • Update Grub config file with
    user $ sudo update-grub COPY TO CLIPBOARD


  • After that the plymouth package and its themes can be removed. For example:
user $ sudo pacman -Rsn plymouth plymouth-theme-manjaro-elegant COPY TO CLIPBOARD



See Also