Page 1 of 2

User contributed splash themes

Posted: Tue Aug 07, 2018 12:42 pm
by Jerry3904
This thread is for users to post their splash creations. Any original art work should be identified in a text document titled "Source"

Re: User contributed splash themes

Posted: Thu Aug 09, 2018 5:39 am
by Jerry3904
So, you might be asking yourself: how can I create a splash theme?

Complicated answer: covered by a series of blog posts that are linked in the MX Boot options HELP file. My goal is to work through all that one of these days when I have nothing to do...

Simpler answer: you use the example plymouth plugin script "script.script" located in /usr/share/plymouth/themes/script/. Example:
  • Dolphin_Oracle created the striking theme mx-linux this way. I ran a diff on the original and his script.script for the new theme, and you can see the small number of changes that he made (first number of each section is the line number):

    Code: Select all

    1c1
    < # This is an example plymouth plugin script
    ---
    > # mx script theme, modified from debian script theme script.script
    
    6c6
    < logo.image = Image("special://logo");
    ---
    > logo.image = Image("mx_wall_3_night.png");
    
    8c8,10
    < logo.opacity_angle = 0;
    ---
    > logo.opacity_angle =0;
    > mx_logo.image = Image("MX-logo.png");
    > mx_logo.sprite = Sprite(mx_logo.image);
    
    14,18c16,20
    <         logo.opacity_angle += ((2 * 3.14) / 50) * 0.5;  # 0.5 HZ
    <         min_opacity = 0.3;
    <         opacity = (Math.Cos(logo.opacity_angle) + 1) / 2;
    <         opacity *= 1 - min_opacity;
    <         opacity += min_opacity;
    ---
    > #        logo.opacity_angle += ((2 * 3.14) / 50) * 0.5;  # 0.5 HZ
    > #        min_opacity = 0.3;
    > #        opacity = (Math.Cos(logo.opacity_angle) + 1) / 2;
    > #        opacity *= 1 - min_opacity;
    > #        opacity += min_opacity;
    
    21c23,26
    <         logo.sprite.SetOpacity (opacity);
    ---
    > 	logo.z = -10000;
    > 	mx_logo.sprite.SetX (Window.GetX() + Window.GetWidth()  / 2 - mx_logo.image.GetWidth()  / 2);
    >         mx_logo.sprite.SetY (Window.GetY() + Window.GetHeight() / 2 - mx_logo.image.GetHeight() / 2);
    > #       logo.sprite.SetOpacity (opacity);
    
    We'll let him comment on those changes--I'm not sure there is much beyond the two image changes
  • image files being used must be placed in the same folder
  • a rewritten plymouth file (here: mx-linux.plymouth) needs to be created with the crucial middle section pointing to locations:

    Code: Select all

    [Plymouth Theme]
    Name=Script
    Description=Script example plugin.
    ModuleName=script
    
    [script]
    ImageDir=/usr/share/plymouth/themes/mx-linux
    ScriptFile=/usr/share/plymouth/themes/mx-linux/script.script
    
    [script-env-vars]
    example_env_var=example env var value
Simplest answer: you adapt one that already exists and works. This is what we have done to generate some of those in the beta splash theme package. Example:
  • User Gerson first found the beautiful animated theme dandelion, and switched the logo. We then substituted a different logo and deleted the existing Debian one. Ta-dah!
Note that if you change any logo or background you must revise the *.plymouth file as indicated above.

------------------

Ready to get started? :whoknows:

Re: New app: MX Boot Options

Posted: Thu Aug 09, 2018 3:35 pm
by Gerson
<MOD: moved this to here from the testing forum>

Use the MX logo to add it to this Plymouth theme, Peter-Rabbit; It's not my responsibility, I just modified it, you can download it from this link.
G. Translate:
Usé el logo de MX para agregarlo a este tema de Plymouth, Peter-Rabbit; no es de mi autoría, solo lo modifiqué, pueden descargarlo desde este enlace.

Re: New app: MX Boot Options

Posted: Sat Aug 25, 2018 4:57 am
by asqwerth
Gerson wrote: Thu Aug 09, 2018 3:35 pm <MOD: moved this to here from the testing forum>

Use the MX logo to add it to this Plymouth theme, Peter-Rabbit; It's not my responsibility, I just modified it, you can download it from this link.
G. Translate:
Use el logo de MX para agregarlo a este tema de Plymouth, Peter-Rabbit; no es de mi autoría, solo lo modifiqué, pueden descargarlo desde este enlace.
That is very cute!

Re: User contributed splash themes

Posted: Sat Aug 25, 2018 1:23 pm
by clicktician
Jerry3904 wrote: Tue Aug 07, 2018 12:42 pm This thread is for users to post their splash creations. Any original art work should be identified in a text document titled "Source"
... if someone is looking for ideas...

I have a custom boot splash, lightdm login screen, and lock screen. But the reason isn't vanity or pride. Haha.
I have a rule: Any portable device that leaves my home or office must bear my e-mail address, cellphone number and reward offer for its safe return.

Instead of a sticker on the case of my MX tablet, I decided to display that info on the screen using customized art work (not very flexible).

I bet I'm not the only person who does this.
A smarter guy than I am could probably script-up an MX feature that would allow any user to display custom text on their boot, login, and lock screens.

Re: User contributed splash themes

Posted: Mon Nov 26, 2018 10:26 am
by proskehy
I'm not sure if that was the intention with the MX Linux logo, but when I see it, I see a windmill behind two hills. So I made a simple boot splash, using the existing dandelion-mx theme, somewhat building on that idea :)

I uploaded the theme to GitHub: https://github.com/proskehy/MXLinux_Windmill

Re: User contributed splash themes

Posted: Mon Nov 26, 2018 10:40 am
by Jerry3904
Thanks very much for the contribution! We'll take a look.

On the logo: it combines the pyramids from the old Mepis logo with the X of antiX.

Oh: and welcome to the Forum!

Re: User contributed splash themes

Posted: Mon Nov 26, 2018 11:35 am
by asqwerth
Jerry3904 wrote: Mon Nov 26, 2018 10:40 am Thanks very much for the contribution! We'll take a look.

On the logo: it combines the mountains from the old Mepis logo with the X of antiX.

Oh: and welcome to the Forum!
Welcome.

Jerry, I thought they were pyramids originally, not mountains.

Image

Re: User contributed splash themes

Posted: Mon Nov 26, 2018 11:40 am
by richb
Yes, They were pyramids.

Re: User contributed splash themes

Posted: Mon Nov 26, 2018 11:42 am
by Jerry3904
Yeah, meant that. Was too early in the am.