Splashy

From ArchWiki
Revision as of 11:25, 16 July 2012 by Det (Talk | contribs) (Including Splashy in initramfs)

Jump to: navigation, search

Splashy is a userspace implementation of a splash screen for Linux systems. It provides a graphical environment during system boot using the Linux framebuffer layer via directfb.

Installation

Before you can use Splashy, you should enable Kernel Mode Setting. Please refer to the specific instructions for ATI cards, Intel cards or Nvidia cards.

Install splashy-fullAUR from the Arch User Repository.

You may also check out this topic on the Arch Linux forum for a repository you can add with working splashy packages.

Configuration

/etc/rc.conf

Add this in /etc/rc.conf:

/etc/rc.conf
SPLASH="splashy"

Including Splashy in initramfs

Add Splashy to the HOOKS array in /etc/mkinitcpio.conf. It must be added after base, udev and autodetect for it to work:

/etc/mkinitcpio.conf
HOOKS="base udev autodetect splashy [...]"

For early KMS start add the module radeon (for radeon cards), i915 (for intel cards) or nouveau (for nvidia cards) to the MODULES line in /etc/mkinitcpio.conf:

/etc/mkinitcpio.conf
MODULES="i915"
or
MODULES="radeon"
or
MODULES="nouveau"

Rebuild your kernel image (refer to the mkinitcpio article for more info):

# mkinitcpio -p [name of your kernel preset]

The kernel command line

You now need to set quiet splash as you kernel command line parametres in your bootloader. The following is an example for Grub2 and /boot/grub/grub.cfg (the legacy Grub and Lilo follow the same pattern):

linux /boot/vmlinuz-linux root=/dev/... ro quiet splash

You may also edit the file /etc/default/grub and append your kernel options to the line GRUB_CMDLINE_LINUX_DEFAULT="":

/etc/default/grub
GRUB_CMDLINE_LINUX_DEFAULT="ro quiet splash"

To re-generate grub.cfg run:

# grub-mkconfig -o /boot/grub/grub.cfg

Themes

You can install splashy-themesAUR from the AUR. After installing, look at the available themes like so:

ls /usr/share/splashy/themes

The folder name is the theme name. Now change the theme to the one you want, eg.:

# splashy_config -s darch-white
Note: Themes ending in 43 are of 4:3 aspect ratio - the others are widescreen.

Rebuild your kernel image with:

# mkinitcpio -p [name of your kernel preset]

and reboot.

Troubleshooting

GNOME will not shut down

Problem: You are using Gnome, and starting GDM as a daemon, Splashy causes Gnome to not be able to properly shutdown/reboot.

Fix: Remove gdm from DAEMONS in /etc/rc.conf, and set it up in /etc/inittab.