Ubuntu_ modify the boot background color

via: http://blog.csdn.net/ldl22847/article/details/14522875

 

There are two stages of ubuntu boot purple background: Grub, Plymouth
Plymouth modify the background color Already searched for the
Grub stage, only found the method of replacing with pictures I
accidentally found this file ubuntu-logo.grub, you can directly modify the grub background color


Modify the Grub background color
code :
sudo gedit /lib/plymouth/themes/ubuntu-logo/ubuntu-logo.grub #original
purple
#if background_color 44,0,30; then
# clear
#fi #change

to black
if background_color 0,0,0; then
  clear
fi #Link

relationship:
#/etc/alternatives/default.plymouth.grub -> /lib/plymouth/themes/ubuntu-logo/ubuntu-logo.grub
#/lib/plymouth/themes/default.grub -> /etc /alternatives/default.plymouth.grub


Modify the background color
code that moves a little bit:
sudo gedit /lib/plymouth/themes/ubuntu-logo/ubuntu-logo.script #Original
purple
#Window.SetBackgroundTopColor (0.17, 0.00, 0.12);
#Window.SetBackgroundBottomColor (0.17, 0.00, 0.12);

#改成黑色
Window.SetBackgroundTopColor (0.0, 0.0, 0.0);
Window.SetBackgroundBottomColor (0.0, 0.0, 0.0);

#改成黑紫渐变
#Window.SetBackgroundTopColor (0.0, 0.0, 0.0);
#Window.SetBackgroundBottomColor (0.17, 0.00, 0.12);

Guess you like

Origin http://10.200.1.11:23101/article/api/json?id=326856866&siteId=291194637