顯示具有 Plymouth 標籤的文章。 顯示所有文章
顯示具有 Plymouth 標籤的文章。 顯示所有文章

2025年4月23日 星期三

Linux Mint Cinnamon預設開機動畫plymouth位置

預設位置為 /usr/share/plymouth/themes/mint-logo
如果做過macOS化則是 /usr/share/plymouth/themes/macOS,而位於/usr/share/plymouth/themes/default.plymouth設定檔案內容如下:

[Plymouth Theme]
Name=macOS OS X Plymouth
Description=A Plymouth of OS X Yosemite
ModuleName=script

[script]
ImageDir=/usr/share/plymouth/themes/macOS
ScriptFile=/usr/share/plymouth/themes/macOS/macOS.script

如果要修改plymouth解析度,預設值是GRUB_GFXMODE=640x480,則須修改/etc/default/grub,以下下圖為例則須在最後面加入
GRUB_GFXMODE=1920x1080x32
GRUB_GFXPAYLOAD_LINUX=1920x1080x32

記得執行
sudo grub-mkconfig -o /boot/grub/grub.cfg
以套用修改的效果!!!


或是在進入GRUB情況下按下c鍵,輸入vedioinfo來查詢螢幕的訊息,如下圖:



2024年6月29日 星期六

Linux Mint開機動畫MacOS化

點我下載

 

下載處


解壓縮後得如下圖:



安裝結束後,關機時即可以看到新的plymouth

p.s. install-macOS安裝檔案內容如下:

#!/bin/bash
#Note: No guarantee that this theme will be seen correctly at all screen resolutions available
#execute only from within the macOS folder!
sudo mkdir /usr/share/plymouth/themes/macOS
clear
sudo rsync -aq --exclude=install-macOS * /usr/share/plymouth/themes/macOS/
clear
sudo update-alternatives --install /usr/share/plymouth/themes/default.plymouth default.plymouth /usr/share/plymouth/themes/macOS/macOS.plymouth 100
sudo update-alternatives --config default.plymouth  #here, choose the number of the theme you want to use then hit enter
sudo update-initramfs -u
echo
echo Installing plymouth-x11...   Redundant if already installed.
sudo apt-get install plymouth-x11
echo
echo Running 10-second test...
sudo plymouthd ; sudo plymouth --show-splash ; for ((I=0; I<10; I++)); do sleep 1 ; sudo plymouth --update=test$I ; done ; sudo plymouth --quit
exit


Q:何改回原本的mint-logo的plymouth呢?
A:再執行一次./install-macOS之後選擇0,即可!