Change The Default Plymouth Ubuntu Theme Background Color

Well, I am now very pleased with the way my Plymouth Ubuntu theme looks. It is now more consistent throughout the entire boot process.

In line with what I mentioned in my previous article about looking for a minimalist Plymouth theme with a dark/black color scheme, apparently I did not have to look any further. The default Plymouth theme for Ubuntu is already perfect. It is is simple, yet elegant enough, and does not break whenever a disk check happens on every nth boot.

To change the background color to black we only need to edit 2 lines. Open the file /lib/plymouth/themes/ubuntu-logo/ubuntu-logo.script with your favorite editor. This is a root-owned file. Don’t forget to use sudo or gksudo with the editor for the modifications to take effect.

Now let us proceed. Look for the following lines:

Window.SetBackgroundTopColor (0.17, 0.00, 0.12);     # Nice colour on top of the screen fading to
Window.SetBackgroundBottomColor (0.17, 0.00, 0.12);  # an equally nice colour on the bottom

The 2 lines above controls the background color. First we need to comment these out. This is just in case you change your mind later and want to revert to the original color.

#Window.SetBackgroundTopColor (0.17, 0.00, 0.12);     # Nice colour on top of the screen fading to
#Window.SetBackgroundBottomColor (0.17, 0.00, 0.12);  # an equally nice colour on the bottom

Copy the 2 lines and place it below the commented lines. Then change the values as shown below:

Window.SetBackgroundTopColor (0.0, 0.00, 0.0);     # Nice colour on top of the screen fading to
Window.SetBackgroundBottomColor (0.0, 0.00, 0.0);  # an equally nice colour on the bottom

Don’t forget to save the file. What you should have in the end is something like this:

#Window.SetBackgroundTopColor (0.17, 0.00, 0.12);     # Nice colour on top of the screen fading to
#Window.SetBackgroundBottomColor (0.17, 0.00, 0.12);  # an equally nice colour on the bottom

Window.SetBackgroundTopColor (0.0, 0.00, 0.0);     # Nice colour on top of the screen fading to
Window.SetBackgroundBottomColor (0.0, 0.00, 0.0);  # an equally nice colour on the bottom

After you have accomplished everything above, issue the following command on a terminal:

sudo update-initramfs -u

Reboot Ubuntu to see the changes.

Now only a few things remain in my quest to have a smooth experience with plymouth. On shutdown I am practically seeing ugly text before plymouth starts. How to get rid of it. Anyone got ideas?

Similar Posts: