Neal:
First of all: great script.
However, we are kind of in the dark when we change themes. We only have a name, and a reboot is needed in order to see what it loks like.
Couldn't there be a post (sticky) where one could take a look at the available themes?
Thanks again.
You can test different plymouth themes from init level 3 (no X) without rebooting:
(from
http://brej.org/blog/?p=158 and
http://blog.fpmurphy.com/2009/09/project-plymouth.html)
First set up a script to simplify things:
(I used
/usr/bin/plymouth-test-theme):
#!/bin/bash
#
# check that we are in an appropriate runlevel
rlevel=$(runlevel | cut -d " " -f 2)
if [[ "$rlevel" != "2" && "$rlevel" != "3" ]]
then
echo "ERROR: You must be at runlevel 2 or 3"
exit 1
fi
echo "checking plymouthd status"
plymouth --ping || plymouthd
sleep 2
echo "selecting theme: $1"
plymouth-set-default-theme $1
sleep 2
echo "starting plymouth preview"
plymouth --show-splash
sleep 2
for ((I=0; I<10; I++)); do
plymouth --update=test$I
sleep 1
done
plymouth quit
..save in /usr/bin and make it executable
Switch to init level 3 (as root; close / save work first!)
init 3
<at prompt, log in as root again>Get a list of installed themes:
plymouth-set-default-theme --listTest theme (adjust name of script if you used a different name in the first step):
plymouth-test-theme <insert name of theme>When you have tested all your themes, return to normal session (init 5):
init 5..and then use our fine script to switch to a new plymouth theme!
