How to set splash screen using bash

Hello everyone

I have created a custom splash screen. This contains the following structure:
.
├── contents
│ ├── previews
│ │ └── splash.png
│ └── splash
│ ├── images
│ │ ├── background.png
│ │ ├── logo.jpg
│ └── Splash.qml
└── metadata.desktop

Now I would like to achieve the following:

  1. set this splash screen as default via bash (for logins)
  2. set this splash screen as default via bash (also for boot)

Can anyone help me how I can do this?

Hi! I haven’t done exactly what you’re setting out to do, but the Plasma splash screen setting - once it’s been changed in System Settings - is stored in ~/.config/ksplashrc. Editing that file to point to the splash screen you’ve made should change that for the next time you log in. (And your splash screen structure, as you’ve made it, should be in a your-theme-name.desktop folder that’s itself within ~/.local/share/plasma/look-and-feel/)

When you mention for boot - are you referring to what your device shows right when it’s powered on, while the UEFI/BIOS is handling startup? If so, to my understanding that’s a whole other ball of wax that involves getting into your motherboard’s ROM, and would be a lot deeper down in the “layers” of your system than where KDE software would be handling things.

Hope that helps,

1 Like