Using update-alternatives to change plymouth theme only affects shutdown animation, startup is left unchanged
Solution 1
These changes are read from the disk during shutdown, which is why that works.
On bootup, however, they are read from the initial in-memory file system image - initramfs, which you haven't updated with your changes. This is necessary because your regular file system isn't yet available.
Here's what I did to solve that in Ubuntu 14.04, so I can't guarantee it works for 16.04, but this command won't do any damage so it's worth a try.
If you run:
sudo update-initramfs -u
your changes will be put into place.
Solution 2
I ran into a similar thing. After using synaptic to find the default plymouth theme, I hit properties to see what files were installed. That listed most files going into this directory
/usr/share/plymouth/themes
put all you files there then run
update-alternatives --install /usr/share/plymouth/themes/default.plymouth default.plymouth /usr/share/plymouth/themes/"path/to-your-plymouth.plymouth" 100
Related videos on Youtube
Gonçalo Fernandes
Updated on September 18, 2022Comments
-
Gonçalo Fernandes over 1 year
In Ubuntu 14.04, I was able to change my Plymouth Theme simply by going to
/lib/plymouth/themes
and copy my theme in there.Then, by simply typing
sudo update-alternatives --config default.plymouth
(choosing the accordingly number of my theme) andsudo update-initramfs -u
, I was able to change my Plymouth theme.In Ubuntu 16.04 LTS, the folder
/lib/plymouth/themes
does not even exist.By seraching in Nautilus, I was able to find the folder
/usr/share/plymouth
and place my theme underthemes
. Then, by typing in the shell the commands above, I was, theorically, able to change my Plymouth theme to my pre-copied one.The truth is that, after changing the Plymouth theme to my own and after several reboots, no Plymouth theme is showed at boot. Just a black screen appears and then
lightdm
shows up and I login to my account...I'm using
burg
as my default bootloader.-
kashish over 7 yearsI'm using grub2. Same problem for me too. In my case this is because
fsck
is running for too long on boot, and it runs before plymouth theme.
-
-
Gonçalo Fernandes almost 8 yearsAlready tried that
command
. It only replaces the Plymouth Theme when Shutting Down, but onboot
, nothing happens... -
Braiam almost 8 yearsCould you offer the references for having to update the initramfs?
-
FrankO almost 8 yearsSorry, only other long forgotten posts on some forum or another (possibly this one, but not likely). But I did this on 14.04 under the same circumstances and it worked for me, so I noted it in my installation notes (which I keep for each OS). And, as I said, it may or may not work on 16.04; the reason I say it won't do any damage is that the command simply builds/assembles the ram file system image based on various entries and, if they haven't changed, neither will the ram file system ...
-
Ear3ndil over 7 yearsUpdating initramfs worked for me... I don´t know why, but update-initramfs -u is working to update plymouth theme.
-
Soren A over 7 yearsinitramfs is the virtual disk image loaded first when you boot your system. And thats where plymouth runs from. If you don't update it, the system won't know that you have changed preferences.
-
northern-bradley over 5 yearsi moved a small collection of manually installed themes from /lib/ to /usr/ then did a rought and ready
find /usr/share/plymouth/themes/ -maxdepth 2 -mindepth 2 -name "*.plymouth" -exec sudo update-alternatives --install /usr/share/plymouth/themes/default.plymouth default.plymouth {} 100 \;
to make sure all themes in the \usr\ folder were added (it also sets existing ones to priority 100 regardless of what they were)