https://wiki.archlinux.org/api.php?action=feedcontributions&user=Krisanalfa&feedformat=atomArchWiki - User contributions [en]2024-03-29T13:43:55ZUser contributionsMediaWiki 1.41.0https://wiki.archlinux.org/index.php?title=Plymouth&diff=289088Plymouth2013-12-18T03:18:16Z<p>Krisanalfa: /* Changing the Theme */</p>
<hr />
<div>[[Category:Bootsplash]]<br />
[[cs:Plymouth]]<br />
[[es:Plymouth]]<br />
[[it:Plymouth]]<br />
[[ja:Plymouth]]<br />
[[ru:Plymouth]]<br />
[[zh-CN:Plymouth]]<br />
[http://www.freedesktop.org/wiki/Software/Plymouth Plymouth] is a project from Fedora providing a flicker-free graphical boot process. It relies on [[kernel mode setting]] (KMS) to set the native resolution of the display as early as possible, then provides an eye-candy splash screen leading all the way up to the login manager.<br />
<br />
== Preparation ==<br />
<br />
{{Warning|Plymouth is currently under heavy development and may contain bugs.}}<br />
Plymouth primarily uses [[KMS]] (Kernel Mode Setting) to display graphics. If you can't use KMS (e.g. because you are using a proprietary driver) you will need to use [[Framebuffer#Framebuffer_Resolution|framebuffer]] instead. Uvesafb is recommended as it can function with widescreen resolutions.<br />
<br />
If you have neither KMS nor a framebuffer, Plymouth will fall back to text-mode.<br />
<br />
== Installation ==<br />
<br />
Plymouth is not presently available in the [[official repositories]], and will need to be installed from the [[AUR]].<br />
<br />
The stable package is {{AUR|plymouth}} and the development version is {{AUR|plymouth-git}}. The package we refer to in this article is ''plymouth-git'', which actually is much tidier and contains several corrections and additions.<br />
<br />
=== The plymouth hook ===<br />
<br />
Add {{ic|plymouth}} to the HOOKS array in {{ic|/etc/[[mkinitcpio.conf]]}}. It '''must''' be added '''after''' {{ic|base}} and {{ic|udev}} for it to work:<br />
<br />
{{hc|/etc/mkinitcpio.conf|2=HOOKS="base udev plymouth [...] "}}<br />
<br />
{{Warning|If you use [[System Encryption with LUKS for dm-crypt|hard drive encryption]] with the {{ic|encrypt}} hook, you '''must''' replace the {{ic|encrypt}} hook with {{ic|plymouth-encrypt}} in order to get to the TTY password prompts.}}<br />
<br />
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}}:<br />
<br />
{{hc|/etc/mkinitcpio.conf|2=<br />
MODULES="i915"<br />
'''or'''<br />
MODULES="radeon"<br />
'''or'''<br />
MODULES="nouveau"<br />
}}<br />
<br />
=== The kernel command line ===<br />
<br />
You now need to set {{ic|quiet splash}} as your kernel command line parameter in your bootloader. See [[Kernel parameters]] for more info.<br />
<br />
Rebuild your initrd image (see [[mkinitcpio]] article for details), for example:<br />
<br />
# mkinitcpio -p linux<br />
<br />
== Configuration ==<br />
<br />
=== Smooth transition ===<br />
<br />
For ''smooth transition'' to Display Manager you have to:<br />
<br />
# See the Wiki Page (link in 5) to prepare your Display Manager<br />
# Disable your Display Manager Unit, e.g. {{ic|systemctl disable kdm.service}}<br />
# Enable the respective DM-plymouth Unit (GDM, KDM, LXDM units provided), e.g. {{ic|systemctl enable kdm-plymouth.service}}<br />
<br />
=== Changing the Theme ===<br />
<br />
Plymouth comes with a selection of themes:<br />
<br />
# '''Fade-in''': "Simple theme that fades in and out with shimmering stars"<br />
# '''Glow''': "Corporate theme with pie chart boot progress followed by a glowing emerging logo"<br />
# '''Script''': "Script example plugin" (Despite the description seems to be a quite nice Arch logo theme)<br />
# '''Solar''': "Space theme with violent flaring blue star"<br />
# '''Spinner''': "Simple theme with a loading spinner" <br />
# '''Spinfinity''': "Simple theme that shows a rotating infinity sign in the center of the screen"<br />
# ''('''Text''': "Text mode theme with tricolor progress bar")''<br />
# ''('''Details''': "Verbose fallback theme")''<br />
<br />
By default, '''spinfinity''' theme is selected. You can change the theme by editing {{ic|/etc/plymouth/plymouthd.conf}}, for example:<br />
<br />
{{hc|/etc/plymouth/plymouthd.conf|2=<br />
[Daemon]<br />
Theme=spinfinity<br />
}}<br />
<br />
You will also need to rebuild your initrd image every time you change your theme.<br />
<br />
All currently installed themes can be listed by using this command:<br />
<br />
$ plymouth-set-default-theme -l<br />
<br />
or:<br />
<br />
{{hc|$ ls /usr/share/plymouth/themes|<br />
details glow solar spinner tribar<br />
fade-in script spinfinity text<br />
}}<br />
<br />
Themes can be previewed without rebuilding, press {{ic|Ctrl+Alt+F2}} to change to console, log in as root and type:<br />
<br />
# plymouthd<br />
# plymouth --show-splash<br />
<br />
To quit the preview, press {{ic|Ctrl+Alt+F2}} again and type:<br />
<br />
# plymouth --quit<br />
<br />
every time a theme is changed, the kernel image must be rebuilt with:<br />
<br />
# mkinitcpio -p <name of your kernel preset; e.g. linux><br />
<br />
To change theme and rebuild initrd image:<br />
<br />
# plymouth-set-default-theme -R <theme><br />
<br />
Reboot to apply the changes.<br />
<br />
== See also ==<br />
<br />
* [http://fedoraproject.org/wiki/Releases/FeatureBetterStartup Original Spec]<br />
* [https://bbs.archlinux.org/viewtopic.php?id=81406 Related forum thread]</div>Krisanalfahttps://wiki.archlinux.org/index.php?title=Plymouth&diff=289087Plymouth2013-12-18T03:17:16Z<p>Krisanalfa: Trailing }} on plymouth --quit</p>
<hr />
<div>[[Category:Bootsplash]]<br />
[[cs:Plymouth]]<br />
[[es:Plymouth]]<br />
[[it:Plymouth]]<br />
[[ja:Plymouth]]<br />
[[ru:Plymouth]]<br />
[[zh-CN:Plymouth]]<br />
[http://www.freedesktop.org/wiki/Software/Plymouth Plymouth] is a project from Fedora providing a flicker-free graphical boot process. It relies on [[kernel mode setting]] (KMS) to set the native resolution of the display as early as possible, then provides an eye-candy splash screen leading all the way up to the login manager.<br />
<br />
== Preparation ==<br />
<br />
{{Warning|Plymouth is currently under heavy development and may contain bugs.}}<br />
Plymouth primarily uses [[KMS]] (Kernel Mode Setting) to display graphics. If you can't use KMS (e.g. because you are using a proprietary driver) you will need to use [[Framebuffer#Framebuffer_Resolution|framebuffer]] instead. Uvesafb is recommended as it can function with widescreen resolutions.<br />
<br />
If you have neither KMS nor a framebuffer, Plymouth will fall back to text-mode.<br />
<br />
== Installation ==<br />
<br />
Plymouth is not presently available in the [[official repositories]], and will need to be installed from the [[AUR]].<br />
<br />
The stable package is {{AUR|plymouth}} and the development version is {{AUR|plymouth-git}}. The package we refer to in this article is ''plymouth-git'', which actually is much tidier and contains several corrections and additions.<br />
<br />
=== The plymouth hook ===<br />
<br />
Add {{ic|plymouth}} to the HOOKS array in {{ic|/etc/[[mkinitcpio.conf]]}}. It '''must''' be added '''after''' {{ic|base}} and {{ic|udev}} for it to work:<br />
<br />
{{hc|/etc/mkinitcpio.conf|2=HOOKS="base udev plymouth [...] "}}<br />
<br />
{{Warning|If you use [[System Encryption with LUKS for dm-crypt|hard drive encryption]] with the {{ic|encrypt}} hook, you '''must''' replace the {{ic|encrypt}} hook with {{ic|plymouth-encrypt}} in order to get to the TTY password prompts.}}<br />
<br />
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}}:<br />
<br />
{{hc|/etc/mkinitcpio.conf|2=<br />
MODULES="i915"<br />
'''or'''<br />
MODULES="radeon"<br />
'''or'''<br />
MODULES="nouveau"<br />
}}<br />
<br />
=== The kernel command line ===<br />
<br />
You now need to set {{ic|quiet splash}} as your kernel command line parameter in your bootloader. See [[Kernel parameters]] for more info.<br />
<br />
Rebuild your initrd image (see [[mkinitcpio]] article for details), for example:<br />
<br />
# mkinitcpio -p linux<br />
<br />
== Configuration ==<br />
<br />
=== Smooth transition ===<br />
<br />
For ''smooth transition'' to Display Manager you have to:<br />
<br />
# See the Wiki Page (link in 5) to prepare your Display Manager<br />
# Disable your Display Manager Unit, e.g. {{ic|systemctl disable kdm.service}}<br />
# Enable the respective DM-plymouth Unit (GDM, KDM, LXDM units provided), e.g. {{ic|systemctl enable kdm-plymouth.service}}<br />
<br />
=== Changing the Theme ===<br />
<br />
Plymouth comes with a selection of themes:<br />
<br />
# '''Fade-in''': "Simple theme that fades in and out with shimmering stars"<br />
# '''Glow''': "Corporate theme with pie chart boot progress followed by a glowing emerging logo"<br />
# '''Script''': "Script example plugin" (Despite the description seems to be a quite nice Arch logo theme)<br />
# '''Solar''': "Space theme with violent flaring blue star"<br />
# '''Spinner''': "Simple theme with a loading spinner" <br />
# '''Spinfinity''': "Simple theme that shows a rotating infinity sign in the center of the screen"<br />
# ''('''Text''': "Text mode theme with tricolor progress bar")''<br />
# ''('''Details''': "Verbose fallback theme")''<br />
<br />
By default, '''spinfinity''' theme is selected. You can change the theme by editing {{ic|/etc/plymouth/plymouthd.conf}}, for example:<br />
<br />
{{hc|/etc/plymouth/plymouthd.conf|2=<br />
[Daemon]<br />
Theme=spinfinity<br />
}}<br />
<br />
You will also need to rebuild your initrd image every time you change your theme.<br />
<br />
All currently installed themes can be listed by using this command:<br />
<br />
$ plymouth-set-default-theme -l<br />
<br />
or:<br />
<br />
{{hc|$ ls /usr/share/plymouth/themes|<br />
details glow solar spinner tribar<br />
fade-in script spinfinity text<br />
}}<br />
<br />
Themes can be previewed without rebuilding, press {{ic|Ctrl+Alt+F2}} to change to console, log in as root and type:<br />
<br />
# plymouthd<br />
# plymouth --show-splash<br />
<br />
To quit the preview, press {{ic|Ctrl+Alt+F2}} again and type:<br />
<br />
# plymouth --quit<br />
<br />
every time a theme is changed, the kernel image must be rebuilt with:<br />
<br />
# mkinitcpio -p <name of your kernel preset; e.g. linux><br />
f01a5e55031cef678bb30acc0315222bcaf48e0319787c6e09201dc93a6a670a<br />
To change theme and rebuild initrd image:<br />
<br />
# plymouth-set-default-theme -R <theme><br />
<br />
Reboot to apply the changes.<br />
<br />
== See also ==<br />
<br />
* [http://fedoraproject.org/wiki/Releases/FeatureBetterStartup Original Spec]<br />
* [https://bbs.archlinux.org/viewtopic.php?id=81406 Related forum thread]</div>Krisanalfa