Difference between revisions of "Fbsplash"

From ArchWiki
Jump to navigation Jump to search
(→‎Starting Fbsplash early in the initcpio: Spelling and grammar fixes)
m (→‎Kernel Command Line: Fixed erroneous resolution)
Line 23: Line 23:
 
==Kernel Command Line==
 
==Kernel Command Line==
 
Add something like this to your kernel command line (in such a file like /boot/grub/menu.lst or /etc/lilo.conf).
 
Add something like this to your kernel command line (in such a file like /boot/grub/menu.lst or /etc/lilo.conf).
For screen resolution 1040x768 :
+
For screen resolution 1024x768 :
 
  quiet console=tty1 vga=792 splash=silent,theme:arch-banner-icons,fadein,fadeout
 
  quiet console=tty1 vga=792 splash=silent,theme:arch-banner-icons,fadein,fadeout
 
or for screen resolution 1280x1024 :
 
or for screen resolution 1280x1024 :

Revision as of 05:48, 11 July 2009

fbsplash (formerly gensplash) is a userspace implementation of a splash screen for Linux systems. It provides a graphical environment during system boot using the Linux framebuffer layer.

Template:I18n links start Template:I18n entry Template:I18n entry Template:I18n links end

Installation

Fbsplash

Install fbsplash with yaourt, or grab the fbsplash package from AUR and build and install it with makepkg.

Initscripts Extras

You will need something to control fbsplash while booting and shutting down the machine. Install the initscripts-extras-fbsplash package from the AUR.

Themes

Install one or more of the Fbsplash theme packages found when searching the AUR for 'fbsplash'

Note, that the package fbsplash doesn't include a theme anymore.

Suspend to disk

If you want suspend to disk with fbsplash, install the uswsusp-fbsplash package from the AUR. For more info have a look at Suspend_to_Disk#Uswsusp_method

Configuration

Kernel Command Line

Add something like this to your kernel command line (in such a file like /boot/grub/menu.lst or /etc/lilo.conf). For screen resolution 1024x768 :

quiet console=tty1 vga=792 splash=silent,theme:arch-banner-icons,fadein,fadeout

or for screen resolution 1280x1024 :

quiet console=tty1 vga=795 splash=silent,theme:arch-banner-icons,fadein,fadeout

For other resolutions have a look at Framebuffer#Framebuffer_Resolution

Configuration files

Put one or more of the themes you installed into /etc/conf.d/fbsplash :

SPLASH_THEMES="arch-black arch-banner-icons arch-banner-noicons"

Add fbsplash to your DAEMONS array in rc.conf:

DAEMONS=(... fbsplash ...)

Since this is responsible for stopping the splash daemon, it must appear before Xorg is started. So if you have a display manager in your DAEMONS, put it right before it or otherwise at the end. Don't prefix it with '@'.

Starting Fbsplash early in the initcpio

Add fbsplash to the HOOKS=() array in /etc/mkinitcpio.conf :

HOOKS=(... fbsplash ...)

This should be put behind uresume or at least behind udev.

To be extra safe, in case something goes badly wrong, you may exclude the hook from your fallback initcpios. The file to edit is /etc/mkinitcpio.d/kernel26.preset for the stock kernel. For other kernels there are different files. Edit the options like so:

fallback_options="-S autodetect,fbsplash"

Rebuild your initcpio via mkinitcpio. See the Mkinitcpio article.

Console backgrounds

If you have a kernel that supports fbcondecor, you can get nice graphical console backgrounds beside the splash screen. Just search the AUR for fbcondecor

Links