Do not like the purple coloured screen and the ubuntu name that appears when the machine boots up to Ubuntu ?
1.Then below is a simple way of changing it as you wish.I would like to offer total credit to following guide.
http://jechem.blogspot.com/2010/10/how-to-change-splash-screen-in-ubuntu.html
- First create a directory named customsplash in /lib/plymouth/themes/
For that type in the terminal,
sudo mkdir /lib/plymouth/themes/customsplash
Then you need to create customsplash.script.To do that just type following and it would open a gedit window for you.
sudo gedit /lib/plymouth/themes/simple/simple.script
Then copy and paste Following
customsplash_image = Image("customsplash.png");
screen_ratio = Window.GetHeight() / Window.GetWidth();
customsplash_image_ratio = customsplash_image.GetHeight() / customsplash_image.GetWidth();
if (screen_ratio < customsplash_image_ratio)
{
scale_factor = Window.GetHeight() / customsplash_image.GetHeight();
}
else
{
scale_factor = Window.GetWidth() / customsplash_image.GetWidth();
}
scaled_customsplash_image = customsplash_image.Scale(customsplash_image.GetWidth() * scale_factor,
customsplash_image.GetHeight() * scale_factor);
customsplash_sprite = Sprite(scaled_customsplash_image);
customsplash_sprite.SetX(Window.GetWidth() / 2 - scaled_customsplash_image.GetWidth () / 2);
customsplash_sprite.SetY(Window.GetHeight() / 2 - scaled_customsplash_image.GetHeight() / 2);
customsplash_sprite.SetZ(-10000);
customsplash_image = Image("customsplash.png");
screen_ratio = Window.GetHeight() / Window.GetWidth();
customsplash_image_ratio = customsplash_image.GetHeight() / customsplash_image.GetWidth();
if (screen_ratio < customsplash_image_ratio)
{
scale_factor = Window.GetHeight() / customsplash_image.GetHeight();
}
else
{
scale_factor = Window.GetWidth() / customsplash_image.GetWidth();
}
scaled_customsplash_image = customsplash_image.Scale(customsplash_image.GetWidth() * scale_factor,
customsplash_image.GetHeight() * scale_factor);
customsplash_sprite = Sprite(scaled_customsplash_image);
customsplash_sprite.SetX(Window.GetWidth() / 2 - scaled_customsplash_image.GetWidth () / 2);
customsplash_sprite.SetY(Window.GetHeight() / 2 - scaled_customsplash_image.GetHeight() / 2);
customsplash_sprite.SetZ(-10000);
Save the file and exit.
Next type in terminal:
sudo gedit /lib/plymouth/themes/customsplash/customsplash.plymouth
Then copy and paste this:
[Plymouth Theme]
Name=simple
Description=Personalized theme
ModuleName=script
ModuleName=script
[script]
ImageDir=/lib/plymouth/themes/simple
ScriptFile=/lib/plymouth/themes/simple/simple.script
Save and exit.
Next type in terminal:
sudo gedit /lib/plymouth/themes/customsplash/customsplash.plymouth
Then copy and paste this:
[Plymouth Theme]
Name=customsplash
Description=Personalized theme
ModuleName=script
[script]
ImageDir=/lib/plymouth/themes/customsplash
ScriptFile=/lib/plymouth/themes/customsplash/customsplash.script
Save and exit.
Then, in terminal type:
sudo nautilus
Type your password.
Navigate to File System>lib>plymouth>themes>customsplash
Copy and paste the picture you want to be on the splash screen. Rename that picture to customsplash.png.
Now You need to update your current plymouth theme.
sudo update-alternatives --install /lib/plymouth/themes/default.plymouth default.plymouth /lib/plymouth/themes/customsplash/customsplash.plymouth 100
sudo update-alternatives --config default.plymouth
choose customsplash.plymouth.
Still in terminal type:
sudo update-initramfs -u
Reboot and you will see your new splash screen.
You can perform this update via splash screen manager.To install this type in terminal.
sudo apt-get install splashscreenmanager
Then you can select the folder where your customised theme is in after running splash screen manager application.
Reboot and you will see your new splash screen.
2.Another way of changing the splash screen is just to do a little tweak in the file system.
You can find your default plymouth theme details inside /lib/plymouth/themes/ubuntulogo folder.Do a 'sudo nautilus ' in the terminal so that you can edit it's contents.Open them in gimp image editor and edit them according to your wish.
Changing ubuntulogo.png would change the splashscreen image and also you can edit the progress dot.
Remember to update your current plymouth theme as described above after applying above changes.
Have your own splash and enjoy.
Guess what?Once we used one of friend's splash screen to greet him on his birthday.He was quite happy to see 'Happy Birthday' on his splash screen instead of the usual screen.:)
May be that is one of the advantages of knowing such tweaks.Suprise your friends:)
This thank goes my team members that wishes me on my birthday by changing my splash screen.... awesome....
ReplyDelete