This is a template built off of Eonix's animated cat plymouth theme. I just wrote some scripts to make it easier to make your own.
- Install Plymouth themes:
sudo apt install plymouth-themes
- Go to the plymouth themes folder
cd /usr/share/plymouth/themes
- Create new theme folder
sudo mkdir ./{{ThemeNameHere}}
- Move into your new theme folder.
cd {{ThemeNameHere}}
- Clone this repo contents into the folder.
sudo git clone https://github.com/thedonquixotic/Plymouth-Animated-Boot-Screen-Creator.git .
The dot at the end will clone the contents of the template folder into your new theme folder.
- Put mp4 or gif into the "input" folder.
- Run the correct .sh file for the file type you are using.
- Transfer the image sequence to the root of the project folder.
- Open up template.script and change the lines:
for (i = 0; i < {{NUMBER OF IMAGES IN SEQUENCE}}; i++)
flyingman_image[i] = Image("progress-" + i + ".png");
flyingman_sprite = Sprite();
and
flyingman_sprite.SetImage(flyingman_image[Math.Int(progress / 3) % {{NUMBER OF IMAGES}}]);
To have the correct number of images in the sequence.
- Resave the template.script file as "animated-boot.script".
- Open up template.plymouth and enter in your name, descriptions, and new script paths etc and save as {{ThemeNameHere}}.plymouth
- Install the theme using this script, be sure to replace the template variables used:
sudo update-alternatives --install /usr/share/plymouth/themes/default.plymouth default.plymouth /usr/share/plymouth/themes/{{ThemeName}}/{{ThemeName}}.plymouth 100
In my case it looks like this:
sudo update-alternatives --install /usr/share/plymouth/themes/default.plymouth default.plymouth /usr/share/plymouth/themes/slash/slash.plymouth 100
-
Select the default theme.
sudo update-alternatives --config default.plymouth
And select the number for your theme (I can't say this for sure but if the theme you want is under 0 for the auto mode, then I would select that as I think it boots in faster than manual) -
Update the initramfs image.
sudo update-initramfs -u
- Now reboot.
If you want to install this on < Ubuntu 16.04, change the path from /usr/share/plymouth to /lib/plymouth/ . You need to do this on the eionix-cat.plymouth file also.
Also other possible perks:
I found some scripts that are supposed to improve the transitions etc between Plymouth and the other parts of the start up process. I don't know if they worked for me or not. I had trouble getting the plymouth-gdm thing working as it seems that it's primarily something to do with pre-gdm3 versions and I'm on Ubuntu 18.04
Anyway:
- Edit the file /etc/initramfs-tools/conf.d/splash and add this line:
FRAMEBUFFER=y
- To enable smooth transition you have to disable your display manager unit, e.g.
systemctl disable gdm.service
- Enable the respective DM-plymouth Unit (GDM, LXDM, SLiM units provided), e.g.
systemctl enable gdm-plymouth.service
Original repo by Eionix: https://github.com/krishnan793/PlymouthTheme-Cat/commits?author=krishnan793
[Video] https://www.youtube.com/watch?v=c6f478VBhtE
[Blog] http://eionix.blogspot.in/2016/10/plymouth-theme-for-ubuntu.html
And if you want to check out my blog for more creative coding and unix customization stuff, check out https://www.jackalope.tech/blog