از ArchWiki پارسی
پرش به ناوبری پرش به جستجو

پرونده:Tango-preferences-desktop-locale.pngاین مقاله یا بخش نیازمند این است که ترجمه شود.پرونده:Tango-preferences-desktop-locale.png

یادداشت: این صفحه در حال ترجمه است و نیاز به ترجمه دارد. (در بحث:Plymouth# در این مورد تبادل نظر کنید.)

Plymouth یک پروژه از فدورا است که یک روند بوت جنبشی ارائه می‌‌کند. plymouth به kernel mode setting (به اختصار KMS) برای دریافت resolution در سریع‌ترین زمانی که شود، تکیه می‌کند. سپس توسط یک صفحهٔ معرفی تمام راه را تا مدیر لاگین طی می‌کند.

آماده سازی

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الگو:Broken section link instead. In EFI/UEFI systems, plymouth can utilize the EFI framebuffer, otherwise Uvesafb is recommended as it can function with widescreen resolutions.

If you have neither KMS nor a framebuffer, Plymouth will fall back to text-mode.


Plymouth is available from the AUR: the stable package is plymouthAUR and the development version is plymouth-gitAUR.

If you also use GDM, you should install the gdm-plymouthAUR, which compiles gdm with plymouth support.

Packages are also available in the unofficial nullptr_t repository.

plymouth hook

Add ‎plymouth‎ to the HOOKS array in mkinitcpio.conf. It must be added after ‎base‎ and ‎udev‎ for it to work:

HOOKS="base udev plymouth [...] "
هشدار: If you use hard drive encryption with the ‎encrypt‎ hook, you must replace the ‎encrypt‎ hook with ‎plymouth-encrypt‎ in order to get to the TTY password prompts.
هشدار: Using PARTUUID in ‎cryptdevice=‎ parameter does not work with ‎plymouth-encrypt‎ hook.

خط فرمان هسته لینوکس

You now need to set ‎quiet splash‎ as your kernel command line parameter in your bootloader. See Kernel parameters for more info.

Rebuild your initrd image (see mkinitcpio article for details), for example:

# mkinitcpio -p linux


گذار نرم

To enable smooth transition (if supported) you have to:

  1. Disable your Display manager Unit, e.g. ‎systemctl disable gdm.service‎
  2. Enable the respective DM-plymouth Unit (GDM, LXDM, SLiM units provided), e.g. ‎systemctl enable gdm-plymouth.service‎

تأخیر نمایش

As of version 0.9.0 plymouth has a new configuration option available in /etc/plymouth/plymouthd.conf


On systems that boot quickly, you may only see a flicker of your splash theme before your DM or login prompt is ready. You can set ShowDelay to an interval (in seconds) longer than your boot time to prevent this flicker and only show a blank screen. The default is 5 seconds, but you may wish to change this to a lower value to see your splash earlier during boot.

تغییر تم

Plymouth comes with a selection of themes:

  1. Fade-in: "Simple theme that fades in and out with shimmering stars"
  2. Glow: "Corporate theme with pie chart boot progress followed by a glowing emerging logo"
  3. Script: "Script example plugin" (Despite the description seems to be a quite nice Arch logo theme)
  4. Solar: "Space theme with violent flaring blue star"
  5. Spinner: "Simple theme with a loading spinner"
  6. Spinfinity: "Simple theme that shows a rotating infinity sign in the center of the screen"
  7. (Text: "Text mode theme with tricolor progress bar")
  8. (Details: "Verbose fallback theme")

In addition you can install other themes from AUR, just have a look at the "Required by"-Array on plymouthAUR.

All currently installed themes can be listed by using this command:

$ plymouth-set-default-theme -l


$ ls /usr/share/plymouth/themes
details  glow    solar       spinner  tribar
fade-in  script  spinfinity  text

By default, the spinner theme is selected. The theme can be changed by editing ‎/etc/plymouth/plymouthd.conf‎, for example:


Themes can be previewed without rebuilding, press ‎Ctrl+Alt+F2‎ to change to console, log in as root and type:

# plymouthd
# plymouth --show-splash

To quit the preview, press ‎Ctrl+Alt+F2‎ again and type:

# plymouth --quit

Every time a theme is changed, the kernel image must be rebuilt:

# plymouth-set-default-theme -R <theme>

Reboot to apply the changes.

نکات و ترفندها

نمایش پیامهای هسته لینوکس

During boot you can switch to kernel messages by pressing "Home" (or "Escape") key.

جایگزین کردن لوگوی آرچ و ایجاد تم دلخواه

The following themes use the Arch Linux logo supplied by Plymouth in ‎/usr/share/plymouth/arch-logo.png‎: fade-in, script, solar, spinfinity. If you want to use another logo, you can take one of them or one of the plymouth themes in AUR, edit the file ‎*.plymouth‎ (and maybe ‎*.script‎, too) and replace this image with one of your choice. You should create a package from your newly created theme, because changes in ‎/usr/share/plymouth‎ may not be persistent across package upgrades.

After installing and selecting your theme, you should rebuild the initrd image to use the new splash.

بوت ساکت

برای اینکه فرآیند بوت کاملاً به صورت ساکت و بدون نمایش هرگونه پیغامی انجام شود پارامترهای زیر را به پارامترهای بوت هسته لینوکس در برنامه بوت لودر خود اضافه کنید:

quiet vt.global_cursor_default=0 rd.loglevel=0 systemd.show_status=false rd.udev.log-priority=0 udev.log-priority=0 splash

به عنوان نمونه اگر از GRUB استفاده می کنید ابتدا فایل ‎/etc/default/grub‎ را باز کنید و سپس این مقادیر را به عنوان مقدار به پارامتر ‎GRUB_CMDLINE_LINUX_DEFAULT‎ بدهید. مقدار این پارامتر به صورت زیر می شود:

GRUB_CMDLINE_LINUX_DEFAULT="quiet vt.global_cursor_default=0 rd.loglevel=0 systemd.show_status=false rd.udev.log-priority=0 udev.log-priority=0 splash"

سپس با استفاده از دستور زیر فایل تنظیمات GRUB را بازسازی کنید:

$ sudo grub-mkconfig -o /boot/grub/grub.cfg

سپس جهت غیر فعال کردن پیام های برنامه fsck در ابتدای بوت هرکدام از دستورهای زیر را به ترتیب اجرا کنید:

$ sudo systemctl edit systemd-fsck-root.service
$ sudo systemctl edit systemd-fsck\@.service

و محتویات فایل ایجاد شده برای هرکدام را به صورت زیر قرار دهید:


همچنین ببینید