Plymouth themes

This forum is dedicated to basic help and support :

Ask here your questions about basic installation and usage of Mageia. For example you may post here all your questions about getting Mageia isos and installing it, configuring your printer, using your word processor etc.

Try to ask your questions in the right sub-forum with as much details as you can gather. the more precise the question will be, the more likely you are to get a useful answer

Plymouth themes

Postby bobw » Apr 2nd, '14, 08:28

Has anyone successfully changed the Plymouth theme? I've tried, however all I get is the progress bar and Mageia 4! in the lower right hand corner.
I've loaded the other themes and have done the following:

1) plymouth-set-default-theme --list (to list the available themes)
2) plymouth-set-default-theme <theme_name> --rebuild_initrd (select new them, rebuild initrd)

One thing I've noticed is that the initrd image seems to be rather larger...

Anyone?
bobw
 
Posts: 76
Joined: May 30th, '12, 19:05

Re: Plymouth themes

Postby doktor5000 » Apr 2nd, '14, 20:15

I'd not use plymouth-set-default-theme to update the initrd, better use dracut to do that.
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18067
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Plymouth themes

Postby bobw » Apr 2nd, '14, 22:17

1) Why NOT use plymouth-set-default-theme?
2) Running 'dracut --force <current.img file to be replaced>' generated a smaller file, however the result is the same.

The dracut config file has:
omit_dracutmodules+=" network systemd "
Is systemd required to show the themes?
bobw
 
Posts: 76
Joined: May 30th, '12, 19:05

Re: Plymouth themes

Postby doktor5000 » Apr 2nd, '14, 22:25

Looking at it again, this may help: viewtopic.php?f=7&t=1021
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18067
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Plymouth themes

Postby alf » Apr 2nd, '14, 22:36

bobw wrote:plymouth-set-default-theme <theme_name> -R
did not work after the change to dracut, but later on the mkinitrd script was adjustet to use of dracut and command worked again. But presently it doesn't work again(MGA4); maybe the -f switch is not passed to dracut from mkinitrd. Worth a bugreport ?
for windows problems reboot; for linux problems be root
alf
 
Posts: 326
Joined: Apr 1st, '11, 23:07
Location: DE Paderborn

Re: Plymouth themes

Postby bobw » Apr 2nd, '14, 22:47

It appears to be a bug.

I've used both (dracut and plymouth-set-default-theme) and neither gets a plymouth theme - just the progress bar along the bottom.

2 questions are still unanswered in my post(s):

1) why use dracut over plymouth-set-default-theme?
2) is systemd NEEDED for plymouth to work - currently, it is disabled in the initrd build along with networking...

Anyone?
bobw
 
Posts: 76
Joined: May 30th, '12, 19:05

Re: Plymouth themes

Postby alf » Apr 2nd, '14, 22:52

I've jaust tested to chang the plymouth theme in MGA4. After
Code: Select all
plymouth-set-default-theme <theme_name> -R
the theme was changed, but did not appear at boot time (though at reboot/shutdown). After
Code: Select all
dracut -f -H
the machine booted with the new theme.
for windows problems reboot; for linux problems be root
alf
 
Posts: 326
Joined: Apr 1st, '11, 23:07
Location: DE Paderborn

Re: Plymouth themes

Postby alf » Apr 2nd, '14, 22:55

bobw wrote:I've used both (dracut and plymouth-set-default-theme) and neither gets a plymouth theme - just the progress bar along the bottom.

That's the fallback theme if the chosen theme can't be loaded.
for windows problems reboot; for linux problems be root
alf
 
Posts: 326
Joined: Apr 1st, '11, 23:07
Location: DE Paderborn

Re: Plymouth themes

Postby bobw » Apr 2nd, '14, 23:59

Performed the following:

plymouth-set-default-theme Mageia-Default -R
<reboot> no theme
dracut -f -H
<reboot> no theme

Next, I checked for available themes....
plymouth-set-default-theme --list
charge
details
fade-in
glow
Mageia-Default
script
solar
spinfinity
spinner
text

If the default theme is used (progress bar), then it must not be finding the Mageia-Default theme?

******************************************
Mageia4 x86_64
Nvidia non-free driver 331.49
bobw
 
Posts: 76
Joined: May 30th, '12, 19:05

Re: Plymouth themes

Postby bobw » Apr 3rd, '14, 19:10

I've verified that the Plymouth themes are setup properly. I can set a theme from the list generated by 'plymouth-set-default-theme --list'.
Afterward, I can show the theme with it's animation using a script. I believe that the kernel image is being build incorrectly by dracut and that somehow, the plymouth information is getting lost...
bobw
 
Posts: 76
Joined: May 30th, '12, 19:05

Re: Plymouth themes

Postby doktor5000 » Apr 3rd, '14, 20:01

Can you please post the output as root of
Code: Select all
lsinitrd /boot/initrd.img | grep plymouth

and replace /boot/initrd.img by the initrd that you have generated/is currently in use.
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18067
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Plymouth themes

Postby bobw » Apr 4th, '14, 00:06

Heres the output:

