Difference between revisions of "Fbsplash"

From ArchWiki
Jump to: navigation, search
m
(Fbsplash)
Line 6: Line 6:
 
=Installation=
 
=Installation=
 
==Fbsplash==
 
==Fbsplash==
Install fbsplash with yaourt or aurbuild, or grab the [http://aur.archlinux.org/packages.php?ID=13541 fbsplash package] from [[AUR]] and build and install it with makepkg.
+
Download [http://aur.archlinux.org/packages.php?ID=13541 fbsplash] from the [[AUR]] and build and install it with makepkg.
  
 
==Scripts==
 
==Scripts==

Revision as of 05:30, 3 January 2011

This template has only maintenance purposes. For linking to local translations please use interlanguage links, see Help:i18n#Interlanguage links.


Local languages: Català – Dansk – English – Español – Esperanto – Hrvatski – Indonesia – Italiano – Lietuviškai – Magyar – Nederlands – Norsk Bokmål – Polski – Português – Slovenský – Česky – Ελληνικά – Български – Русский – Српски – Українська – עברית – العربية – ไทย – 日本語 – 正體中文 – 简体中文 – 한국어


External languages (all articles in these languages should be moved to the external wiki): Deutsch – Français – Română – Suomi – Svenska – Tiếng Việt – Türkçe – فارسی

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.

Installation

Fbsplash

Download fbsplash from the AUR and build and install it with makepkg.

Scripts

The fbsplash package provides the scripts for basic functionality. If you want more bells and whistles, like smooth progress, filesystem-check progress messages, support for boot-services/'daemons'-icons and theme hook scripts, you may also install the fbsplash-extras package.

Themes

Install one or more Fbsplash themes. Some can be found by searching the AUR for 'fbsplash-theme', on GNOME-Look.org or on KDE-Look.org.

Note: The package fbsplash doesn't contain a default theme.

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 Pm-utils#Using_another_sleep_backend_.28like_uswsusp.29 or Suspend_to_Disk#Uswsusp_method (hibernate-script). Additionally there is limited support for using a Fbsplash theme in the tuxonice-userui package for those using a kernel with the TuxOnIce patch.

Configuration

Kernel Command Line

Add something like this to your kernel line in /boot/grub/menu.lst or /etc/lilo.conf:

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

to enable the splash using a 1024x768 VESA-mode framebuffer. (For other screen resolutions have a look at GRUB#Framebuffer_resolution.)

If you are using KMS, add something like this:

logo.nologo quiet video=1280x800 console=tty1 splash=silent,fadein,fadeout,theme:arch-banner-icons
Note: The parameter logo.nologo is not needed if you are using kernel26-fbcondecor, because no logo is included into this kernel. The parameter video is only needed to avoid a wrong resolution if a 2nd screen or TV set is connected.

Configuration Files

Put one or more of the themes you installed into /etc/conf.d/splash. You can also specify screen resolutions to save some initcpio space:

SPLASH_THEMES=(
   arch-black
   arch-banner-icons/1280x1024.cfg
   arch-banner-noicons/1280x1024.cfg
)
Note: Theme arch-banner-icons contains mainly symlinks to arch-banner-noicons. So if one of them is included in total, not much space will be saved by limiting the other to some screen resolutions.

If you start Xorg using DAEMONS, also set the appropriate rc.d-script name to avoid VT/keyboard struggle between Xorg and the splash daemon:

SPLASH_XSERVICE="gdm"
Note: Fbsplash will be stopped without changing to the tty1 console before the named script is started. If not set (or not enabled in DAEMONS), Fbsplash is stopped at the very end of Rc.multi. In the latter case it will change to the tty1 console if not booting into runlevel 5.

Starting Fbsplash early in the initcpio

Add fbsplash to the HOOKS= line in /etc/mkinitcpio.conf :

HOOKS="base udev fbsplash ..."

Or if using uswsusp-fbsplash:

HOOKS="base udev ... uresume fbsplash ..." 

Rebuild your initcpio via mkinitcpio. See the Mkinitcpio article.

Note: The udev hook is needed to detect any Fbcondecor kernel patch to avoid starting the Fbcondecor helper twice (visible repaint of the splash screen) and is also useful to load the kernel modules needed (KMS, radeonfb, ...). The uresume hook provided by uswsusp-fbsplash will always wait for the Fbcondecor helper to die (finish fade in) to avoid interference. It is recommended to put 'fbsplash' behind 'uswsusp' or even drop fadein if using a Fbcondecor kernel to get a quick resume.

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

After installing your patched kernel and fbsplash, add fbcondecor to your DAEMONS array in rc.conf:

DAEMONS=(... fbcondecor ...)

There is also a config file /etc/conf.d/fbcondecor to set up the virtual terminals to be used.

You may even boot up with a nice console background and the plain Arch Linux boot messages instead of a splash screen. Just change your kernel cmdline to use the verbose mode:

quiet console=tty1 splash=verbose,theme:arch-banner-icons

Links