248 lines
8.5 KiB
Markdown
248 lines
8.5 KiB
Markdown
<h1 align="center">Plymouth Themes</h1>
|
|
|
|
<p align="center">
|
|
<img src="https://img.shields.io/badge/Maintained%3F-Yes-green?style=for-the-badge">
|
|
<img src="https://img.shields.io/github/license/adi1090x/plymouth-themes?style=for-the-badge">
|
|
<img src="https://img.shields.io/github/stars/adi1090x/plymouth-themes?style=for-the-badge">
|
|
<img src="https://img.shields.io/github/forks/adi1090x/plymouth-themes?color=teal&style=for-the-badge">
|
|
<img src="https://img.shields.io/github/issues/adi1090x/plymouth-themes?color=violet&style=for-the-badge">
|
|
</p>
|
|
|
|
<p align="center">
|
|
A big collection of plymouth themes, ported from <i>android bootanimation</i> from <a href="https://forum.xda-developers.com/android/themes/alienware-t3721978">here.</a>
|
|
</p>
|
|
|
|
![gif](./previews/53.gif)
|
|
|
|
### What is plymouth?
|
|
|
|
[Plymouth](http://www.freedesktop.org/wiki/Software/Plymouth) is a project from Fedora and now listed among the [freedesktop.org's official resources](https://www.freedesktop.org/wiki/Software/#graphicsdriverswindowsystemsandsupportinglibraries) providing a flicker-free graphical boot process. It relies on [kernel mode setting](https://wiki.archlinux.org/index.php/Kernel_mode_setting) (KMS) to set the native resolution of the display as early as possible, then provides an eye-candy splash screen leading all the way up to the login manager.
|
|
|
|
### How to set it up?
|
|
|
|
follow [this](https://wiki.archlinux.org/index.php/plymouth) *archwiki* article to setup plymouth in *archlinux* or any other distro.
|
|
|
|
### How to get these theme?
|
|
|
|
**Download :** you can download individual themes from [releases](https://github.com/adi1090x/plymouth-themes/releases).
|
|
|
|
**Clone :** or you can clone this repository if you want -
|
|
```bash
|
|
git clone https://github.com/adi1090x/plymouth-themes.git
|
|
```
|
|
|
|
**AUR :** If you're on `archlinux`, you can install these [themes](https://aur.archlinux.org/packages/?O=0&K=adi1090x) individually with an AUR helper like `yay`
|
|
```bash
|
|
yay -S plymouth-theme-NAME-git
|
|
```
|
|
> Remember to replace the underscore(\_) with an hyphen(-) in theme's NAME.
|
|
|
|
### Important for Arch users
|
|
|
|
If you're using the AUR package [plymouth](https://aur.archlinux.org/packages/plymouth) or [plymouth-git](https://aur.archlinux.org/packages/plymouth-git), you need to ensure that [cantarell-fonts](https://archlinux.org/packages/extra/any/cantarell-fonts/) or [ttf-dejavu](https://archlinux.org/packages/community/any/ttf-dejavu/) is installed.
|
|
Otherwise, the password prompt to unlock a dm-crypt device won't show up.
|
|
|
|
### How to use these theme?
|
|
|
|
+ follow the step below (I'm using **archlinux** here)-
|
|
```bash
|
|
# packages needed - plymouth, plymouth-x11, plymouth-plugin-script(fedora)
|
|
|
|
# after downloading or cloning themes, copy the selected theme in plymouth theme dir
|
|
sudo cp -r angular /usr/share/plymouth/themes/
|
|
|
|
# check if theme exist in dir
|
|
sudo plymouth-set-default-theme -l
|
|
|
|
# now set the theme (angular, in this case) and rebuilt the initrd
|
|
sudo plymouth-set-default-theme -R angular
|
|
|
|
# optionally you can test theme by running the script given in repo (plymouth-x11 required)
|
|
sudo ./showplymouth.sh 20
|
|
```
|
|
+ Para **Debian**
|
|
```bash
|
|
# Paquetes Plymouth
|
|
sudo apt -y install plymouth plymouth-themes
|
|
|
|
# Habilitar en fichero splash en /etc/default/grup
|
|
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
|
|
|
|
# Copiar tema deseado
|
|
sudo cp -R <tema> /usr/share/plymouth/themes/
|
|
|
|
# Fijar tema
|
|
sudo plymouth-set-default-theme <tema> -R
|
|
```
|
|
+ For **Ubuntu, Kubuntu** -Debian based distros-
|
|
```bash
|
|
# make sure you have the packages for plymouth
|
|
sudo apt install plymouth
|
|
|
|
# after downloading or cloning themes, copy the selected theme in plymouth theme dir
|
|
sudo cp -r angular /usr/share/plymouth/themes/
|
|
|
|
# install the new theme (angular, in this case)
|
|
sudo update-alternatives --install /usr/share/plymouth/themes/default.plymouth default.plymouth /usr/share/plymouth/themes/angular/angular.plymouth 100
|
|
|
|
# select the theme to apply
|
|
sudo update-alternatives --config default.plymouth
|
|
#(select the number for installed theme, angular in this case)
|
|
|
|
# update initramfs
|
|
sudo update-initramfs -u
|
|
```
|
|
### Previews
|
|
|
|
<!----------------------------- Pack 1 ----------------------------->
|
|
<details><summary>Pack 1</summary>
|
|
|
|
Colorful Loop|Connect
|
|
--|--
|
|
![gif](./previews/14.gif)|![gif](./previews/16.gif)
|
|
|
|
> *Open in new tab with fullscreen mode for better view*
|
|
|
|
+ [Abstract Rings](./previews/1.gif)
|
|
+ [Abstract Rings Alt](./previews/2.gif)
|
|
+ [Alienware](./previews/3.gif)
|
|
+ [Angular](./previews/4.gif)
|
|
+ [Angular Alt](./previews/5.gif)
|
|
+ [Black HUD](./previews/6.gif)
|
|
+ [Blockchain](./previews/7.gif)
|
|
+ [Circle](./previews/8.gif)
|
|
+ [Circle Alt](./previews/9.gif)
|
|
+ [Circle Flow](./previews/10.gif)
|
|
+ [Circle HUD](./previews/11.gif)
|
|
+ [Circuit](./previews/12.gif)
|
|
+ [Colorful](./previews/13.gif)
|
|
+ [Colorful Loop](./previews/14.gif)
|
|
+ [Colorful Sliced](./previews/15.gif)
|
|
+ [Connect](./previews/16.gif)
|
|
+ [Cross HUD](./previews/17.gif)
|
|
+ [Cubes](./previews/18.gif)
|
|
+ [Cuts](./previews/19.gif)
|
|
+ [Cuts Alt](./previews/20.gif)
|
|
|
|
</details>
|
|
|
|
<!----------------------------- Pack 2 ----------------------------->
|
|
<details><summary>Pack 2</summary>
|
|
|
|
Deus Ex|Hexagon Dots
|
|
--|--
|
|
![gif](./previews/25.gif)|![gif](./previews/37.gif)
|
|
|
|
> *Open in new tab with fullscreen mode for better view*
|
|
|
|
+ [Cyanide](./previews/21.gif)
|
|
+ [Cybernetic](./previews/22.gif)
|
|
+ [Dark Planet](./previews/23.gif)
|
|
+ [Darth Vader](./previews/24.gif)
|
|
+ [Deus Ex](./previews/25.gif)
|
|
+ [DNA](./previews/26.gif)
|
|
+ [Double](./previews/27.gif)
|
|
+ [Dragon](./previews/28.gif)
|
|
+ [Flame](./previews/29.gif)
|
|
+ [Glitch](./previews/30.gif)
|
|
+ [Glow](./previews/31.gif)
|
|
+ [Green Blocks](./previews/32.gif)
|
|
+ [Green Loader](./previews/33.gif)
|
|
+ [Hexagon](./previews/34.gif)
|
|
+ [Hexagon 2](./previews/35.gif)
|
|
+ [Hexagon Alt](./previews/36.gif)
|
|
+ [Hexagon Dots](./previews/37.gif)
|
|
+ [Hexagon Dots Alt](./previews/38.gif)
|
|
+ [Hexagon HUD](./previews/39.gif)
|
|
+ [Hexagon RED](./previews/40.gif)
|
|
|
|
</details>
|
|
|
|
<!----------------------------- Pack 3 ----------------------------->
|
|
<details><summary>Pack 3</summary>
|
|
|
|
Lone|Pixels
|
|
--|--
|
|
![gif](./previews/53.gif)|![gif](./previews/59.gif)
|
|
|
|
> *Open in new tab with fullscreen mode for better view*
|
|
|
|
+ [Hexa Retro](./previews/41.gif)
|
|
+ [Hud](./previews/42.gif)
|
|
+ [Hud 2](./previews/43.gif)
|
|
+ [Hud 3](./previews/44.gif)
|
|
+ [Hud Space](./previews/45.gif)
|
|
+ [IBM](./previews/46.gif)
|
|
+ [Infinite Seal](./previews/47.gif)
|
|
+ [Ironman](./previews/48.gif)
|
|
+ [Liquid](./previews/49.gif)
|
|
+ [Loader](./previews/50.gif)
|
|
+ [Loader 2](./previews/51.gif)
|
|
+ [Loader Alt](./previews/52.gif)
|
|
+ [Lone](./previews/53.gif)
|
|
+ [Metal Ball](./previews/54.gif)
|
|
+ [Motion](./previews/55.gif)
|
|
+ [Optimus](./previews/56.gif)
|
|
+ [Owl](./previews/57.gif)
|
|
+ [Pie](./previews/58.gif)
|
|
+ [Pixels](./previews/59.gif)
|
|
+ [Polaroid](./previews/60.gif)
|
|
|
|
</details>
|
|
|
|
<!----------------------------- Pack 4 ----------------------------->
|
|
<details><summary>Pack 4</summary>
|
|
|
|
Red Loader|Splash
|
|
--|--
|
|
![gif](./previews/61.gif)|![gif](./previews/73.gif)
|
|
|
|
> *Open in new tab with fullscreen mode for better view*
|
|
|
|
+ [Red Loader](./previews/61.gif)
|
|
+ [Rings](./previews/62.gif)
|
|
+ [Rings 2](./previews/63.gif)
|
|
+ [Rog](./previews/64.gif)
|
|
+ [Rog 2](./previews/65.gif)
|
|
+ [Seal](./previews/66.gif)
|
|
+ [Seal 2](./previews/67.gif)
|
|
+ [Seal 3](./previews/68.gif)
|
|
+ [Sliced](./previews/69.gif)
|
|
+ [Sphere](./previews/70.gif)
|
|
+ [Spin](./previews/71.gif)
|
|
+ [Spinner Alt](./previews/72.gif)
|
|
+ [Splash](./previews/73.gif)
|
|
+ [Square](./previews/74.gif)
|
|
+ [Square Hud](./previews/75.gif)
|
|
+ [Target](./previews/76.gif)
|
|
+ [Target 2](./previews/77.gif)
|
|
+ [Tech A](./previews/78.gif)
|
|
+ [Tech B](./previews/79.gif)
|
|
+ [Unrap](./previews/80.gif)
|
|
|
|
</details>
|
|
|
|
### Display distro logo
|
|
|
|
Copy the logo file to the theme folder (e.g. `/usr/share/plymouth/themes/colorful_loop`) and then add the following content to the theme's `.script` file (e.g. `/usr/share/plymouth/themes/colorful_loop/colorful_loop.script`):
|
|
|
|
```
|
|
# display ubuntu logo
|
|
ubuntu_image = Image("ubuntu-logo.png"); # change filename accordingly
|
|
ubuntu_sprite = Sprite();
|
|
|
|
ubuntu_sprite.SetImage(ubuntu_image);
|
|
ubuntu_sprite.SetX(Window.GetX() + (Window.GetWidth() / 2 - ubuntu_image.GetWidth() / 2)); # center the image horizontally
|
|
ubuntu_sprite.SetY(Window.GetHeight() - ubuntu_image.GetHeight() - 50); # display just above the bottom of the screen
|
|
```
|
|
|
|
You can display whatever image you want and even add more.
|
|
|
|
The given example looks like the following when applied (`rog_2` theme used):
|
|
|
|
![ubuntu-logo-preview](ubuntu-logo-preview.png)
|
|
|
|
### FYI
|
|
+ Created and tested on machine with 1366x768 resolution.
|
|
+ Yeah, that's how *quarantine* going on :grin:.
|
|
+ Stay Home - Stay Safe, Help Fighting CORONA.
|