Skip to content

foopsss/natural-gentoo-remastered

Repository files navigation

CC BY-SA 4.0

natural-gentoo-remastered

This theme is a sort of remaster of natural-gentoo, an old GRUB and Splashutils theme I found on the Internet a while ago that I couldn't install, possibly due to its age, so I decided to remake it.

This repo contains both a GRUB theme and a WIP Plymouth theme to customize the splash screen at the start.

Installation

It should be noted that this README makes a few assumptions about the system it's going to be installed in. It's assumed that both GRUB and Plymouth are already installed and configured on your machine, and the initrd image is built using dracut (if done manually please refer to the documentation used to do so when performing the final step on "Configuring the system").

Installing the theme

NOTE: the instructions are provided for the moment but I haven't made any ebuilds yet so anyone wanting to try this now will have to resort to the manual installation.

  • For Gentoo, this theme can be installed with the "x11-themes/natural-gentoo-remastered" package available in my overlay. Both parts of the theme can be installed individually with the "grub" and "plymouth" use flags.

  • For other Linux distributions, the theme can be manually installed by copying and pasting the "natural-gentoo-remastered-grub" and/or "natural-gentoo-remastered-plymouth" folders into "/boot/grub/themes" and "/usr/share/plymouth/themes" respectively.

Configuring the system

After installing the theme, the "grub" file at "/etc/default" has to be modified to add the following line:

GRUB_THEME="/boot/grub/themes/natural-gentoo-remastered/theme.txt"

Also, natural-gentoo-remastered has to be set as the default Plymouth theme:

plymouth-set-default-theme natural-gentoo-remastered

Finally, the GRUB configuration and the initrd image have to be rebuilt for the theme to be properly installed and detected by the system. It can be done with:

grub-mkconfig -o /boot/grub/grub.cfg && dracut --force

If GRUB detected the theme succesfully it will output "Found theme: /boot/grub/themes/natural-gentoo-remastered/theme.txt". Meanwhile, dracut will output something like "Creating initramfs image file '/boot/initramfs-.img' done*".

Caveats

  • The background images for the theme are specifically tuned to my display, meaning their resolution is 1366x768. I don't know if there's a way to make the images more usable for other display sizes.
  • The GRUB theme uses the standard stock font. This is something I haven't paid much attention to but I'm definitely open to changing it. It does not use scrollbars either because I don't have many boot options, but it's definitely something that can be added if others need it.

Disclaimer

This theme is published as-is with no warranties of any kind. The user is solely responsible for anything that happens with its device while using the theme.

License and Acknowledgements

This theme is published under the Creative Commons Attribution-ShareAlike 4.0 International license, also known as CC-BY-SA 4.0. A full copy of the license is included in the repo.

It uses the dark Gentoo logo made by Lennart Andre Rolland and the Gentoo Foundation as part of the background images, as well as the "terminal_box_.png" files from the Starfield GRUB theme made by Daniel Tschudi, which are licensed under the Creative Commons Attribution-ShareAlike 2.5 Generic and Creative Commons Attribution-ShareAlike 3.0 Unported licenses respectively, also known as CC-BY-SA 2.5 and CC-BY-SA 3.0.

The Gentoo logo and name are a trademark of the Gentoo Foundation, Inc. in the United States of America and regions that recognize it, and it's owned by Förderverein Gentoo e.V. in Europe, who defines the usage rights of the name and logo inside the territory.

Neither the Gentoo Foundation nor the Gentoo Project are in any way affilliated to this project and the Gentoo logo is used under the rules listed in the "Gentoo-related software projects" and "Service Identificacion" sections of the Gentoo name and logo usage guidelines.

Credits

  • The shield at the top of the README and the copy of the CC-BY-SA 4.0 license come from the cc-licenses GitHub repo.
  • The CyberRe and Starfield GRUB themes, which helped me to understand GRUB themes.
  • The "Theme file format" section in the GNU GRUB manual, for the much-appreciated information on how to make a theme.

Special Thanks

  • Thanks to Ulrich Mueller from the Gentoo Licenses team, Alec Warner from the Gentoo Foundation Board of Trustees and u/erkiferenc from the r/Gentoo subreddit, who helped me clearing my doubts around some of the details of the CC-BY-SA license and the usage of CC-BY-SA licensed materials, as well as the clauses for the usage of the trademarked Gentoo logo under the name and logo usage guidelines. Also, thanks to u/gyakovlev and u/OptionalKarmotrine for taking the time of chimming in with some suggestions to help me with this problem when I asked about it.

About

GRUB2 and Plymouth theme based on the old natural-gentoo theme.

Resources

License

Stars

Watchers

Forks