Plymouthis a graphical boot system and logger for Red Hat Enterprise Linux 7, which makes use of the kernel-based mode setting (KMS) and Direct Rendering Manager (DRM).
Plymouthalso handles user interaction during boot.
10.3.1. Branding the Theme
Plymouthis composed of a theme data file and a compiled splash plugin module. The data file has a
.plymouthextension, and is installed in the
[Plymouth Theme]section, in the key-value format. Valid keys for this group are Name, Description, and ModuleName. While the first two keys are self-explanatory, the third specifies the name of a
Plymouthsplash plugin module. Different plugins provide different animations at boot time and the underlying implementation of the various themes:
Example 10.2. A .plymouth File Specimen
[Plymouth Theme] Name=Charge Description=A theme that features the shadowy hull of my logo charge up and finally burst into full form. ModuleName=two-step
Procedure 10.3. Changing the Plymouth Theme
- Search for the existing
Plymouththemes and choose the most preferable one. Run the following command:
yum search plymouth-themeOr run the
plymouth-set-default-theme --listcommand to view the installed themes.You can also install all the themes when installing all the plymouth packages. However, you will install a number of unnecessary packages as well.
yum install plymouth\*
- Set the new theme as default with the
Example 10.3. Set "spinfinity" as the Default ThemeYou have chosen the spinfinity theme, so you run:
- Rebuild the
initrddaemon after editing otherwise your theme will not show in the boot screen. Do so by running:
10.3.2. Creating a New Plymouth Theme
Procedure 10.4. Creating Your Own Theme from an Existing Theme
- Copy an entire content of a
plymouth/directory. As a template directory, use, for example, the default theme for Red Hat Enterprise Linux 7,
/usr/share/plymouth/themes/charge/charge.plymouth, which uses a two-step splash plugin (two-step is a popular boot load feature of a two phased boot process that starts with a progressing animation synced to boot time and finishes with a short, fast one-shot animation):
[Plymouth Theme] Name=Charge Description=A theme that features the shadowy hull of my logo charge up and finally burst into full form. ModuleName=two-step [two-step] ImageDir=/usr/share/plymouth/themes/charge HorizontalAlignment=.5 VerticalAlignment=.5 Transition=none TransitionDuration=0.0 BackgroundStartColor=0x202020 BackgroundEndColor=0x202020
- Save the
charge.plymouthfile with a new name in the
/usr/share/plymouth/themes/newtheme/directory, in the following format:
- Update the settings in your
/usr/share/plymouth/themes/newtheme/newtheme.plymouthfile according to your preferences, changing color, alignment, or transition.
- Set your newtheme as default by running the following command:
- Rebuild the
initrddaemon after changing the theme by running the command below:
10.3.2.1. Using Branded Logo
Procedure 10.5. Add Your Logo to the Theme
- Create an image file named
logo.pngwith your logo.
- Edit the
/usr/share/plymouth/themes/newtheme.plymouthfile by updating the ImageDir key to point to the directory with the
logo.pngimage file you created in step 1:
Plymouth, see the
plymouth(8) man page.