Welcome!
Important information
-- Spectre and Meltdown vulnerabilities
-- Change in MX sources

News
-- MX Linux on social media: here
-- Mepis support still here

Current releases
-- MX-17.1 Final release info here
-- antiX-17 release info here

New users
-- Please read this first, and don't forget to add system and hardware information to posts!
-- Here are the Forum Rules

User contributed splash themes

Post Reply
Message
Author
User avatar
Jerry3904
Forum Veteran
Forum Veteran
Posts: 22450
Joined: Wed Jul 19, 2006 6:13 am

User contributed splash themes

#1 Post by Jerry3904 » 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"
Production: 4.15.0-1-amd64, MX-17.1, AMD FX-4130 Quad-Core, GeForce GT 630/PCIe/SSE2, 8 GB, Kingston SSD 120 GB and WesternDigital 1TB
Testing: AAO 722: 4.15.0-1-386. MX-17.1, AMD C-60 APU, 4 GB

User avatar
Jerry3904
Forum Veteran
Forum Veteran
Posts: 22450
Joined: Wed Jul 19, 2006 6:13 am

Re: User contributed splash themes

#2 Post by Jerry3904 » Thu Aug 09, 2018 5:39 am

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:
Production: 4.15.0-1-amd64, MX-17.1, AMD FX-4130 Quad-Core, GeForce GT 630/PCIe/SSE2, 8 GB, Kingston SSD 120 GB and WesternDigital 1TB
Testing: AAO 722: 4.15.0-1-386. MX-17.1, AMD C-60 APU, 4 GB

User avatar
Gerson
Forum Regular
Forum Regular
Posts: 285
Joined: Sun Nov 12, 2017 10:58 am

Re: New app: MX Boot Options

#3 Post by Gerson » 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:
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.
Last edited by Gerson on Sat Aug 25, 2018 7:17 am, edited 1 time in total.
No todos ignoramos las mismas cosas. :confused:

User avatar
asqwerth
Forum Veteran
Forum Veteran
Posts: 3331
Joined: Sun May 27, 2007 5:37 am

Re: New app: MX Boot Options

#4 Post by asqwerth » Sat Aug 25, 2018 4:57 am

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!
Desktop: Intel i5-4460, 16GB RAM, Intel integrated graphics
Clevo N130WU-based Ultrabook: Intel i7-8550U (Kaby Lake R), 16GB RAM, Intel integrated graphics (UEFI)
ASUS X42D laptop: AMD Phenom II, 6GB RAM, Mobility Radeon HD 5400

clicktician
Forum Regular
Forum Regular
Posts: 157
Joined: Sat May 02, 2015 4:35 pm

Re: User contributed splash themes

#5 Post by clicktician » Sat Aug 25, 2018 1:23 pm

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.
Son, someday all this will belong to your ex wife.

Post Reply

Return to “MX Art”