Difference between revisions of "Fbsplash"
(→Console backgrounds: use template) |
m (Added vga framebuffer size to grub params, fbsplash fails if this is not set.) |
||
Line 21: | Line 21: | ||
===Kernel Command Line=== | ===Kernel Command Line=== | ||
Your bootloader now needs some configuring to work with Fbsplash. The following is an example for [[Grub2]] and {{Filename|/boot/grub/grub.cfg}} (the legacy [[Grub]] and [[Lilo]] follow the same pattern): | Your bootloader now needs some configuring to work with Fbsplash. The following is an example for [[Grub2]] and {{Filename|/boot/grub/grub.cfg}} (the legacy [[Grub]] and [[Lilo]] follow the same pattern): | ||
− | linux /boot/vmlinuz-linux root=/dev/... quiet loglevel=3 logo.nologo console=tty1 splash=silent,fadein,fadeout,theme:arch-banner-icons | + | linux /boot/vmlinuz-linux root=/dev/... quiet loglevel=3 logo.nologo vga=790 console=tty1 splash=silent,fadein,fadeout,theme:arch-banner-icons |
You may also edit the file {{Filename|/etc/default/grub}} and append your kernel options to the line GRUB_CMDLINE_LINUX_DEFAULT="": | You may also edit the file {{Filename|/etc/default/grub}} and append your kernel options to the line GRUB_CMDLINE_LINUX_DEFAULT="": | ||
− | {{File|name=/etc/default/grub|content=GRUB_CMDLINE_LINUX_DEFAULT="quiet loglevel=3 logo.nologo console=tty1 splash=silent,fadein,fadeout,theme:arch-banner-icons"}} | + | {{File|name=/etc/default/grub|content=GRUB_CMDLINE_LINUX_DEFAULT="quiet loglevel=3 logo.nologo vga=790 console=tty1 splash=silent,fadein,fadeout,theme:arch-banner-icons"}} |
To re-generate {{Filename|grub.cfg}} run: | To re-generate {{Filename|grub.cfg}} run: |
Revision as of 20:27, 1 December 2011
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.
Contents
Installation
Fbsplash
The fbsplashAUR package is available in the AUR. For console backgrounds (discussed later in this article) you should install a kernel patched with fbcondecor such as linux-fbcondecorAUR.
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-extrasAUR package.
Themes
Themes can be found by searching the AUR for fbsplash-theme, in GNOME-Look.org or in KDE-Look.org.
Suspend to Disk
If you want suspend to disk with Uswsusp using Fbsplash, install the uswsusp-fbsplashAUR 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 Fbsplash in the Template:Package AUR package for those using a kernel with the TuxOnIce patch.
Configuration
Kernel Command Line
Your bootloader now needs some configuring to work with Fbsplash. The following is an example for Grub2 and Template:Filename (the legacy Grub and Lilo follow the same pattern):
linux /boot/vmlinuz-linux root=/dev/... quiet loglevel=3 logo.nologo vga=790 console=tty1 splash=silent,fadein,fadeout,theme:arch-banner-icons
You may also edit the file Template:Filename and append your kernel options to the line GRUB_CMDLINE_LINUX_DEFAULT="": Template:File
To re-generate Template:Filename run: Template:Cli
The parameter Template:Codeline prevents kernel messages from garbling the splash even with funny hardware (as recent initscripts do not set this by default any more). Template:Codeline is needed additionally for silencing initcpio messages. Template:Codeline removes the boot logo (not needed with linux-fbcondecor since it does not have one anyway). Template:Codeline redirects system messages to tty1 and Template:Codeline creates a silent, splash-only boot with fading in/out 'arch-banner-icons' theme.
Configuration Files
Put one or more of the themes you installed into Template:Filename. You can also specify screen resolutions to save some initcpio space: Template:File
If you start Xorg using DAEMONS (kdm, gdm, etc.), also set the appropriate rc.d-script name to avoid VT/keyboard struggle between Xorg and the splash daemon:
SPLASH_XSERVICE="gdm"
Starting Fbsplash early in the initcpio
Add fbsplash to HOOKS in Template:Filename: Template:File or: Template:File or in case of system encryption: Template:File Rebuild your initcpio via mkinitcpio. See the Mkinitcpio article for more info.
If you have trouble getting fbsplash to work and your machine uses KMS (Kernel Mode Setting), try adding the appropriate driver to mkinitcpio.conf.
Console backgrounds
If you have a kernel that supports Fbcondecor (eg. linux-fbcondecorAUR), you can get nice graphical console backgrounds beside the splash screen. Just search the AUR for fbsplash-theme.
After installing your patched kernel and fbsplash, add Template:Codeline to your Template:Codeline array in Template:Filename: Template:File There is also a configuration file Template:Filename 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