(8) 起動画面の変更 | 信濃のさるすべり

信濃のさるすべり

日々思ったことの覚書

Linux Mint の起動画面からMac風の起動画面に変更をします。

 

参考: http://www.noobslab.com/2016/04/macbuntu-1604-transformation-pack-for.html

          http://www.nemotos.net/?p=1418

 

まず、以下のコマンドを端末より入力し、noobslab の macbuntu-os-bscreen-lts-v7 をインストールしてください。

 

  $ sudo apt-get install macbuntu-os-bscreen-lts-v7

 

インストール中、plymouth-theme の選択を求められますが、macbuntu のテーマは、インストールしただけでは動作しないので、デフォルトの「mint−logo.plymouth」を選択するのが無難です。

 

Linux Mint 18.2 のベースとなっている Ubuntu16.04 から PLymouth のテーマは、/lib/plymouth/themes の下に保存されていたものが、/usr/share/plymouth/themes に変更されたようです。

そこで、今、インストールした macbuntu.theme について、上記の変更にマッチするように修正することとします。

 

/usr/share/plymouth/themes/macbuntu フィルダの中の macbuntu.plymouth を管理者権限で編集します。

macbuntu.plymouth は、以下のように記述されています。

 

/usr/share/plymouth/themes/macbuntu/macbuntu.plymouth

 

[Plymouth Theme]
Name=macbuntu
Description=macbuntu boot screen
ModuleName=script

[script]
ImageDir=
/lib/plymouth/themes/macbuntu
ScriptFile=
/lib/plymouth/themes/macbuntu/macbuntu.script

 

上の /lib を /usr/share に置き換え、以下のように修正してください。

 

[Plymouth Theme]
Name=macbuntu
Description=macbuntu boot screen
ModuleName=script

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

 

修正後、macbuntu.theme を保存します。

 

次に、端末より、以下のコマンドを入力してください。

 

$ sudo update-alternatives --install /usr/share/plymouth/themes/default.plymouth

default.plymouth /usr/share/plymouth/themes/macbuntu/macbuntu.plymouth 100

(1行です。)

$ sudo update-alternatives --config default.plymouth

(デフォルトテーマの選択を求められます。macbuntu を選択してください。)

$ sudo update-initramfs -u

 

これで、起動画面が変更されました。

PCを再起動して確認してください。

 

(続く)