Changing Login Color
I didn’t really like the default shades of purple that Ubuntu uses for boot-up, so I wanted to change them to a pretty shade of green.
Stuff that didn’t work
I tried changing the other instances of the aubergine purple by changing one of the instances of
but to my knowledge, that did nothing.
To change the color of the login screen:
xhost +local: && sudo vim /etc/alternatives/gdm3.css
You can change the editor to Emacs or whatever you like.
Go to the block that begins with
#lockdialogGroup, and change the hex color from
#2c001eto whatever you want. I’m using
You know how there’s a screen that appears before your lock screen? I’m not sure if that’s the splash screen, or what that is. Either way, that screen was still purple, so I wanted to make that green as well.
sudo vim /usr/share/plymouth/themes/ubuntu-logo/ubuntu-logo.script
Go to the lines beginning with
Window.SetBackground. There’ll be two of them.
The default color on these lines is
(0.16, 0.00, 0.12), which corresponds to
#2c001e. Change this on both lines to whatever you want Also, these are ratios. I’m using
(0.04, 0.21, 0.13).
sudo update-initramfs -u
That should be it! Check out this link for more info.
When I boot up, there’s a quick flash of purple that still appears, but I haven’t yet figured out why that is.