nikp123 / minecraft-plymouth-theme

MIT License
16 stars 0 forks source link

Update instructions for Ubuntu #1

Open M2-TE opened 10 months ago

M2-TE commented 10 months ago

I am currently on Ubuntu 22.04 and the install script fails at two spots, mainly dealing with a missing parent directory. I am unfamiliar with the grayscale warnings/errors, so I can't comment on those. Here the entire log output:

'./font/config/00-minecraft.conf' -> '/etc/fonts/conf.d/00-minecraft.conf' './font/Minecraft.otf' -> '/usr/share/fonts/OTF/' cp: cannot create regular file '/usr/share/fonts/OTF/': Not a directory './plymouth/mc.script' -> '/usr/share/plymouth/themes/mc/mc.script' './plymouth/mc.plymouth' -> '/usr/share/plymouth/themes/mc/mc.plymouth' './plymouth/progress_bar.png' -> '/usr/share/plymouth/themes/mc/progress_bar.png' './plymouth/progress_box.png' -> '/usr/share/plymouth/themes/mc/progress_box.png' convert-im6.q16: profile 'icc': 'RGB ': RGB color space not permitted on grayscale PNG /usr/share/plymouth/themes/mc/padlock/1.png' @ warning/png.c/MagickPNGWarningHandler/1668. convert-im6.q16: profile 'icc': 'RGB ': RGB color space not permitted on grayscale PNG/usr/share/plymouth/themes/mc/padlock/2.png' @ warning/png.c/MagickPNGWarningHandler/1668. convert-im6.q16: profile 'icc': 'RGB ': RGB color space not permitted on grayscale PNG /usr/share/plymouth/themes/mc/padlock/3.png' @ warning/png.c/MagickPNGWarningHandler/1668. convert-im6.q16: profile 'icc': 'RGB ': RGB color space not permitted on grayscale PNG/usr/share/plymouth/themes/mc/padlock/4.png' @ warning/png.c/MagickPNGWarningHandler/1668. convert-im6.q16: profile 'icc': 'RGB ': RGB color space not permitted on grayscale PNG /usr/share/plymouth/themes/mc/padlock/5.png' @ warning/png.c/MagickPNGWarningHandler/1668. convert-im6.q16: profile 'icc': 'RGB ': RGB color space not permitted on grayscale PNG/usr/share/plymouth/themes/mc/padlock/6.png' @ warning/png.c/MagickPNGWarningHandler/1668. convert-im6.q16: profile 'icc': 'RGB ': RGB color space not permitted on grayscale PNG /usr/share/plymouth/themes/mc/bar/1.png' @ warning/png.c/MagickPNGWarningHandler/1668. convert-im6.q16: profile 'icc': 'RGB ': RGB color space not permitted on grayscale PNG/usr/share/plymouth/themes/mc/bar/2.png' @ warning/png.c/MagickPNGWarningHandler/1668. convert-im6.q16: profile 'icc': 'RGB ': RGB color space not permitted on grayscale PNG /usr/share/plymouth/themes/mc/bar/3.png' @ warning/png.c/MagickPNGWarningHandler/1668. convert-im6.q16: profile 'icc': 'RGB ': RGB color space not permitted on grayscale PNG/usr/share/plymouth/themes/mc/bar/4.png' @ warning/png.c/MagickPNGWarningHandler/1668. convert-im6.q16: profile 'icc': 'RGB ': RGB color space not permitted on grayscale PNG /usr/share/plymouth/themes/mc/bar/5.png' @ warning/png.c/MagickPNGWarningHandler/1668. convert-im6.q16: profile 'icc': 'RGB ': RGB color space not permitted on grayscale PNG/usr/share/plymouth/themes/mc/bar/6.png' @ warning/png.c/MagickPNGWarningHandler/1668. './dracut/99-minecraft-plymouth.conf' -> '/etc/dracut.conf.d/99-minecraft-plymouth.conf' cp: cannot create regular file '/etc/dracut.conf.d/99-minecraft-plymouth.conf': No such file or directory

This should be easily fixed by just creating the parent directories (or just generally making sure they exist first) of both your plymouth.conf and OTF font.

Also, the plymouth-set-default-theme command does not exist on Ubuntu, see https://askubuntu.com/questions/1399671/how-to-install-plymouth for how it can be done on here instead.

nikp123 commented 10 months ago

At the moment I am quite busy, but those issues seem quite easy to fix. Sorry for the delay. The imagemagick warnings can be ignored.

PS: Even if you were able to install the theme via plymouth-set-default-theme on Ubuntu, it'd still fail to load as its initcpio scripts are missing, I'll get around writing those (eventually).

But thanks for the heads up.