Difference between revisions of "Splashy"

From ArchWiki
Jump to: navigation, search
m (The kernel command line)
(GNOME will not shut down)
(26 intermediate revisions by 10 users not shown)
Line 1: Line 1:
[[Category: Boot process (English)]]
+
[[Category:Bootsplash]]
[[Category: Eye candy (English)]]
+
[[es:Splashy]]
{{i18n|Splashy}}
+
[[ru:Splashy]]
 
+
[[zh-CN:Splashy]]
[http://splashy.alioth.debian.org 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 [http://www.directfb.org directfb].
+
[http://alioth.debian.org/projects/splashy/ 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 [http://www.directfb.org directfb].
  
 
==Installation==
 
==Installation==
  
Before you can use Splashy, you should enable [[Kernel Mode Setting]]. Please refer to the specific instructions for [[ATI#Kernel_mode-setting_.28KMS.29|ATI cards]], [[Intel#KMS_.28Kernel_Mode_Setting.29|Intel cards]] or [[Nouveau#KMS|Nvidia cards]]. All of these require you to rebuild your kernel image. You will also have to do that later on in this article, so you may wish to skip that step for now.
+
Before you can use Splashy, you should enable [[Kernel Mode Setting]]. Please refer to the specific instructions for [[ATI#Kernel_mode-setting_.28KMS.29|ATI cards]], [[Intel#KMS_.28Kernel_Mode_Setting.29|Intel cards]] or [[Nouveau#KMS|Nvidia cards]].  
  
If you do not have KMS you will need to use framebuffer instead. [[Uvesafb]] is recommended. Of all the three the regular framebuffer is the only one that does not support custom resolutions (including wide screen splashes).
+
Install {{AUR|splashy-full}} from the [[Arch User Repository]].
  
Grab {{Package AUR|splashy-full}} from the [[AUR]]. Instructions on installing packages from the AUR are available [[AUR#Installing_packages|here]].
+
You may also check out [https://bbs.archlinux.org/viewtopic.php?id=48978 this topic] on the [https://bbs.archlinux.org/ Arch Linux forum] for a repository you can add with working splashy packages.
 
+
You may also check out [http://bbs.archlinux.org/viewtopic.php?id=48978 this topic] on the [https://bbs.archlinux.org/ Arch Linux forum] for a repository you can add with working splashy packages.
+
  
 
==Configuration==
 
==Configuration==
Line 19: Line 17:
 
===/etc/rc.conf===
 
===/etc/rc.conf===
  
Add this in {{Filename|/etc/[[rc.conf]]}}:
+
Add this in {{ic|/etc/[[rc.conf]]}}:
SPLASH="splashy"
+
{{hc|/etc/rc.conf|2=SPLASH="splashy"}}
  
 
===Including Splashy in initramfs===
 
===Including Splashy in initramfs===
  
Add Splashy to the HOOKS array in [[mkinitcpio.conf]]. It '''must''' be added ''after'' '''base''', '''udev''' and '''autodetect''' for it to work:
+
Add Splashy to the HOOKS array in {{ic|/etc/[[mkinitcpio.conf]]}}. It '''must''' be added ''after'' '''base''', '''udev''' and '''autodetect''' for it to work:
# nano /etc/mkinitcpio.conf
+
{{hc|/etc/mkinitcpio.conf|2=HOOKS="base udev autodetect splashy [...]"}}
  
For early KMS start add the module [[radeon]] (for radeon cards), [[Intel|i915]] (for intel cards) or [[nouveau]] (for nvidia cards) to the MODULES line in {{Filename|/etc/mkinitcpio.conf}}:
+
For early KMS start add the module [[radeon]] (for radeon cards), [[Intel|i915]] (for intel cards) or [[nouveau]] (for nvidia cards) to the MODULES line in {{ic|/etc/mkinitcpio.conf}}:
# nano /etc/mkinitcpio.conf
+
{{hc|/etc/mkinitcpio.conf|2=MODULES="i915"
 
+
'''or'''
MODULES="i915"
+
MODULES="radeon"
 
+
'''or'''
MODULES="radeon"
+
MODULES="nouveau"}}
 
+
MODULES="nouveau"
+
 
+
Add '''splashy''' to the HOOKS array:
+
HOOKS="base udev autodetect splashy ..."
+
  
 
Rebuild your kernel image (refer to the [[mkinitcpio]] article for more info):
 
Rebuild your kernel image (refer to the [[mkinitcpio]] article for more info):
# mkinitcpio -p [name of your kernel preset]
+
{{bc|# mkinitcpio -p [name of your kernel preset]}}
  
 
===The kernel command line===
 
===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 {{Filename|/boot/grub/grub.cfg}} (the legacy [[Grub]] and [[Lilo]] follow the same pattern):
+
You now need to set {{ic|quiet splash}} as you kernel command line parameters in your bootloader. See [[Kernel parameters]] for more info.
linux /boot/vmlinuz-linux root=/dev/... ro quiet splash
+
 
+
You can force enable KMS early start by appending "''radeon.modeset=1''" (for radeon cards) or "''i915.modeset=1''" (for intel cards) to your kernel options:
+
 
+
linux /boot/vmlinuz-linux root=/dev/... radeon.modeset=1
+
 
+
linux /boot/vmlinuz-linux root=/dev/... i915.modeset=1
+
 
+
You may also edit the file {{Filename|/etc/default/grub}} and append your kernel options to the line ''GRUB_CMDLINE_LINUX_DEFAULT=""''. To re-generate {{Filename|grub.cfg}} run:
+
# grub-mkconfig -o /boot/grub/grub.cfg
+
  
 
===Themes===
 
===Themes===
  
You can install {{Package AUR|splashy-themes}} from the AUR. After installing, look at the available themes like so:
+
You can install {{AUR|splashy-themes}} from the AUR. After installing, look at the available themes like so:
ls /usr/share/splashy/themes
+
{{bc|ls /usr/share/splashy/themes}}
  
The folder name is the theme name. Now edit {{Filename|/etc/splashy/config.xml}} and change the theme name to the one you want, eg.:
+
The folder name is the theme name. Now change the theme to the one you want, eg.:
<current_theme>archlinux-simplyblack</current_theme>
+
{{bc|# splashy_config -s darch-white}}
  
 
{{Note|Themes ending in 43 are of 4:3 aspect ratio - the others are widescreen.}}
 
{{Note|Themes ending in 43 are of 4:3 aspect ratio - the others are widescreen.}}
  
 
Rebuild your kernel image with:
 
Rebuild your kernel image with:
# mkinitcpio -p [name of your kernel preset]
+
{{bc|# mkinitcpio -p [name of your kernel preset]}}
  
 
and reboot.
 
and reboot.
Line 74: Line 57:
  
 
===GNOME will not shut down===
 
===GNOME will not shut down===
 +
{{Out of date|Update for systemd.}}
  
 
'''Problem:''' You are using Gnome, and starting GDM as a daemon, Splashy causes Gnome to not be able to properly shutdown/reboot.
 
'''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 {{Filename|/etc/rc.conf}}, and set it up in [[Display manager#inittab method|{{Filename|/etc/inittab}}]].
+
'''Fix:''' Remove '''gdm''' from DAEMONS in {{ic|/etc/rc.conf}}, and set it up in {{ic|[[Display manager#inittab method|/etc/inittab]]}}.
 
+
==Links==
+
 
+
* http://splashy.alioth.debian.org
+
* http://www.directfb.org
+

Revision as of 09:27, 17 July 2013

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 parameters in your bootloader. See Kernel parameters for more info.

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

Tango-view-refresh-red.pngThis article or section is out of date.Tango-view-refresh-red.png

Reason: Update for systemd. (Discuss in Talk:Splashy#)

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.