Fbsplash (前身为 gensplash) 使用framebuffer layer为linux系统提供开关机splash.
从 AUR AUR 下载安装编译。
fbsplash包只提供了最基本的功能,为了更好的支持, 应该安装 fbsplash-extras 。
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[broken link: invalid section] or Suspend to Disk#Uswsusp_method (hibernate-script)[broken link: invalid section]. Additionally there is limited support for using a Fbsplash theme in the tuxonice-userui package for those using a kernel with the TuxOnIce patch.
Kernel Command Line
Edit the file
/etc/default/grub and append your kernel options to the line
GRUB_CMDLINE_LINUX_DEFAULT="ro quiet loglevel=3 logo.nologo vga=790 console=tty1 splash=silent,fadein,fadeout,theme:arch-banner-icons"
# grub-mkconfig -o /boot/grub/grub.cfg
loglevel=3 prevents kernel messages from garbling the splash even with funny hardware (as recent initscripts do not set this by default any more).
quiet is needed additionally for silencing initcpio messages.
logo.nologo removes the boot logo (not needed with AUR[broken link: package not found] since it does not have one anyway).
console=tty1 redirects system messages to tty1 and
splash=silent,fadein,fadeout,theme:arch-banner-icons creates a silent, splash-only boot with fading in/out arch-banner-icons theme.
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"
Starting Fbsplash early in the initcpio
If uresume and/or encrypt HOOKS are used, add fbsplash after them in
HOOKS="base udev autodetect [...] keymap encrypt uresume fbsplash"
Rebuild your initcpio via mkinitcpio. See the Mkinitcpio article for more info.
After installing your patched kernel and fbsplash, add
fbcondecor to your
DAEMONS array in
DAEMONS=(... fbcondecor ...)
There is also a configuration 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 command line to use the verbose mode:
quiet console=tty1 splash=verbose,theme:arch-banner-icons