How do I change the color that the system displays just before the login screen is displayed?

Here is the boot sequence on my machine in the order that things are displayed:

  1. The BIOS screen is flashed.

  2. A Black screen is displayed for a few seconds.

  3. My Plymouth splash screen is displayed.

  4. Purple screen is displayed for a few seconds (This is what I want to change).

  5. Finally, the login screen is displayed.

Please let me know if you require any additional information while addressing this problem and as always, thank you for your time.


You have to open with root privileges /lib/plymouth/themes/ubuntu-logo/ubuntu-logo.script file, find and edit as you wish these lines:

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

For example (0.0, 0.00, 0.0) in both cases will give you a black screen.

After you saved the file, run the following command in terminal:

sudo update-initramfs -u
  • Hey thanks for the quick answer Radu. However, this did not solve my problem. I did as you instructed and then ran sudo update-initramfs -u but there was no noticeable difference after the change to the file. – Jake Newkirk Oct 26 '13 at 22:52
  • @JakeNewkirk Do you use some video proprietary drivers? – Radu Rădeanu Oct 26 '13 at 23:13
  • No sir, I don't. I checked by going into the Ubuntu Software center-->Edit-->Software Sources and then clicking on the "Additional Drivers" tab. There are none listed in the window and it also states at the bottom of the window, "No proprietary drivers are in use." I'm not sure if this is useful information but I'm not using the default splash screen. I'm using Solar plymouth. – Jake Newkirk Oct 26 '13 at 23:20

This is how to get rid of the ugly purple color that flashes right before the login screen.

  1. Open a terminal by pressing CTRL+ALT+T

  2. Type or copy and paste this in the terminal:

    sudo gedit /usr/share/glib-2.0/schemas/50_unity greeter.gschema.override
  3. An empty file will appear. Don't be scared.

    Just copy and paste this into it:

    background-color = "#000000"

You can choose whatever color you like to enter in the same format shown here

(#000000). #000000 will display the color black instead of that God-awful purple color.

  1. Click save and close the file.

  2. Type or copy and paste this into the terminal:

    sudo glib-compile-schemas /usr/share/glib-2.0/schemas/
  3. Restart your computer.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.