Skip to content
This repository has been archived by the owner on Nov 29, 2020. It is now read-only.

This is a Plymouth theme for linux boot screens. I also added a script to convert mp4s into a png sequence

License

Notifications You must be signed in to change notification settings

jcklpe/Plymouth-Animated-Boot-Screen-Creator

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Animated Boot Screen Shell Script

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.

Instructions

  1. Install Plymouth themes:

sudo apt install plymouth-themes

  1. Go to the plymouth themes folder

cd /usr/share/plymouth/themes

  1. Create new theme folder

sudo mkdir ./{{ThemeNameHere}}

  1. Move into your new theme folder.

cd {{ThemeNameHere}}

  1. 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.

Customization

  1. Put mp4 or gif into the "input" folder.
  2. Run the correct .sh file for the file type you are using.
  3. Transfer the image sequence to the root of the project folder.
  4. 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.

  1. Resave the template.script file as "animated-boot.script".
  2. Open up template.plymouth and enter in your name, descriptions, and new script paths etc and save as {{ThemeNameHere}}.plymouth

Installation

  1. 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
  1. 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)

  2. Update the initramfs image.

sudo update-initramfs -u

  1. 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

Credits

Original repo by Eionix: https://github.com/krishnan793/PlymouthTheme-Cat/commits?author=krishnan793

Video

[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

About

This is a Plymouth theme for linux boot screens. I also added a script to convert mp4s into a png sequence

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%