Since the first release of X-splash, we have seen many people customize the boot experience - some attempts more successful than others. You can find something really interesting on Gnome-look and the Ubuntu forums, but so far I haven't found any tutorials that explain how to create your own X-splash throbber. This post is an attempt to create such a "tutorial".
How does it all work
The X-splash files are stored in the /usr/share/images/xsplash folder. Modifying files in this folder requires root authority.
The background, logo and throbber images are all stored in four different sizes (It has been suggested to use only one scalable background image for Ubuntu 10.04, so this guide might be outdated by 10.04). X-splash will use the image sizes that fits your screen resolution best. I only use the largest files available for background, logo and the throbber, since these are the ones X-splash uses on my system. These three files are called:
The logo and throbber files are .PNG files. .PNG was originally created as a replacement for the ubiquitous GIF format, which used to require a patent license for producers of imaging software to use it legally (the GIF/LZW patent has since expired, so this is no longer a factor). Besides being a freely available format, PNG allows for virtually unlimited transparency effects by enabling an alpha channel for transparency. This is exactly what we want for the throbber and logo image.
The logo image gets placed so that its center is screen width/2, screen height/3.
The throbber gets chopped via the throbber image's width and height divided by the number of frames. Xsplash expects 50 frames default. You can use whatever size image you want for the throbber, just make sure the graphics matches the number of frames. So, if you put an 100x5000 image, it'll appear as a 100x100 throbber animation with 50 frames.
Perhaps you remember when the Ubuntu 9.10 Alpha 5 came out (first time X-splash was included) and every website posted YouTube videos of this weird looking animation. The throbber image shiped in Alpha 5 had 51 frames insted of 50!
For the animation you can eighter create the frames manually in applications like GIMP. You may already have brilliany ideas, but start simple until you understand how this works. MacUntu, from the Ubuntuforums, illustrates this perfectly.
A throbber with 17 frames by MacUntu
I prefer to use a animation application like Blender, which can render frames and save them as .PNG images. If you know other good applications for this task, please let me know.
When you've created the .PNG throbber frame images, you'll need to "stitch" them together. To stitch the frames images together (you'll need Imagemagick), place all the frames images in an empty folder and type:
convert `ls *` -append new_throbber.pngI've created 50 frame images for you to try this with: http://dl.dropbox.com/u/175241/boot/throbber_frame_images.tar.gz
The images won't give you a smooth animation since these are only old test images for what eventually became the Xubuntu X-splash.
Need more help
I hope this will get you started customizing X-splash. Remember you can re-install the default X-splash, go to the terminal and write:
sudo apt-get install --reinstall ubuntu-xsplash-artworkTo show the X-splash arrguments:
sudo -u gdm xsplash --helpIf you are look for more help, visit the Ubuntuforums.org where you'll find information about how to customize usplash, xsplash and grub and other goodies.
If you don't want to get your hands dirty, you can check out these other X-splash customizations:
- Get Xubuntu's Boot Splash Animation In Ubuntu Karmic!
- Automatically Change Your Xsplash Background To Your Desktop Wallpaper
- 6 Nice Xsplash Themes
- Sublime XSplash Theme - Clean X-splash
- 3 Karmic Mock-Up Xsplash's Brought To Life
- 14 Xsplash themes for Ubuntu Karmic Koala
- Ubuntu XSplash Animation - Human Swarm
- Working with Xsplash