Code: Select all
plymouth
drwxr-xr-x   2 root     root            0 Apr  2 14:49 etc/plymouth
-rw-r--r--   1 root     root          102 Apr  2 14:45 etc/plymouth/plymouthd.conf
-rwxr-xr-x   1 root     root        41336 Apr  2 14:50 usr/bin/plymouth
-rwxr-xr-x   1 root     root        87904 Apr  2 14:50 usr/bin/plymouthd
-rwxr-xr-x   1 root     root          160 Oct  8 00:55 usr/lib/dracut/hooks/emergency/50-plymouth-emergency.sh
-rwxr-xr-x   1 root     root          223 Oct  8 00:55 usr/lib/dracut/hooks/pre-pivot/90-plymouth-newroot.sh
-rwxr-xr-x   1 root     root         1193 Oct  8 00:55 usr/lib/dracut/hooks/pre-trigger/10-plymouth-pretrigger.sh
drwxr-xr-x   3 root     root            0 Apr  2 14:50 usr/lib64/plymouth
-rwxr-xr-x   1 root     root        15728 Apr  2 14:50 usr/lib64/plymouth/details.so
drwxr-xr-x   2 root     root            0 Apr  2 14:50 usr/lib64/plymouth/renderers
-rwxr-xr-x   1 root     root        32824 Apr  2 14:50 usr/lib64/plymouth/renderers/drm.so
-rwxr-xr-x   1 root     root        24296 Apr  2 14:50 usr/lib64/plymouth/renderers/frame-buffer.so
-rwxr-xr-x   1 root     root        79184 Apr  2 14:50 usr/lib64/plymouth/script.so
-rwxr-xr-x   1 root     root        20064 Apr  2 14:50 usr/lib64/plymouth/text.so
drwx------   3 root     root            0 Apr  2 14:49 usr/share/plymouth
-rw-r--r--   1 root     root          109 Oct 18 19:39 usr/share/plymouth/plymouthd.defaults
drwx------   5 root     root            0 Apr  2 14:49 usr/share/plymouth/themes
drwxr-xr-x   2 root     root            0 Apr  2 14:49 usr/share/plymouth/themes/Mageia-Default
-rw-r--r--   1 root     root          203 Jan 26 14:05 usr/share/plymouth/themes/Mageia-Default/Mageia-Default.plymouth
-rw-r--r--   1 root     root      1286057 Jan 26 14:05 usr/share/plymouth/themes/Mageia-Default/background.png
-rw-r--r--   1 root     root          870 Jan 26 14:05 usr/share/plymouth/themes/Mageia-Default/box.png
-rw-r--r--   1 root     root         9650 Jan 26 14:05 usr/share/plymouth/themes/Mageia-Default/bubble1.png
-rw-r--r--   1 root     root         9637 Jan 26 14:05 usr/share/plymouth/themes/Mageia-Default/bubble2.png
-rw-r--r--   1 root     root         9554 Jan 26 14:05 usr/share/plymouth/themes/Mageia-Default/bubble3.png
-rw-r--r--   1 root     root         9517 Jan 26 14:05 usr/share/plymouth/themes/Mageia-Default/bubble4.png
-rw-r--r--   1 root     root         9451 Jan 26 14:05 usr/share/plymouth/themes/Mageia-Default/bubble5.png
-rw-r--r--   1 root     root          296 Jan 26 14:05 usr/share/plymouth/themes/Mageia-Default/bullet.png
-rw-r--r--   1 root     root          350 Jan 26 14:05 usr/share/plymouth/themes/Mageia-Default/entry.png
-rw-r--r--   1 root     root         1839 Jan 26 14:05 usr/share/plymouth/themes/Mageia-Default/lock.png
-rw-r--r--   1 root     root        20702 Jan 26 14:05 usr/share/plymouth/themes/Mageia-Default/logo.png
-rw-r--r--   1 root     root        11498 Jan 26 14:05 usr/share/plymouth/themes/Mageia-Default/mga.script
-rw-r--r--   1 root     root          863 Jan 26 14:05 usr/share/plymouth/themes/Mageia-Default/motif.png
-rw-r--r--   1 root     root          183 Jan 26 14:05 usr/share/plymouth/themes/Mageia-Default/progress_bar.png
-rw-r--r--   1 root     root          227 Jan 26 14:05 usr/share/plymouth/themes/Mageia-Default/progress_box.png
-rw-r--r--   1 root     root          192 Jan 26 14:05 usr/share/plymouth/themes/Mageia-Default/progress_box_background.png
-rw-r--r--   1 root     root          183 Jan 26 14:05 usr/share/plymouth/themes/Mageia-Default/progress_box_edge.png
-rw-r--r--   1 root     root         1529 Jan 26 14:05 usr/share/plymouth/themes/Mageia-Default/shadow.png
-rw-r--r--   1 root     root       379519 Jan 26 14:05 usr/share/plymouth/themes/Mageia-Default/suspend.png
drwxr-xr-x   2 root     root            0 Apr  2 14:49 usr/share/plymouth/themes/details
-rw-r--r--   1 root     root           84 Oct 18 19:39 usr/share/plymouth/themes/details/details.plymouth
drwxr-xr-x   2 root     root            0 Apr  2 14:49 usr/share/plymouth/themes/text
-rw-r--r--   1 root     root           98 Oct 18 19:39 usr/share/plymouth/themes/text/text.plymouth
Last edited by doktor5000 on Apr 4th, '14, 00:43, edited 1 time in total.
Reason: added code tags, to improve on clarity
bobw
 
Posts: 76
Joined: May 30th, '12, 19:05


Return to Basic support

Who is online

Users browsing this forum: No registered users and 1 guest