No alternatives support for default theme yet, all themes in main package

Bug #507238 reported by Dave Morley
44
This bug affects 7 people
Affects Status Importance Assigned to Milestone
plymouth (Ubuntu)
Fix Released
Medium
Unassigned
Nominated for Lucid by Rafael Belmonte

Bug Description

The plymouth binary package currently contains all of the themes, and does not use alternatives to select the default theme.

The themes should be split out into different packages (plymouth-theme-ubuntu, plymouth-theme-solar, etc.) and use alternatives to allow selection. We should make sure that those unsupported themes (everything but ubuntu-logo and ubuntu-text) are in universe with a note that they don't support everything.

We also need a Kubuntu theme ;-)

Revision history for this message
Dave Morley (davmor2) wrote :
tags: added: iso-testing
Changed in plymouth (Ubuntu):
status: New → Triaged
importance: Undecided → Medium
assignee: nobody → Alberto Milone (albertomilone)
Revision history for this message
Luke (lukekuhn) wrote :

  There is a very simple way to make Plymouth display any logo you want. Open /lib/plymouth as root, and you will see an image file called ubuntu-logo.png . You can replace this file with another png image and rename it ubuntu-logo.png , run sudo update-initramfs -u , and plymouth will then display your new logo. Save a copy of it somewhere, though, as this will have to be redone every time plymouth is updated.

I have tested this in a number of themes, and it will work in any theme that normally displays the ubuntu logo. If you want the kubuntu logo, open it in gimp, resize it to whatever size you want, save it as a png with a transparent background somewhere, and copy it into /lib/plymouth as your new ubuntu-logo.png .

Revision history for this message
Scott James Remnant (Canonical) (canonical-scott) wrote :

Alberto: removed your assignee because there are packaging changes here - I don't know what your plans for a Kubuntu theme are?

summary: - kubuntu plymouth is using ubuntu logo
+ No alternatives support for default theme yet, all themes in main
+ package
description: updated
Changed in plymouth (Ubuntu):
assignee: Alberto Milone (albertomilone) → nobody
Changed in plymouth (Ubuntu):
status: Triaged → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :
Download full text (4.6 KiB)

This bug was fixed in the package plymouth - 0.8.1-1

---------------
plymouth (0.8.1-1) lucid; urgency=low

  [ Scott James Remnant ]
  * Update to the upstream 0.8.1 release:
    - Our patches have been merged upstream, some changes due to cleaning
      them up for submission and noticing a few bugs along the way.
      Remaining changes are:
      + ubuntu-logo theme
      + ubuntu version of the text theme
      + call update-initramfs rather than plymouth-update-initrd in
        plymouth-set-default-theme
      + filter fsck progress updates from the progress bar tracker
      + watch for enter key press
      + support lbm-nouveau as an alternate driver name for nouveau to
        permit backports once Lucid has released
      + use /dev/fb0 as default framebuffer device name
      + stop animation of script plugin in idle function
    - Will become process group leader of its VT if possible (opens without
      O_NOCTTY when redirecting stdio to it), this is almost certainly
      correct keyboard-wise.
    - Deallocates VT on "plymouth quit" after switching VT back to VT1
    - Open terminal in text and details plugin, don't assume it's already
      open.
    - Calling "plymouth quit" or "plymouth deactivate" while the same
      command is already running will now block the new command until the
      old one complete, rather than returning immediately.
    - Various window fixes for script plugin
    - Script plugin updated to use the window X and Y offsets every time
    - Plymouth client tool has been updated to have commands for many cases
      in preference to the --command style.

  * Restored code to disable Plymouth's graphical plugins when an alternate
    init= is given on the kernel command-line, otherwise init=/bin/bash
    doesn't work so well when Plymouth is in the initramfs.
  * Restored crash handler that dumps boot messages to /dev/tty1.

  * Split themes out into different packages, reducing the size of the
    Plymouth package. This also means that you can remove the themes
    packages to remove the "graphical splash" part of Plymouth while keeping
    the ability to prompt for questions on the console.
  * Use the alternatives system to select the default themes. The existing
    symlink will be replaced on upgrade if you have not changed it.
  * Also use alternatives to select the text theme.
  * Restore the upstream text theme, renaming ours to "ubuntu-text".
  * Fallback to the built-in details theme (boot messages on console, but
    with the ability to prompt for questions) if no theme package is
    installed.
  (LP: #507238)

    Unfortunately these changes mean that if you've selected a custom
    theme, you will need to install that package and select it again.
    Sorry about that.

  * Include the 16-color VGA frame-buffer renderer. LP: #526892.

  * Fix text, ubuntu-text and details themes to restore the console to text
    mode when adding text displays.

  * debian/rules:
    - Set default tty for boot and shutdown with configure arguments
    - Set default background color to the Ubuntu Aubergine, this provides
      some consistency with other default themes.
  * debian/plymouth.upstart, d...

Read more...

Changed in plymouth (Ubuntu):
status: Fix Committed → Fix Released
Revision history for this message
bbordwell (benbordwell) wrote :

This message needs to be changed to reflect the changes brought on by fixing this bug.

ben@ben-desktop:~$ plymouth-set-default-theme solar
The program 'plymouth-set-default-theme' is currently not installed. You can install it by typing:
sudo apt-get install plymouth

Revision history for this message
Steve Langasek (vorlon) wrote :

That will be corrected automatically in the next update of the metadata, before beta2.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.